From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/xosview: ChangeLog xosview-1.16.ebuild |
Date: | Fri, 22 Nov 2013 12:31:54 |
Message-Id: | 20131122123146.ECB412004B@flycatcher.gentoo.org |
1 | jer 13/11/22 12:31:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: xosview-1.16.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 | |
10 | Revision Changes Path |
11 | 1.77 x11-misc/xosview/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/ChangeLog?rev=1.77&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/ChangeLog?rev=1.77&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/ChangeLog?r1=1.76&r2=1.77 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v |
20 | retrieving revision 1.76 |
21 | retrieving revision 1.77 |
22 | diff -u -r1.76 -r1.77 |
23 | --- ChangeLog 13 Aug 2013 14:59:11 -0000 1.76 |
24 | +++ ChangeLog 22 Nov 2013 12:31:46 -0000 1.77 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for x11-misc/xosview |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.76 2013/08/13 14:59:11 jer Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/ChangeLog,v 1.77 2013/11/22 12:31:46 jer Exp $ |
30 | + |
31 | +*xosview-1.16 (22 Nov 2013) |
32 | + |
33 | + 22 Nov 2013; Jeroen Roovers <jer@g.o> +xosview-1.16.ebuild: |
34 | + Version bump. |
35 | |
36 | *xosview-1.15 (13 Aug 2013) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 x11-misc/xosview/xosview-1.16.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/xosview-1.16.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/xosview-1.16.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: xosview-1.16.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2013 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/x11-misc/xosview/xosview-1.16.ebuild,v 1.1 2013/11/22 12:31:46 jer Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | inherit eutils toolchain-funcs |
55 | |
56 | DESCRIPTION="X11 operating system viewer" |
57 | HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/" |
58 | SRC_URI="http://www.pogo.org.uk/~mark/${PN}/releases/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2 BSD" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
63 | IUSE="suid" |
64 | |
65 | COMMON_DEPS="x11-libs/libX11 |
66 | x11-libs/libXpm |
67 | x11-libs/libXt" |
68 | RDEPEND="${COMMON_DEPS} |
69 | media-fonts/font-misc-misc" |
70 | DEPEND="${COMMON_DEPS} |
71 | x11-proto/xproto" |
72 | |
73 | src_prepare() { |
74 | sed -i -e 's:lib/X11/app:share/X11/app:g' -i ${PN}.1 || die |
75 | sed -i -e "s:Git:${PV}:g" ${PN}.cc || die |
76 | tc-export CXX |
77 | } |
78 | |
79 | src_compile() { |
80 | emake OPTFLAGS='' |
81 | } |
82 | |
83 | src_install() { |
84 | dobin ${PN} |
85 | use suid && fperms 4755 /usr/bin/${PN} |
86 | insinto /usr/share/X11/app-defaults |
87 | newins Xdefaults XOsview |
88 | doman *.1 |
89 | dodoc CHANGES README.linux TODO |
90 | } |
91 | |
92 | pkg_postinst() { |
93 | if ! use suid ; then |
94 | ewarn "If you want to use serial meters ${PN} needs to be executed as root." |
95 | ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." |
96 | fi |
97 | } |