Gentoo Archives: gentoo-commits

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-0.98.2.ebuild
Date: Fri, 30 Dec 2011 20:15:32
Message-Id: 20111230201523.3B9102004C@flycatcher.gentoo.org
1 graaff 11/12/30 20:15:23
2
3 Modified: ChangeLog
4 Added: gtk-gnutella-0.98.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.126 net-p2p/gtk-gnutella/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.126&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.126&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?r1=1.125&r2=1.126
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v
20 retrieving revision 1.125
21 retrieving revision 1.126
22 diff -u -r1.125 -r1.126
23 --- ChangeLog 16 Dec 2011 13:57:40 -0000 1.125
24 +++ ChangeLog 30 Dec 2011 20:15:23 -0000 1.126
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-p2p/gtk-gnutella
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.125 2011/12/16 13:57:40 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.126 2011/12/30 20:15:23 graaff Exp $
30 +
31 +*gtk-gnutella-0.98.2 (30 Dec 2011)
32 +
33 + 30 Dec 2011; Hans de Graaff <graaff@g.o> +gtk-gnutella-0.98.2.ebuild:
34 + Version bump.
35
36 *gtk-gnutella-0.98.1 (16 Dec 2011)
37
38
39
40
41 1.1 net-p2p/gtk-gnutella/gtk-gnutella-0.98.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.98.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.98.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gtk-gnutella-0.98.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.98.2.ebuild,v 1.1 2011/12/30 20:15:23 graaff Exp $
51
52 EAPI="2"
53
54 inherit eutils
55
56 IUSE="nls dbus ssl +gtk"
57
58 DESCRIPTION="A GTK+ Gnutella client"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
60 HOMEPAGE="http://gtk-gnutella.sourceforge.net/"
61
62 SLOT="0"
63 LICENSE="GPL-2"
64 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
65
66 RDEPEND="
67 gtk? ( >=x11-libs/gtk+-2.2.1:2 )
68 dbus? ( >=sys-apps/dbus-0.35.2 )
69 ssl? ( >=net-libs/gnutls-2.2.5 )
70 nls? ( >=sys-devel/gettext-0.11.5 )"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig"
73
74 src_configure() {
75 # There is no option to turn off optimization through the build.sh
76 # script.
77 sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die
78
79 # The build script does not support the equivalent --enable
80 # options so we must construct the configuration by hand.
81
82 local myconf
83
84 if ! use nls; then
85 myconf="${myconf} --disable-nls"
86 fi
87
88 if ! use dbus; then
89 myconf="${myconf} --disable-dbus"
90 fi
91
92 if ! use ssl; then
93 myconf="${myconf} --disable-gnutls"
94 fi
95
96 if use gtk; then
97 myconf="${myconf} --gtk2"
98 else
99 myconf="${myconf} --topless"
100 fi
101
102 ./build.sh \
103 --configure-only \
104 --prefix="/usr" \
105 --cc=$(tc-getCC) \
106 ${myconf}
107 }
108
109 src_install() {
110 dodir /usr/bin
111 emake INSTALL_PREFIX="${D}" install || die "Install failed"
112 dodoc AUTHORS ChangeLog README TODO
113
114 # Touch the symbols file into the future to avoid warnings from
115 # gtk-gnutella later on, since we will most likely strip the binary.
116 touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die
117 }