From 27b3683509c5229cce540418778a8b64afbc0009 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Feb 2025 00:13:57 +0000 Subject: gentoo auto-resync : 17:02:2025 - 00:13:57 --- x11-misc/xosview/Manifest | 2 ++ x11-misc/xosview/xosview-1.24.ebuild | 57 ++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 x11-misc/xosview/xosview-1.24.ebuild (limited to 'x11-misc/xosview') diff --git a/x11-misc/xosview/Manifest b/x11-misc/xosview/Manifest index 9fb71d04b842..f64e4e13927a 100644 --- a/x11-misc/xosview/Manifest +++ b/x11-misc/xosview/Manifest @@ -1,4 +1,6 @@ AUX xosview-1.23-musl.patch 504 BLAKE2B 60e22e7dec5d2a749fc1107ffda48b4a192be67b8c7e92a9d359ece9ed571c49d13d46f1c7ab4fed83457fa28e1a33cac690f0c83415aedb4a6584154ab9513b SHA512 d32770482b6a66e76472817d508dd1840177d889ce63ff1f5d496940c3dcd1d2a85752010d57fb1bb2a48be6e5a6adfe0b78fe6f32e677f1cb4d0b83c064f1a1 DIST xosview-1.23.tar.gz 146299 BLAKE2B ba336ac152ac6c44bd51c84c160d7c1b565fe23c17aa89db36be7325f4f1caa1ab84a1ad386041841a0aacb62208fb5d59f5dd7a9d2bf071c76dff2901eb2c60 SHA512 10a25f644ec3d896071990117c6d80e553a17baf64809f11bc778652dca1498f81c333ac0f21a809ef617d7e6cbe65afaa14d5bc96908958d8f997234e660ba1 +DIST xosview-1.24.tar.gz 141144 BLAKE2B eb93f902d88412768d012d37b0d5063d9e3adbdea088a32c51618fe03743dc61eaa4204d42562efe276eaf5ff0bab8b1b212c5ae26fb12cb7b44ce0fb001abe8 SHA512 aeeecc3be8c4a22bb62062ca51c927ace186c0652f7cc16fbdd7b7d3acb247242d1ad64960cfb4622bd1626fdfcd26ef6938df2b4f788ee8fc44e5cf59396540 EBUILD xosview-1.23.ebuild 1241 BLAKE2B 25755f26bb54bc131a1f76fb781f1e19485964f00876dd912303a962e043a326d94b4e7b3f0d3a5c3f3091c2d93ebb12377f8005132d1c21171c72d06ce1d442 SHA512 948274b8b3a982e9afd98efffda19029831a159481a446c289e80f11d5d78c7a5c6ce6ebabbd964b1e6fb73e596f461caebe527a7ccec7bcd11264d291ae835b +EBUILD xosview-1.24.ebuild 1201 BLAKE2B a1f5979005a03752ab9a181ab51402121a339979273835af6f0f056fcc4273e52bb9f025589e74d8a456cabee3869c94ebae6397a149978ab9ec8c1f598692d0 SHA512 87959bcdd35daa203bf5e44eb31da59d3c7b92e872fcc5ebe9cfc3311dd90219f9bae860a48da63bdb662baec4f8a24d95f886d5fdc0f978abaeabeaecbc1512 MISC metadata.xml 249 BLAKE2B 58924466b9656749c775c049b6c77ccc3d5ca59321a8e7a84ddb0938461a1872bd765d9f3a6e8b411f0ca5d41fff2d6bccac7790c5f24b5c4d87fc7d265bdf2d SHA512 72ac1d9053c79e5dd2db9d1cc8c1c7934d9ab62560d26c568daac2270ee405187d8af73c8940edf4228dddd228b2c127b5a49e436fb9029814a0e7af5573a7f9 diff --git a/x11-misc/xosview/xosview-1.24.ebuild b/x11-misc/xosview/xosview-1.24.ebuild new file mode 100644 index 000000000000..603bd3da5e25 --- /dev/null +++ b/x11-misc/xosview/xosview-1.24.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs xdg-utils + +DESCRIPTION="X11 operating system viewer" +HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/" +SRC_URI="http://www.pogo.org.uk/~mark/${PN}/releases/${P}.tar.gz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="suid" + +COMMON_DEPS="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXt" +RDEPEND="${COMMON_DEPS} + media-fonts/font-misc-misc" +DEPEND="${COMMON_DEPS} + x11-base/xorg-proto" + +DOCS=( CHANGES README.linux TODO ) + +src_prepare() { + default + + sed -i -e 's:lib/X11/app:share/X11/app:g' -i ${PN}.1 || die + sed -i -e "s:Git:${PV}:g" ${PN}.cc || die + tc-export CXX +} + +src_compile() { + emake OPTFLAGS='' +} + +src_install() { + emake PREFIX="${D}/usr" install + use suid && fperms 4755 /usr/bin/${PN} + insinto /usr/share/X11/app-defaults + newins Xdefaults XOsview +} + +pkg_postinst() { + xdg_desktop_database_update + + if ! use suid ; then + ewarn "If you want to use serial meters ${PN} needs to be executed as root." + ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} -- cgit v1.2.3