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.1.1.ebuild |
Date: | Wed, 03 Sep 2014 05:53:37 |
Message-Id: | 20140903055333.B9C50494A@oystercatcher.gentoo.org |
1 | graaff 14/09/03 05:53:33 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gtk-gnutella-1.1.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 | |
10 | Revision Changes Path |
11 | 1.161 net-p2p/gtk-gnutella/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.161&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?rev=1.161&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog?r1=1.160&r2=1.161 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v |
20 | retrieving revision 1.160 |
21 | retrieving revision 1.161 |
22 | diff -u -r1.160 -r1.161 |
23 | --- ChangeLog 5 Jul 2014 07:28:37 -0000 1.160 |
24 | +++ ChangeLog 3 Sep 2014 05:53:33 -0000 1.161 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-p2p/gtk-gnutella |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.160 2014/07/05 07:28:37 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.161 2014/09/03 05:53:33 graaff Exp $ |
30 | + |
31 | +*gtk-gnutella-1.1.1 (03 Sep 2014) |
32 | + |
33 | + 03 Sep 2014; Hans de Graaff <graaff@g.o> +gtk-gnutella-1.1.1.ebuild: |
34 | + Version bump. |
35 | |
36 | *gtk-gnutella-1.1.0 (05 Jul 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-p2p/gtk-gnutella/gtk-gnutella-1.1.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-1.1.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-1.1.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: gtk-gnutella-1.1.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 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-1.1.1.ebuild,v 1.1 2014/09/03 05:53:33 graaff Exp $ |
51 | |
52 | EAPI=5 |
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_compile() { |
121 | # Build system is not parallel-safe, bug 500760 |
122 | emake -j1 |
123 | } |
124 | |
125 | src_install() { |
126 | dodir /usr/bin |
127 | emake INSTALL_PREFIX="${D}" install || die "Install failed" |
128 | dodoc AUTHORS ChangeLog README TODO |
129 | |
130 | # Touch the symbols file into the future to avoid warnings from |
131 | # gtk-gnutella later on, since we will most likely strip the binary. |
132 | touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die |
133 | } |