From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-p2p/gtk-gnutella: ChangeLog gtk-gnutella-1.0.1.ebuild |
Date: | Wed, 01 Jan 2014 08:06:04 |
Message-Id: | 20140101080557.EFC3E2004C@flycatcher.gentoo.org |
1 | graaff 14/01/01 08:05:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gtk-gnutella-1.0.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 | |
10 | Revision Changes Path |
11 | 1.152 net-p2p/gtk-gnutella/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.152&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.152&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?r1=1.151&r2=1.152 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v |
20 | retrieving revision 1.151 |
21 | retrieving revision 1.152 |
22 | diff -u -r1.151 -r1.152 |
23 | --- ChangeLog 24 Dec 2013 12:50:46 -0000 1.151 |
24 | +++ ChangeLog 1 Jan 2014 08:05:57 -0000 1.152 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-p2p/gtk-gnutella |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.151 2013/12/24 12:50:46 ago Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.152 2014/01/01 08:05:57 graaff Exp $ |
31 | + |
32 | +*gtk-gnutella-1.0.1 (01 Jan 2014) |
33 | + |
34 | + 01 Jan 2014; Hans de Graaff <graaff@g.o> +gtk-gnutella-1.0.1.ebuild: |
35 | + Version bump. |
36 | |
37 | 24 Dec 2013; Agostino Sarubbo <ago@g.o> gtk-gnutella-1.0.0.ebuild: |
38 | Stable for x86, wrt bug #489180 |
39 | |
40 | |
41 | |
42 | 1.1 net-p2p/gtk-gnutella/gtk-gnutella-1.0.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-1.0.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-1.0.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gtk-gnutella-1.0.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-1.0.1.ebuild,v 1.1 2014/01/01 08:05:57 graaff Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | inherit eutils |
56 | |
57 | IUSE="nls dbus ssl +gtk" |
58 | |
59 | DESCRIPTION="A GTK+ Gnutella client" |
60 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
61 | HOMEPAGE="http://gtk-gnutella.sourceforge.net/" |
62 | |
63 | SLOT="0" |
64 | LICENSE="GPL-2" |
65 | KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
66 | |
67 | RDEPEND=" |
68 | dev-libs/glib:2 |
69 | sys-libs/zlib |
70 | gtk? ( >=x11-libs/gtk+-2.2.1:2 ) |
71 | dbus? ( >=sys-apps/dbus-0.35.2 ) |
72 | ssl? ( >=net-libs/gnutls-2.2.5 ) |
73 | nls? ( >=sys-devel/gettext-0.11.5 )" |
74 | DEPEND="${RDEPEND} |
75 | virtual/pkgconfig" |
76 | |
77 | src_prepare() { |
78 | strip-linguas -i po |
79 | |
80 | echo "# Gentoo-selected LINGUAS" > po/LINGUAS |
81 | for ling in ${LINGUAS}; do |
82 | echo $ling >> po/LINGUAS |
83 | done |
84 | |
85 | # Already fixed upstream but not released yet. Included as requested |
86 | # by upstream. |
87 | # epatch "${FILESDIR}/${P}-bdf.patch" |
88 | # epatch "${FILESDIR}/${P}-gtkg-hostile.patch" |
89 | } |
90 | |
91 | src_configure() { |
92 | # There is no option to turn off optimization through the build.sh |
93 | # script. |
94 | sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die |
95 | |
96 | # The build script does not support the equivalent --enable |
97 | # options so we must construct the configuration by hand. |
98 | |
99 | local myconf |
100 | |
101 | if ! use nls; then |
102 | myconf="${myconf} --disable-nls" |
103 | fi |
104 | |
105 | if ! use dbus; then |
106 | myconf="${myconf} --disable-dbus" |
107 | fi |
108 | |
109 | if ! use ssl; then |
110 | myconf="${myconf} --disable-gnutls" |
111 | fi |
112 | |
113 | if use gtk; then |
114 | myconf="${myconf} --gtk2" |
115 | else |
116 | myconf="${myconf} --topless" |
117 | fi |
118 | |
119 | ./build.sh \ |
120 | --configure-only \ |
121 | --prefix="/usr" \ |
122 | --cc=$(tc-getCC) \ |
123 | ${myconf} |
124 | } |
125 | |
126 | src_install() { |
127 | dodir /usr/bin |
128 | emake INSTALL_PREFIX="${D}" install || die "Install failed" |
129 | dodoc AUTHORS ChangeLog README TODO |
130 | |
131 | # Touch the symbols file into the future to avoid warnings from |
132 | # gtk-gnutella later on, since we will most likely strip the binary. |
133 | touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die |
134 | } |