summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-11-06 13:25:46 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-11-06 13:25:57 +0100
commited8c672bdaf81c4b2d3b1be27b8386900e4f327d (patch)
tree300f5a34447844baf2609b5b7c4d7c7c543f1117 /x11-misc/xosview
parentdev-libs/beignet: bump to 1.3.2 (diff)
downloadgentoo-ed8c672bdaf81c4b2d3b1be27b8386900e4f327d.tar.gz
gentoo-ed8c672bdaf81c4b2d3b1be27b8386900e4f327d.tar.bz2
gentoo-ed8c672bdaf81c4b2d3b1be27b8386900e4f327d.zip
x11-misc/xosview: Bump to version 1.20
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'x11-misc/xosview')
-rw-r--r--x11-misc/xosview/Manifest1
-rw-r--r--x11-misc/xosview/xosview-1.20.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-misc/xosview/Manifest b/x11-misc/xosview/Manifest
index 95b5d28836f..ba72b51d103 100644
--- a/x11-misc/xosview/Manifest
+++ b/x11-misc/xosview/Manifest
@@ -1 +1,2 @@
DIST xosview-1.19.tar.gz 143151 SHA256 08b6a9e6c1963c03ba9dcb31981b9e0e93d5d1d9959cadec86be1b09e2b22caf SHA512 57234a232617b14925e21864334f2d06dce442d552763835b1a505863dd80efc27d3d55d50692de4a548e86e25bb5ab3354bd92801b6504c030e1985f19b6a08 WHIRLPOOL 6796305fe1c78beed977758e54a0df17ed5e82f13cd5499a0f7ac8bc8f9ad8da6dc96534f406b919e92a747889a3650e97c559288a2efcd288a81602387d9e15
+DIST xosview-1.20.tar.gz 146373 SHA256 5acbb90273e2473235d2fd63e1725dbef3eb217f09f3ed7b38b8c7fbbad144e1 SHA512 25cd6a8cdaaff9121f0e8de7a1799d4c2706c5eb1111f3b3f8427b16e45a333fb4c675a1dec2ef6b40773e83124ff27eacc82f2b9eb6c836855930cbbf08957a WHIRLPOOL 38c71c8a3d062e48f2429993edaeced828dc6b0744e1f8c6f3b647931f392de897362c32b1fa40be07dac33f407e321a364e4fd219ed4e59503c8abe28398bc6
diff --git a/x11-misc/xosview/xosview-1.20.ebuild b/x11-misc/xosview/xosview-1.20.ebuild
new file mode 100644
index 00000000000..76ba156e04d
--- /dev/null
+++ b/x11-misc/xosview/xosview-1.20.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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() {
+ 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() {
+ 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
+}