1 |
armin76 08/01/30 15:05:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: amule-2.2.0_pre20080130.ebuild |
5 |
Removed: amule-2.2.0_pre20080101.ebuild |
6 |
Log: |
7 |
Version bump, remove old |
8 |
(Portage version: 2.1.3.19) |
9 |
|
10 |
Revision Changes Path |
11 |
1.98 net-p2p/amule/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?rev=1.98&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?rev=1.98&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/ChangeLog?r1=1.97&r2=1.98 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v |
20 |
retrieving revision 1.97 |
21 |
retrieving revision 1.98 |
22 |
diff -u -r1.97 -r1.98 |
23 |
--- ChangeLog 15 Jan 2008 13:43:48 -0000 1.97 |
24 |
+++ ChangeLog 30 Jan 2008 15:05:21 -0000 1.98 |
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.97 2008/01/15 13:43:48 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.98 2008/01/30 15:05:21 armin76 Exp $ |
30 |
+ |
31 |
+*amule-2.2.0_pre20080130 (30 Jan 2008) |
32 |
+ |
33 |
+ 30 Jan 2008; Raúl Porcel <armin76@g.o> |
34 |
+ -amule-2.2.0_pre20080101.ebuild, +amule-2.2.0_pre20080130.ebuild: |
35 |
+ Version bump, remove old |
36 |
|
37 |
15 Jan 2008; Raúl Porcel <armin76@g.o> amule-2.1.3.ebuild, |
38 |
amule-2.2.0_pre20070422.ebuild, amule-2.2.0_pre20080101.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-p2p/amule/amule-2.2.0_pre20080130.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080130.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080130.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: amule-2.2.0_pre20080130.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_pre20080130.ebuild,v 1.1 2008/01/30 15:05:21 armin76 Exp $ |
52 |
|
53 |
inherit eutils flag-o-matic wxwidgets |
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" |
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 |
remote? ( >=media-libs/libpng-1.2.0 |
73 |
unicode? ( >=media-libs/gd-2.0.26 ) )" |
74 |
|
75 |
pkg_setup() { |
76 |
if ! use gtk && ! use remote && ! use daemon; then |
77 |
eerror "" |
78 |
eerror "You have to specify at least one of gtk, remote or daemon" |
79 |
eerror "USE flag to build amule." |
80 |
eerror "" |
81 |
die "Invalid USE flag set" |
82 |
fi |
83 |
|
84 |
if use stats && ! use gtk; then |
85 |
einfo "Note: You would need both the gtk and stats USE flags" |
86 |
einfo "to compile aMule Statistics GUI." |
87 |
einfo "I will now compile console versions only." |
88 |
fi |
89 |
|
90 |
if use stats && ! built_with_use media-libs/gd jpeg; then |
91 |
die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set" |
92 |
fi |
93 |
} |
94 |
|
95 |
pkg_preinst() { |
96 |
if use daemon || use remote; then |
97 |
enewgroup p2p |
98 |
enewuser p2p -1 -1 /home/p2p p2p |
99 |
fi |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
local myconf |
104 |
|
105 |
WX_GTK_VER="2.8" |
106 |
|
107 |
if use gtk; then |
108 |
einfo "wxGTK with gtk support will be used" |
109 |
need-wxwidgets unicode |
110 |
else |
111 |
einfo "wxGTK without X support will be used" |
112 |
need-wxwidgets base |
113 |
fi |
114 |
|
115 |
if use gtk ; then |
116 |
use stats && myconf="${myconf} |
117 |
--enable-wxcas |
118 |
--enable-alc" |
119 |
use remote && myconf="${myconf} |
120 |
--enable-amule-gui" |
121 |
else |
122 |
myconf=" |
123 |
--disable-monolithic |
124 |
--disable-amule-gui |
125 |
--disable-wxcas |
126 |
--disable-alc" |
127 |
fi |
128 |
|
129 |
econf \ |
130 |
--with-wx-config=${WX_CONFIG} \ |
131 |
--with-wxbase-config=${WX_CONFIG} \ |
132 |
--enable-amulecmd \ |
133 |
$(use_enable debug) \ |
134 |
$(use_enable !debug optimize) \ |
135 |
$(use_enable daemon amule-daemon) \ |
136 |
$(use_enable geoip) \ |
137 |
$(use_enable nls) \ |
138 |
$(use_enable remote webserver) \ |
139 |
$(use_enable stats cas) \ |
140 |
$(use_enable stats alcc) \ |
141 |
${myconf} || die |
142 |
|
143 |
# we filter ssp until bug #74457 is closed to build on hardened |
144 |
filter-flags -fstack-protector -fstack-protector-all |
145 |
|
146 |
emake -j1 || die |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
emake DESTDIR="${D}" install || die |
151 |
|
152 |
if use daemon; then |
153 |
newconfd "${FILESDIR}"/amuled.confd amuled |
154 |
newinitd "${FILESDIR}"/amuled.initd amuled |
155 |
fi |
156 |
|
157 |
if use remote; then |
158 |
newconfd "${FILESDIR}"/amuleweb.confd amuleweb |
159 |
newinitd "${FILESDIR}"/amuleweb.initd amuleweb |
160 |
fi |
161 |
} |
162 |
|
163 |
|
164 |
|
165 |
-- |
166 |
gentoo-commits@l.g.o mailing list |