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