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: gtk-gnutella-0.98.3.ebuild ChangeLog
Date: Tue, 05 Jun 2012 05:56:28
Message-Id: 20120605055617.00E0A2004B@flycatcher.gentoo.org
1 graaff 12/06/05 05:56:16
2
3 Modified: ChangeLog
4 Added: gtk-gnutella-0.98.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.137 net-p2p/gtk-gnutella/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.137&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.137&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?r1=1.136&r2=1.137
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v
20 retrieving revision 1.136
21 retrieving revision 1.137
22 diff -u -r1.136 -r1.137
23 --- ChangeLog 4 May 2012 06:33:34 -0000 1.136
24 +++ ChangeLog 5 Jun 2012 05:56:16 -0000 1.137
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-p2p/gtk-gnutella
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.136 2012/05/04 06:33:34 jdhore Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.137 2012/06/05 05:56:16 graaff Exp $
30 +
31 +*gtk-gnutella-0.98.3 (05 Jun 2012)
32 +
33 + 05 Jun 2012; Hans de Graaff <graaff@g.o> +gtk-gnutella-0.98.3.ebuild:
34 + Version bump.
35
36 04 May 2012; Jeff Horelick <jdhore@g.o> gtk-gnutella-0.98.2.ebuild,
37 gtk-gnutella-0.98.2-r1.ebuild:
38
39
40
41 1.1 net-p2p/gtk-gnutella/gtk-gnutella-0.98.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.98.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.98.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gtk-gnutella-0.98.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.3.ebuild,v 1.1 2012/06/05 05:56:16 graaff Exp $
51
52 EAPI=4
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 dev-libs/glib:2
68 sys-libs/zlib
69 gtk? ( >=x11-libs/gtk+-2.2.1:2 )
70 dbus? ( >=sys-apps/dbus-0.35.2 )
71 ssl? ( >=net-libs/gnutls-2.2.5 )
72 nls? ( >=sys-devel/gettext-0.11.5 )"
73 DEPEND="${RDEPEND}
74 virtual/pkgconfig"
75
76 src_prepare() {
77 strip-linguas -i po
78
79 echo "# Gentoo-selected LINGUAS" > po/LINGUAS
80 for ling in ${LINGUAS}; do
81 echo $ling >> po/LINGUAS
82 done
83 }
84
85 src_configure() {
86 # There is no option to turn off optimization through the build.sh
87 # script.
88 sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die
89
90 # The build script does not support the equivalent --enable
91 # options so we must construct the configuration by hand.
92
93 local myconf
94
95 if ! use nls; then
96 myconf="${myconf} --disable-nls"
97 fi
98
99 if ! use dbus; then
100 myconf="${myconf} --disable-dbus"
101 fi
102
103 if ! use ssl; then
104 myconf="${myconf} --disable-gnutls"
105 fi
106
107 if use gtk; then
108 myconf="${myconf} --gtk2"
109 else
110 myconf="${myconf} --topless"
111 fi
112
113 ./build.sh \
114 --configure-only \
115 --prefix="/usr" \
116 --cc=$(tc-getCC) \
117 ${myconf}
118 }
119
120 src_install() {
121 dodir /usr/bin
122 emake INSTALL_PREFIX="${D}" install || die "Install failed"
123 dodoc AUTHORS ChangeLog README TODO
124
125 # Touch the symbols file into the future to avoid warnings from
126 # gtk-gnutella later on, since we will most likely strip the binary.
127 touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die
128 }