diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-09-28 09:36:46 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-09-28 09:36:46 +0200 |
commit | 12b4561f88711fb0a73f5dd5ff39318674d2dc17 (patch) | |
tree | aa63aca920fdb8270f2a12cfc667cec110174072 /x11-misc/xosview | |
parent | app-misc/fslurp: Clean up old. (diff) | |
download | gentoo-12b4561f88711fb0a73f5dd5ff39318674d2dc17.tar.gz gentoo-12b4561f88711fb0a73f5dd5ff39318674d2dc17.tar.bz2 gentoo-12b4561f88711fb0a73f5dd5ff39318674d2dc17.zip |
x11-misc/xosview: Bump to version 1.17
Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-misc/xosview')
-rw-r--r-- | x11-misc/xosview/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xosview/xosview-1.17.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/x11-misc/xosview/Manifest b/x11-misc/xosview/Manifest index 8bf8b5e929c5..986ae98c4afd 100644 --- a/x11-misc/xosview/Manifest +++ b/x11-misc/xosview/Manifest @@ -1,3 +1,4 @@ DIST xosview-1.14.tar.gz 135178 SHA256 d2f8c0b9e25ad259d114963d64aa9d3c532398fcbbb4213f24a876a94fb23012 SHA512 0d3e2e17c000358183ca8438fef621d7ec10533171a7cf92db7ae9e9fc5e5dbde0dc81d82431e5b252322ba0d07b7917ec4462c1bc1364e17f12b1f0acaaf7e7 WHIRLPOOL e75e7caa439a768c85c850c419e8682e69e24cd3b89cb9f224ac6c0888f091b652c0b70109825d0ec5352b3b53abac2ed62871e78a4a8bcc7186eeeffd5c9129 DIST xosview-1.15.tar.gz 135553 SHA256 cd43bfbada900db2b2709251c50e8fb9299c44758742cd76e324fed623d1de84 SHA512 dec560fe801bac713e92ffdf036ec3995c10d11621fd880c5314d69650fbc5a718bf17da1a68e60eddd97be7bded1fcb1f5bdf201bb18267d57b9fa2b42f0124 WHIRLPOOL c45eccd04564c6d32c7c9864069f39804c919e6ef438cfaedc71ee317c4d10c2cca9646cf35b816634a03df399baef22c918cfc537d35bd21f383bbed11ff43d DIST xosview-1.16.tar.gz 137097 SHA256 8e9e130d1bbb30b68419d12f0d74609c10eeed4d6c6a85f35d9941ea3c7b23a0 SHA512 f83cddebd260a5468110418172623d1367a50eeb69cdce63bff8e93a1908a2d6d860978f7d96eac700e238b270984df1802788400080ccd27ad76c964534e1c2 WHIRLPOOL 36ab8fa63f3bea4b8d87fbd4559fa1d7a8df47f25a558f80c25065b62e7b7c51121aa91604fed4c095fd7fae853cfe37c911710faef5b7f1d0de6e2db7816879 +DIST xosview-1.17.tar.gz 143263 SHA256 640998e7bd23b875e2556a97b9149a4cca0ac255889f484489b13a888c19b3f1 SHA512 c1d34887aa75afd244d9b5399c00642e68e75f8b0aafc06555955200e13bca398080dfcc92421f72b0242dcfac1e41d05bfb031e49f1560196a8f6e33ce79df6 WHIRLPOOL 28530451395cfd2b971cfb1f62b21bc3a1cb08f1792f3be87cfb91b7735102cc5bc5b7d5c12f787674ce926a1bc143905db243187cc0ef7beaaa1d0354c05349 diff --git a/x11-misc/xosview/xosview-1.17.ebuild b/x11-misc/xosview/xosview-1.17.ebuild new file mode 100644 index 000000000000..13277373968a --- /dev/null +++ b/x11-misc/xosview/xosview-1.17.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs + +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-proto/xproto" + +src_prepare() { + 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() { + dobin ${PN} + use suid && fperms 4755 /usr/bin/${PN} + insinto /usr/share/X11/app-defaults + newins Xdefaults XOsview + doman *.1 + dodoc CHANGES README.linux TODO +} + +pkg_postinst() { + 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 +} |