Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/trayer/
Date: Tue, 14 Feb 2017 19:44:24
Message-Id: 1487101446.b8f9aa4340cc676f691d235cd2fbf4e445898938.soap@gentoo
1 commit: b8f9aa4340cc676f691d235cd2fbf4e445898938
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 13 17:00:17 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 19:44:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8f9aa43
7
8 x11-misc/trayer: EAPI bump 4 -> 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/3957
12
13 x11-misc/trayer/trayer-1.0-r2.ebuild | 51 ++++++++++++++++++++++++++++++++++++
14 1 file changed, 51 insertions(+)
15
16 diff --git a/x11-misc/trayer/trayer-1.0-r2.ebuild b/x11-misc/trayer/trayer-1.0-r2.ebuild
17 new file mode 100644
18 index 0000000000..be69dd0547
19 --- /dev/null
20 +++ b/x11-misc/trayer/trayer-1.0-r2.ebuild
21 @@ -0,0 +1,51 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="Lightweight GTK+ based systray for UNIX desktop"
30 +HOMEPAGE="http://home.gna.org/fvwm-crystal/"
31 +SRC_URI="http://download.gna.org/fvwm-crystal/trayer/${P}.tar.gz"
32 +LICENSE="GPL-2"
33 +
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
36 +IUSE=""
37 +
38 +RDEPEND="
39 + dev-libs/glib:2
40 + x11-libs/gdk-pixbuf
41 + x11-libs/gtk+:2
42 + x11-libs/libX11
43 +"
44 +DEPEND="
45 + ${RDEPEND}
46 + virtual/pkgconfig
47 +"
48 +
49 +src_prepare() {
50 + default
51 + # fix for as-needed, bug #141707
52 + # fix pre-stripped files, bug #252098
53 + sed -i Makefile \
54 + -e 's:$(LIBS) $(OBJ) $(SYSTRAYOBJ):$(OBJ) $(SYSTRAYOBJ) $(LIBS):' \
55 + -e 's:strip:true:g' \
56 + || die
57 + # fix underlinking, bug #369591
58 + sed -i Makefile.common \
59 + -e '/^LIBS/s:).*: x11):' \
60 + -e '/^INC/s:).*: x11):' \
61 + || die
62 +}
63 +
64 +src_compile() {
65 + emake -j1 CC=$(tc-getCC) CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}"
66 +}
67 +
68 +src_install() {
69 + dobin trayer
70 + doman trayer.1
71 + einstalldocs
72 +}