summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-09-05 16:09:13 +0000
committerJeroen Roovers <jer@gentoo.org>2012-09-05 16:09:13 +0000
commit3270c0d6d20f3f484259b7ccbb3bb8443b2817a8 (patch)
tree93938d5604ef4f3f1ca6b7f6cbc09f1535b1f78c /x11-misc/xosview
parentVersion bump, fixes bug #433139. (diff)
downloadgentoo-2-3270c0d6d20f3f484259b7ccbb3bb8443b2817a8.tar.gz
gentoo-2-3270c0d6d20f3f484259b7ccbb3bb8443b2817a8.tar.bz2
gentoo-2-3270c0d6d20f3f484259b7ccbb3bb8443b2817a8.zip
Version bump.
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xosview')
-rw-r--r--x11-misc/xosview/ChangeLog7
-rw-r--r--x11-misc/xosview/xosview-1.9.4.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/x11-misc/xosview/ChangeLog b/x11-misc/xosview/ChangeLog
index 608cc1fcb66d..5a505e651cac 100644
--- a/x11-misc/xosview/ChangeLog
+++ b/x11-misc/xosview/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/xosview
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.52 2012/08/19 15:59:35 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.53 2012/09/05 16:09:13 jer Exp $
+
+*xosview-1.9.4 (05 Sep 2012)
+
+ 05 Sep 2012; Jeroen Roovers <jer@gentoo.org> +xosview-1.9.4.ebuild:
+ Version bump.
19 Aug 2012; Raúl Porcel <armin76@gentoo.org> xosview-1.8.3-r1.ebuild,
xosview-1.9.2.ebuild, xosview-1.9.3.ebuild:
diff --git a/x11-misc/xosview/xosview-1.9.4.ebuild b/x11-misc/xosview/xosview-1.9.4.ebuild
new file mode 100644
index 000000000000..2e9330276bb1
--- /dev/null
+++ b/x11-misc/xosview/xosview-1.9.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.9.4.ebuild,v 1.1 2012/09/05 16:09:13 jer Exp $
+
+EAPI=4
+
+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 -e 's:lib/X11/app:share/X11/app:g' \
+ -i xosview.1 || die
+ tc-export CXX
+}
+
+src_compile() {
+ emake OPTFLAGS="${CXXFLAGS}"
+}
+
+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
+}