1 |
commit: 2336b104e4ffb19e22352f9fa35c5f31ad0625b2 |
2 |
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me> |
3 |
AuthorDate: Wed Apr 29 17:05:13 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 30 11:59:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2336b104 |
7 |
|
8 |
net-p2p/amule: Remove old |
9 |
|
10 |
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/15567 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
net-p2p/amule/amule-2.3.2-r4.ebuild | 127 ------------------------------------ |
15 |
1 file changed, 127 deletions(-) |
16 |
|
17 |
diff --git a/net-p2p/amule/amule-2.3.2-r4.ebuild b/net-p2p/amule/amule-2.3.2-r4.ebuild |
18 |
deleted file mode 100644 |
19 |
index eee88909130..00000000000 |
20 |
--- a/net-p2p/amule/amule-2.3.2-r4.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,127 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
-WX_GTK_VER="3.0-gtk3" |
28 |
- |
29 |
-inherit wxwidgets |
30 |
- |
31 |
-MY_P="${PN/m/M}-${PV}" |
32 |
- |
33 |
-DESCRIPTION="aMule, the all-platform eMule p2p client" |
34 |
-HOMEPAGE="http://www.amule.org/" |
35 |
-SRC_URI="https://download.sourceforge.net/${PN}/${MY_P}.tar.xz" |
36 |
-S="${WORKDIR}/${MY_P}" |
37 |
- |
38 |
-LICENSE="GPL-2+" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
41 |
-IUSE="daemon debug geoip nls remote stats upnp +X" |
42 |
- |
43 |
-RDEPEND=" |
44 |
- dev-libs/boost:= |
45 |
- dev-libs/crypto++:= |
46 |
- sys-libs/binutils-libs:0= |
47 |
- sys-libs/zlib |
48 |
- >=x11-libs/wxGTK-3.0.4:${WX_GTK_VER}[X?] |
49 |
- daemon? ( acct-user/amule ) |
50 |
- geoip? ( dev-libs/geoip ) |
51 |
- remote? ( |
52 |
- acct-user/amule |
53 |
- media-libs/libpng:0= |
54 |
- ) |
55 |
- stats? ( media-libs/gd:=[jpeg,png] ) |
56 |
- upnp? ( net-libs/libupnp:0 ) |
57 |
-" |
58 |
-DEPEND="${RDEPEND}" |
59 |
-BDEPEND="virtual/pkgconfig" |
60 |
- |
61 |
-PATCHES=( |
62 |
- "${FILESDIR}/${PN}-2.3.2-fix-crash-shared-dir-utf8.patch" |
63 |
- "${FILESDIR}/${PN}-2.3.2-fix-crash-closing-last-search-tab-1.patch" |
64 |
- "${FILESDIR}/${PN}-2.3.2-fix-crash-closing-last-search-tab-2.patch" |
65 |
- "${FILESDIR}/${PN}-2.3.2-cryptopp-6.patch" |
66 |
- "${FILESDIR}/${PN}-2.3.2-disable-version-check.patch" |
67 |
- "${FILESDIR}/${PN}-2.3.2-fix-crash-when-shared-files-changed.patch" |
68 |
- "${FILESDIR}/${PN}-2.3.2-libupnp-1.8.patch" |
69 |
- "${FILESDIR}/${PN}-2.3.2-libupnp-1.6.patch" |
70 |
- "${FILESDIR}/${PN}-2.3.2-Fixed-compilation-with-newer-bfd.patch" |
71 |
-) |
72 |
- |
73 |
-pkg_setup() { |
74 |
- setup-wxwidgets |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- local myconf=( |
79 |
- --with-denoise-level=0 |
80 |
- --with-wx-config="${WX_CONFIG}" |
81 |
- --enable-amulecmd |
82 |
- --with-boost |
83 |
- $(use_enable debug) |
84 |
- $(use_enable daemon amule-daemon) |
85 |
- $(use_enable geoip) |
86 |
- $(use_enable nls) |
87 |
- $(use_enable remote webserver) |
88 |
- $(use_enable stats cas) |
89 |
- $(use_enable stats alcc) |
90 |
- $(use_enable upnp) |
91 |
- ) |
92 |
- |
93 |
- if use X; then |
94 |
- myconf+=( |
95 |
- $(use_enable remote amule-gui) |
96 |
- $(use_enable stats alc) |
97 |
- $(use_enable stats wxcas) |
98 |
- ) |
99 |
- else |
100 |
- myconf+=( |
101 |
- --disable-monolithic |
102 |
- --disable-amule-gui |
103 |
- --disable-alc |
104 |
- --disable-wxcas |
105 |
- ) |
106 |
- fi |
107 |
- |
108 |
- econf "${myconf[@]}" |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- default |
113 |
- |
114 |
- if use daemon; then |
115 |
- newconfd "${FILESDIR}"/amuled.confd-r1 amuled |
116 |
- newinitd "${FILESDIR}"/amuled.initd amuled |
117 |
- fi |
118 |
- if use remote; then |
119 |
- newconfd "${FILESDIR}"/amuleweb.confd-r1 amuleweb |
120 |
- newinitd "${FILESDIR}"/amuleweb.initd amuleweb |
121 |
- fi |
122 |
- |
123 |
- if use daemon || use remote; then |
124 |
- keepdir /var/lib/${PN} |
125 |
- fowners amule:amule /var/lib/${PN} |
126 |
- fperms 0750 /var/lib/${PN} |
127 |
- fi |
128 |
-} |
129 |
- |
130 |
-pkg_postinst() { |
131 |
- local ver |
132 |
- |
133 |
- if use daemon || use remote; then |
134 |
- for ver in ${REPLACING_VERSIONS}; do |
135 |
- if ver_test ${ver} -lt "2.3.2-r4"; then |
136 |
- elog "Default user under which amuled and amuleweb daemons are started" |
137 |
- elog "have been changed from p2p to amule. Default home directory have been" |
138 |
- elog "changed as well." |
139 |
- echo |
140 |
- elog "If you want to preserve old download/share location, you can create" |
141 |
- elog "symlink /var/lib/amule/.aMule pointing to the old location and adjust" |
142 |
- elog "files ownership *or* restore AMULEUSER and AMULEHOME variables in" |
143 |
- elog "/etc/conf.d/{amuled,amuleweb} to the old values." |
144 |
- |
145 |
- break |
146 |
- fi |
147 |
- done |
148 |
- fi |
149 |
-} |