summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-05-07 16:02:22 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-05-07 16:02:22 +0000
commit0affa52f9d570d5934bfd8efc90e683d113e23a8 (patch)
tree7ae76a504b55a827158ddbe4cfbbba1a9c8cec8e /net-p2p
parentFixed build failure with gcc-4.3, the patch is from debian bug #455270. (diff)
downloadhistorical-0affa52f9d570d5934bfd8efc90e683d113e23a8.tar.gz
historical-0affa52f9d570d5934bfd8efc90e683d113e23a8.tar.bz2
historical-0affa52f9d570d5934bfd8efc90e683d113e23a8.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule/ChangeLog8
-rw-r--r--net-p2p/amule/Manifest4
-rw-r--r--net-p2p/amule/amule-2.2.0_pre20080507.ebuild115
3 files changed, 125 insertions, 2 deletions
diff --git a/net-p2p/amule/ChangeLog b/net-p2p/amule/ChangeLog
index 6dadd884b2e9..af2b3ea4bde2 100644
--- a/net-p2p/amule/ChangeLog
+++ b/net-p2p/amule/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/amule
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.114 2008/04/14 13:00:41 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/ChangeLog,v 1.115 2008/05/07 16:02:22 armin76 Exp $
+
+*amule-2.2.0_pre20080507 (07 May 2008)
+
+ 07 May 2008; Raúl Porcel <armin76@gentoo.org>
+ +amule-2.2.0_pre20080507.ebuild:
+ Version bump
*amule-2.2.0_pre20080413 (14 Apr 2008)
diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest
index 3b296e8315d0..64e4fbe8e826 100644
--- a/net-p2p/amule/Manifest
+++ b/net-p2p/amule/Manifest
@@ -7,10 +7,12 @@ DIST aMule-2.1.3.tar.bz2 3248530 RMD160 fcc345000e5ad0a221d1e96d0d514f3be36428c3
DIST aMule-CVS-20080304.tar.bz2 4027066 RMD160 b937956d6bc16a825e9a4c4533c3c7d3f0c2d163 SHA1 75a40c8fa0f6087477ac21113a5fbf93293c8a55 SHA256 a8db3a4a5969741056b2ba1fd04aec9b34b0da8f9934b27bfd46d9d74fe2b875
DIST aMule-CVS-20080324.tar.bz2 4179421 RMD160 06a241e8d14c8c3750a13ce9ece3889bae40e7d5 SHA1 2883987de1a06e6a6a90900f1ce0fa8894bb6c69 SHA256 5f022820244e6e05bbd2600f4655f98d4a98f272ef05bc50731c996aff312dd5
DIST aMule-CVS-20080413.tar.bz2 4478140 RMD160 e018a68fc0f9e8dbbca6a95ae7a838ace36ce41d SHA1 bcfd3f7867f469a17752600ecb531e06cdcfaebe SHA256 0ff01b50330ec9ba0f095c7d49f420adafd620745cf5a855d8971e8419a81238
+DIST aMule-CVS-20080507.tar.bz2 4490382 RMD160 54a7eda20055e97c246076150ac042442bfd9d0c SHA1 336397cc39f7e94d98212645a1a28cde9b677bb3 SHA256 5459bf2e5f418c6f7663b2b1277a76148b17a86da5b2254361ef9fbcd60cccbd
EBUILD amule-2.1.3-r1.ebuild 3055 RMD160 a8b3effdc140b8293219808f603d4166a165510d SHA1 ecf37cc6e80b0ea84de955b78c8053be1621e38c SHA256 0b160f0d2b3515a1b9b5021130d19c53b2a319fbe3837ac43e9182b56c925f5e
EBUILD amule-2.1.3.ebuild 3013 RMD160 0435e512f6b69ae8e47cf697fa26e0101553ad9f SHA1 421e60db1e7e7041df32437b00ae8b1c4a84cc16 SHA256 e680653b5c7925ae07d8f3282927f9f97831db5a081b8eb1445a4efccd7158ef
EBUILD amule-2.2.0_pre20080304.ebuild 3002 RMD160 e7ad2dbb43fbad6dab0c374cb1ea74769d944b46 SHA1 7468352f3bbd1e126c4e2ec3f813dfdaf1169e08 SHA256 0a0675ec8c14463cb95025c5cdf5f50257183f9aed18fc28667e2c751723a097
EBUILD amule-2.2.0_pre20080324.ebuild 3007 RMD160 6184702b53d0c198740fa0e0f80e7a6796bd8494 SHA1 6a21e495871d0e4b6c9e1e1083cc698719d91ae1 SHA256 f8b73f6ed05818c0c66760c7a3eb7c99bf346c4262658ce8b78d5825340c5783
EBUILD amule-2.2.0_pre20080413.ebuild 3007 RMD160 a2ac3a8ff1a1bb53f6c6b6bd32decc9ae8b07dc8 SHA1 7a68085ded636eaca0ec08a1d41094b6254b5e3a SHA256 36a380d631c1d12d93c0ca7097b021d6ced99f7eafd586cb3f76500b211a6fc4
-MISC ChangeLog 16711 RMD160 01d8ceaedc9f2fef0359ca665df6487dd1205386 SHA1 2f41b87745e6c68695efd4fde968d19d3032eeb3 SHA256 963f8c35f5cf12a11166ad7e22f0851f9b3d2667663582ed637953b7f928599f
+EBUILD amule-2.2.0_pre20080507.ebuild 3007 RMD160 b674dfae200e9a0108bb2278455281517d33bf56 SHA1 a46393bf1e9958e70391f02856f3ae57907cce5a SHA256 aafba948208fa1b427d76d9c2a1faa75c3a16603f30e99d49fef4f987a1b9568
+MISC ChangeLog 16851 RMD160 5127e1250996844004a5ef598bfb7df690f586da SHA1 94424791a50b29f52b2c8bbe48f3fd5199fe2588 SHA256 c053888db05a1af32d00afd2544888c82b04bda505ba78e11429a7a7f0e48c90
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
diff --git a/net-p2p/amule/amule-2.2.0_pre20080507.ebuild b/net-p2p/amule/amule-2.2.0_pre20080507.ebuild
new file mode 100644
index 000000000000..6d4e9acb2efb
--- /dev/null
+++ b/net-p2p/amule/amule-2.2.0_pre20080507.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080507.ebuild,v 1.1 2008/05/07 16:02:22 armin76 Exp $
+
+inherit eutils flag-o-matic wxwidgets autotools
+
+MY_P=${PN/m/M}-CVS-${PV/2.2.0_pre/}
+S="${WORKDIR}/${PN}-cvs"
+
+DESCRIPTION="aMule, the all-platform eMule p2p client"
+HOMEPAGE="http://www.amule.org/"
+SRC_URI="http://www.hirnriss.net/files/cvs/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="daemon debug geoip gtk nls remote stats unicode upnp"
+
+DEPEND="=x11-libs/wxGTK-2.8*
+ dev-libs/crypto++
+ >=sys-libs/zlib-1.2.1
+ stats? ( >=media-libs/gd-2.0.26 )
+ geoip? ( dev-libs/geoip )
+ upnp? ( net-libs/libupnp )
+ remote? ( >=media-libs/libpng-1.2.0
+ unicode? ( >=media-libs/gd-2.0.26 ) )"
+
+pkg_setup() {
+ if ! use gtk && ! use remote && ! use daemon; then
+ eerror ""
+ eerror "You have to specify at least one of gtk, remote or daemon"
+ eerror "USE flag to build amule."
+ eerror ""
+ die "Invalid USE flag set"
+ fi
+
+ if use stats && ! use gtk; then
+ einfo "Note: You would need both the gtk and stats USE flags"
+ einfo "to compile aMule Statistics GUI."
+ einfo "I will now compile console versions only."
+ fi
+
+ if use stats && ! built_with_use media-libs/gd jpeg; then
+ die "media-libs/gd should be compiled with the jpeg use flag when you have the stats use flag set"
+ fi
+}
+
+pkg_preinst() {
+ if use daemon || use remote; then
+ enewgroup p2p
+ enewuser p2p -1 -1 /home/p2p p2p
+ fi
+}
+
+src_compile() {
+ local myconf
+
+ WX_GTK_VER="2.8"
+
+ if use gtk; then
+ einfo "wxGTK with gtk support will be used"
+ need-wxwidgets unicode
+ else
+ einfo "wxGTK without X support will be used"
+ need-wxwidgets base
+ fi
+
+ if use gtk ; then
+ use stats && myconf="${myconf}
+ --enable-wxcas
+ --enable-alc"
+ use remote && myconf="${myconf}
+ --enable-amule-gui"
+ else
+ myconf="
+ --disable-monolithic
+ --disable-amule-gui
+ --disable-wxcas
+ --disable-alc"
+ fi
+
+ econf \
+ --with-wx-config=${WX_CONFIG} \
+ --with-wxbase-config=${WX_CONFIG} \
+ --enable-amulecmd \
+ $(use_enable debug) \
+ $(use_enable !debug optimize) \
+ $(use_enable daemon amule-daemon) \
+ $(use_enable geoip) \
+ $(use_enable nls) \
+ $(use_enable remote webserver) \
+ $(use_enable stats cas) \
+ $(use_enable stats alcc) \
+ ${myconf} || die
+
+ # we filter ssp until bug #74457 is closed to build on hardened
+ filter-flags -fstack-protector -fstack-protector-all
+
+ emake -j1 || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ if use daemon; then
+ newconfd "${FILESDIR}"/amuled.confd amuled
+ newinitd "${FILESDIR}"/amuled.initd amuled
+ fi
+
+ if use remote; then
+ newconfd "${FILESDIR}"/amuleweb.confd amuleweb
+ newinitd "${FILESDIR}"/amuleweb.initd amuleweb
+ make_desktop_entry amulegui "aMule Remote" amule "Network;P2P"
+ fi
+}