Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/amule/
Date: Tue, 03 May 2016 17:35:35
Message-Id: 1462296101.6fdd55bee7111a461bd22ef414b0efa9e5c59ef7.wizardedit@gentoo
1 commit: 6fdd55bee7111a461bd22ef414b0efa9e5c59ef7
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 17:19:09 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 17:21:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fdd55be
7
8 net-p2p/amule: remove old version
9
10 Package-Manager: portage-2.2.26
11
12 net-p2p/amule/amule-2.3.1-r1.ebuild | 107 ------------------------------------
13 1 file changed, 107 deletions(-)
14
15 diff --git a/net-p2p/amule/amule-2.3.1-r1.ebuild b/net-p2p/amule/amule-2.3.1-r1.ebuild
16 deleted file mode 100644
17 index 565019e..0000000
18 --- a/net-p2p/amule/amule-2.3.1-r1.ebuild
19 +++ /dev/null
20 @@ -1,107 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -
27 -inherit eutils wxwidgets user
28 -
29 -MY_P=${PN/m/M}-${PV}
30 -S="${WORKDIR}"/${MY_P}
31 -
32 -DESCRIPTION="aMule, the all-platform eMule p2p client"
33 -HOMEPAGE="http://www.amule.org/"
34 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
39 -IUSE="daemon debug geoip nls remote stats unicode upnp +X"
40 -
41 -DEPEND=">=dev-libs/crypto++-5
42 - sys-libs/binutils-libs:0=
43 - >=sys-libs/zlib-1.2.1
44 - >=x11-libs/wxGTK-2.8.12:2.8[X?]
45 - stats? ( >=media-libs/gd-2.0.26:=[jpeg] )
46 - geoip? ( dev-libs/geoip )
47 - upnp? ( >=net-libs/libupnp-1.6.6 )
48 - remote? ( >=media-libs/libpng-1.2.0:0=
49 - unicode? ( >=media-libs/gd-2.0.26:= ) )
50 - !net-p2p/imule"
51 -RDEPEND="${DEPEND}"
52 -
53 -pkg_setup() {
54 - if use stats && ! use X; then
55 - einfo "Note: You would need both the X and stats USE flags"
56 - einfo "to compile aMule Statistics GUI."
57 - einfo "I will now compile console versions only."
58 - fi
59 -}
60 -
61 -pkg_preinst() {
62 - if use daemon || use remote; then
63 - enewgroup p2p
64 - enewuser p2p -1 -1 /home/p2p p2p
65 - fi
66 -}
67 -
68 -src_prepare() {
69 - epatch "${FILESDIR}"/${PN}-2.2.6-fallocate.diff
70 - # Bug 412371
71 - epatch "${FILESDIR}"/${PN}-2.3.1-gcc47.patch
72 -}
73 -
74 -src_configure() {
75 - local myconf
76 -
77 - WX_GTK_VER="2.8"
78 -
79 - if use X; then
80 - einfo "wxGTK with X support will be used"
81 - need-wxwidgets unicode
82 - else
83 - einfo "wxGTK without X support will be used"
84 - need-wxwidgets base-unicode
85 - fi
86 -
87 - if use X ; then
88 - use stats && myconf="${myconf}
89 - --enable-wxcas
90 - --enable-alc"
91 - use remote && myconf="${myconf}
92 - --enable-amule-gui"
93 - else
94 - myconf="
95 - --disable-monolithic
96 - --disable-amule-gui
97 - --disable-wxcas
98 - --disable-alc"
99 - fi
100 -
101 - econf \
102 - --with-denoise-level=0 \
103 - --with-wx-config="${WX_CONFIG}" \
104 - --enable-amulecmd \
105 - $(use_enable debug) \
106 - $(use_enable daemon amule-daemon) \
107 - $(use_enable geoip) \
108 - $(use_enable nls) \
109 - $(use_enable remote webserver) \
110 - $(use_enable stats cas) \
111 - $(use_enable stats alcc) \
112 - $(use_enable upnp) \
113 - ${myconf}
114 -}
115 -
116 -src_install() {
117 - default
118 -
119 - if use daemon; then
120 - newconfd "${FILESDIR}"/amuled.confd amuled
121 - newinitd "${FILESDIR}"/amuled.initd amuled
122 - fi
123 - if use remote; then
124 - newconfd "${FILESDIR}"/amuleweb.confd amuleweb
125 - newinitd "${FILESDIR}"/amuleweb.initd amuleweb
126 - fi
127 -}