Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/amule: ChangeLog amule-2.2.0_pre20080304.ebuild amule-2.2.0_pre20080324.ebuild
Date: Mon, 24 Mar 2008 18:34:51
Message-Id: E1JdrVP-0006gs-Rw@stork.gentoo.org
1 armin76 08/03/24 18:34:47
2
3 Modified: ChangeLog amule-2.2.0_pre20080304.ebuild
4 Added: amule-2.2.0_pre20080324.ebuild
5 Log:
6 Version bump, and alpha/x86 stable
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.109 net-p2p/amule/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?rev=1.109&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?rev=1.109&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?r1=1.108&r2=1.109
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v
19 retrieving revision 1.108
20 retrieving revision 1.109
21 diff -u -r1.108 -r1.109
22 --- ChangeLog 22 Mar 2008 15:17:55 -0000 1.108
23 +++ ChangeLog 24 Mar 2008 18:34:47 -0000 1.109
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-p2p/amule
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.108 2008/03/22 15:17:55 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.109 2008/03/24 18:34:47 armin76 Exp $
29 +
30 +*amule-2.2.0_pre20080324 (24 Mar 2008)
31 +
32 + 24 Mar 2008; Raúl Porcel <armin76@g.o>
33 + amule-2.2.0_pre20080304.ebuild, +amule-2.2.0_pre20080324.ebuild:
34 + Version bump, and alpha/x86 stable
35
36 22 Mar 2008; nixnut <nixnut@g.o> amule-2.2.0_pre20080304.ebuild:
37 Stable on ppc wrt bug 213487
38
39
40
41 1.3 net-p2p/amule/amule-2.2.0_pre20080304.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080304.ebuild?rev=1.3&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080304.ebuild?rev=1.3&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080304.ebuild?r1=1.2&r2=1.3
46
47 Index: amule-2.2.0_pre20080304.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080304.ebuild,v
50 retrieving revision 1.2
51 retrieving revision 1.3
52 diff -u -r1.2 -r1.3
53 --- amule-2.2.0_pre20080304.ebuild 22 Mar 2008 15:17:55 -0000 1.2
54 +++ amule-2.2.0_pre20080304.ebuild 24 Mar 2008 18:34:47 -0000 1.3
55 @@ -1,6 +1,6 @@
56 # Copyright 1999-2008 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080304.ebuild,v 1.2 2008/03/22 15:17:55 nixnut Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080304.ebuild,v 1.3 2008/03/24 18:34:47 armin76 Exp $
60
61 inherit eutils flag-o-matic wxwidgets autotools
62
63 @@ -13,7 +13,7 @@
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 -KEYWORDS="~alpha ~amd64 ~hppa ppc ~ppc64 ~sparc ~x86"
68 +KEYWORDS="alpha ~amd64 ~hppa ppc ~ppc64 ~sparc x86"
69 IUSE="daemon debug geoip gtk nls remote stats unicode upnp"
70
71 DEPEND="=x11-libs/wxGTK-2.8*
72
73
74
75 1.1 net-p2p/amule/amule-2.2.0_pre20080324.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080324.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080324.ebuild?rev=1.1&content-type=text/plain
79
80 Index: amule-2.2.0_pre20080324.ebuild
81 ===================================================================
82 # Copyright 1999-2008 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080324.ebuild,v 1.1 2008/03/24 18:34:47 armin76 Exp $
85
86 inherit eutils flag-o-matic wxwidgets autotools
87
88 MY_P=${PN/m/M}-CVS-${PV/2.2.0_pre/}
89 S="${WORKDIR}/${PN}-cvs"
90
91 DESCRIPTION="aMule, the all-platform eMule p2p client"
92 HOMEPAGE="http://www.amule.org/"
93 SRC_URI="http://www.hirnriss.net/files/cvs/${MY_P}.tar.bz2"
94
95 LICENSE="GPL-2"
96 SLOT="0"
97 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
98 IUSE="daemon debug geoip gtk nls remote stats unicode upnp"
99
100 DEPEND="=x11-libs/wxGTK-2.8*
101 dev-libs/crypto++
102 >=sys-libs/zlib-1.2.1
103 stats? ( >=media-libs/gd-2.0.26 )
104 geoip? ( dev-libs/geoip )
105 upnp? ( net-libs/libupnp )
106 remote? ( >=media-libs/libpng-1.2.0
107 unicode? ( >=media-libs/gd-2.0.26 ) )"
108
109 pkg_setup() {
110 if ! use gtk && ! use remote && ! use daemon; then
111 eerror ""
112 eerror "You have to specify at least one of gtk, remote or daemon"
113 eerror "USE flag to build amule."
114 eerror ""
115 die "Invalid USE flag set"
116 fi
117
118 if use stats && ! use gtk; then
119 einfo "Note: You would need both the gtk and stats USE flags"
120 einfo "to compile aMule Statistics GUI."
121 einfo "I will now compile console versions only."
122 fi
123
124 if use stats && ! built_with_use media-libs/gd jpeg; then
125 die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set"
126 fi
127 }
128
129 pkg_preinst() {
130 if use daemon || use remote; then
131 enewgroup p2p
132 enewuser p2p -1 -1 /home/p2p p2p
133 fi
134 }
135
136 src_compile() {
137 local myconf
138
139 WX_GTK_VER="2.8"
140
141 if use gtk; then
142 einfo "wxGTK with gtk support will be used"
143 need-wxwidgets unicode
144 else
145 einfo "wxGTK without X support will be used"
146 need-wxwidgets base
147 fi
148
149 if use gtk ; then
150 use stats && myconf="${myconf}
151 --enable-wxcas
152 --enable-alc"
153 use remote && myconf="${myconf}
154 --enable-amule-gui"
155 else
156 myconf="
157 --disable-monolithic
158 --disable-amule-gui
159 --disable-wxcas
160 --disable-alc"
161 fi
162
163 econf \
164 --with-wx-config=${WX_CONFIG} \
165 --with-wxbase-config=${WX_CONFIG} \
166 --enable-amulecmd \
167 $(use_enable debug) \
168 $(use_enable !debug optimize) \
169 $(use_enable daemon amule-daemon) \
170 $(use_enable geoip) \
171 $(use_enable nls) \
172 $(use_enable remote webserver) \
173 $(use_enable stats cas) \
174 $(use_enable stats alcc) \
175 ${myconf} || die
176
177 # we filter ssp until bug #74457 is closed to build on hardened
178 filter-flags -fstack-protector -fstack-protector-all
179
180 emake -j1 || die
181 }
182
183 src_install() {
184 emake DESTDIR="${D}" install || die
185
186 if use daemon; then
187 newconfd "${FILESDIR}"/amuled.confd amuled
188 newinitd "${FILESDIR}"/amuled.initd amuled
189 fi
190
191 if use remote; then
192 newconfd "${FILESDIR}"/amuleweb.confd amuleweb
193 newinitd "${FILESDIR}"/amuleweb.initd amuleweb
194 make_desktop_entry amulegui "aMule Remote" amule "Network;P2P"
195 fi
196 }
197
198
199
200 --
201 gentoo-commits@l.g.o mailing list