1 |
commit: ddb2bae70d47499b0960883315059b2324d11314 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 1 21:25:34 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 1 21:25:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb2bae7 |
7 |
|
8 |
media-sound/xmms2: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
media-sound/xmms2/Manifest | 1 - |
13 |
media-sound/xmms2/xmms2-0.8-r4.ebuild | 296 ----------------------- |
14 |
media-sound/xmms2/xmms2-0.8_p20161122-r1.ebuild | 297 ------------------------ |
15 |
media-sound/xmms2/xmms2-0.8_p20161122-r2.ebuild | 297 ------------------------ |
16 |
4 files changed, 891 deletions(-) |
17 |
|
18 |
diff --git a/media-sound/xmms2/Manifest b/media-sound/xmms2/Manifest |
19 |
index d0ac56792b4..3cd5c987f31 100644 |
20 |
--- a/media-sound/xmms2/Manifest |
21 |
+++ b/media-sound/xmms2/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST xmms2-0.8DrO_o-949-gca15e830.tar.bz2 1928653 BLAKE2B f34abf0c68f4574593eb706744cc4354bc9b679d005bcaf4a9f03ef90fcb14935428c73d3d74565c41a70efcfa6541af15a455d091b6d17e7ca613229c1c1390 SHA512 affd7fdd259cdb952e972b62f24ab8eb6afd2c87786254a7ae81adffdcfe1454dcf2fb95811a8b90db74dba84918526fd8c920e11582b36aa48725f293c73edb |
24 |
-DIST xmms2-0.8DrO_o.tar.bz2 1670726 BLAKE2B e226f197b09ebc205fa274d6a0024190e222314bc0df2c6cf443061b3961ca622bd0a1834dfee5c128aa2b003d4e703b5c4976ddc038d84d7f05c3e052060b0b SHA512 478103d80264c0cb32912e828f74d0f5b2f10fe310f530a87ebecda7ca547a69e238cd572788f90bda29494494160d459fa6d1356b4fb87c7a8f0bf02e3b75f8 |
25 |
|
26 |
diff --git a/media-sound/xmms2/xmms2-0.8-r4.ebuild b/media-sound/xmms2/xmms2-0.8-r4.ebuild |
27 |
deleted file mode 100644 |
28 |
index 907d0fb1d86..00000000000 |
29 |
--- a/media-sound/xmms2/xmms2-0.8-r4.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,296 +0,0 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-# waf fails on python3_5: AttributeError: Can't pickle local object 'Context.__init__.<locals>.node_class' |
38 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
39 |
-USE_RUBY="ruby22 ruby23" |
40 |
- |
41 |
-inherit eutils multiprocessing python-single-r1 ruby-single toolchain-funcs |
42 |
- |
43 |
-MY_P="${P}DrO_o" |
44 |
- |
45 |
-DESCRIPTION="X(cross)platform Music Multiplexing System. Next generation of the XMMS player" |
46 |
-HOMEPAGE="https://xmms2.org/wiki/Main_Page" |
47 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
48 |
-LICENSE="GPL-2 LGPL-2.1" |
49 |
- |
50 |
-SLOT="0" |
51 |
-KEYWORDS="alpha amd64 ppc x86" |
52 |
- |
53 |
-IUSE="aac airplay +alsa ao asf cdda curl cxx ffmpeg flac gvfs ices |
54 |
-jack mac mlib-update mms +mad modplug mp3 mp4 musepack ofa oss |
55 |
-perl phonehome pulseaudio python ruby samba +server sid sndfile speex |
56 |
-test valgrind +vorbis vocoder wavpack xml zeroconf" |
57 |
- |
58 |
-RDEPEND="server? ( |
59 |
- >=dev-db/sqlite-3.3.4 |
60 |
- |
61 |
- aac? ( >=media-libs/faad2-2.0 ) |
62 |
- airplay? ( dev-libs/openssl:0= ) |
63 |
- alsa? ( media-libs/alsa-lib ) |
64 |
- ao? ( media-libs/libao ) |
65 |
- cdda? ( dev-libs/libcdio-paranoia |
66 |
- >=media-libs/libdiscid-0.1.1 |
67 |
- >=media-sound/cdparanoia-3.9.8 ) |
68 |
- curl? ( >=net-misc/curl-7.15.1 ) |
69 |
- ffmpeg? ( virtual/ffmpeg ) |
70 |
- flac? ( media-libs/flac ) |
71 |
- gvfs? ( gnome-base/gnome-vfs ) |
72 |
- ices? ( media-libs/libogg |
73 |
- media-libs/libshout |
74 |
- media-libs/libvorbis ) |
75 |
- jack? ( >=media-sound/jack-audio-connection-kit-0.101.1 ) |
76 |
- mac? ( media-sound/mac ) |
77 |
- mms? ( virtual/ffmpeg |
78 |
- >=media-libs/libmms-0.3 ) |
79 |
- modplug? ( media-libs/libmodplug ) |
80 |
- mad? ( media-libs/libmad ) |
81 |
- mp3? ( >=media-sound/mpg123-1.5.1 ) |
82 |
- musepack? ( media-sound/musepack-tools ) |
83 |
- ofa? ( media-libs/libofa ) |
84 |
- pulseaudio? ( media-sound/pulseaudio ) |
85 |
- samba? ( >=net-fs/samba-4.2 ) |
86 |
- sid? ( media-sound/sidplay |
87 |
- media-libs/resid ) |
88 |
- sndfile? ( media-libs/libsndfile ) |
89 |
- speex? ( media-libs/speex |
90 |
- media-libs/libogg ) |
91 |
- vorbis? ( media-libs/libvorbis ) |
92 |
- vocoder? ( sci-libs/fftw:3.0= media-libs/libsamplerate ) |
93 |
- wavpack? ( media-sound/wavpack ) |
94 |
- xml? ( dev-libs/libxml2 ) |
95 |
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
96 |
- ) |
97 |
- |
98 |
- >=dev-libs/glib-2.12.9 |
99 |
- cxx? ( >=dev-libs/boost-1.32 ) |
100 |
- perl? ( >=dev-lang/perl-5.8.8 ) |
101 |
- python? ( ${PYTHON_DEPS} ) |
102 |
- ruby? ( ${RUBY_DEPS} ) |
103 |
-" |
104 |
- |
105 |
-DEPEND="${RDEPEND} |
106 |
- dev-lang/python |
107 |
- virtual/pkgconfig |
108 |
- perl? ( dev-perl/Module-Build |
109 |
- virtual/perl-Module-Metadata ) |
110 |
- python? ( >=dev-python/cython-0.15.1 |
111 |
- dev-python/pyrex ) |
112 |
- test? ( dev-util/cunit |
113 |
- valgrind? ( dev-util/valgrind ) ) |
114 |
-" |
115 |
- |
116 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
117 |
- |
118 |
-S="${WORKDIR}/${MY_P}" |
119 |
- |
120 |
-pkg_setup() { |
121 |
- # used both for building xmms2 and |
122 |
- # optionally linking client library |
123 |
- # against python |
124 |
- python-single-r1_pkg_setup |
125 |
-} |
126 |
- |
127 |
-# use_enable() is taken as proto |
128 |
-# $1 - useflag |
129 |
-# $2 - xmms2 option/plugin name (equals to $1 if not set) |
130 |
- |
131 |
-xmms2_flag() { |
132 |
- [[ -z $1 ]] && eerror "!!! empty arg. usage: xmms2_flag <USEFLAG> [<xmms2_flagname>]." |
133 |
- |
134 |
- local UWORD=${2:-$1} |
135 |
- |
136 |
- case $1 in |
137 |
- ENABLED) |
138 |
- echo ",${UWORD}" |
139 |
- ;; |
140 |
- DISABLED) |
141 |
- ;; |
142 |
- *) |
143 |
- use $1 && echo ",${UWORD}" |
144 |
- ;; |
145 |
- esac |
146 |
-} |
147 |
- |
148 |
-src_prepare() { |
149 |
- ./waf # inflate waf |
150 |
- cd .waf* || die |
151 |
- epatch "${FILESDIR}/${PN}"-0.8DrO_o-waflib-fix-perl.patch #578778 |
152 |
- cd "${S}" |
153 |
- epatch "${FILESDIR}/${P}"-ffmpeg-0.11.patch #443256 |
154 |
- epatch "${FILESDIR}/${P}"-libav-9-p2.patch #443256 |
155 |
- epatch "${FILESDIR}/${P}"-libav-9.patch #443256 |
156 |
- epatch "${FILESDIR}/${P}"-cython-0.19.1.patch |
157 |
- epatch "${FILESDIR}/${P}"-memset.patch |
158 |
- epatch "${FILESDIR}/${P}"-ffmpeg2.patch #536232 |
159 |
- epatch "${FILESDIR}/${P}"-cpython.patch |
160 |
- epatch "${FILESDIR}/${P}"-modpug.patch #536046 |
161 |
- epatch "${FILESDIR}/${P}"-audio4-p1.patch #540890 |
162 |
- epatch "${FILESDIR}/${P}"-audio4-p2.patch |
163 |
- epatch "${FILESDIR}/${P}"-audio4-p3.patch |
164 |
- epatch "${FILESDIR}/${P}"-audio4-p4.patch |
165 |
- epatch "${FILESDIR}/${P}"-audio4-p5.patch |
166 |
- epatch "${FILESDIR}/${P}"-audio4-p6.patch |
167 |
- epatch "${FILESDIR}/${P}"-audio4-p7.patch |
168 |
- epatch "${FILESDIR}/${P}"-rtvg.patch #424377 |
169 |
- epatch "${FILESDIR}/${P}"-samba-4.patch |
170 |
- |
171 |
- if has_version dev-libs/libcdio-paranoia; then |
172 |
- sed -i -e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' src/plugins/cdda/cdda.c || die |
173 |
- fi |
174 |
- epatch_user |
175 |
-} |
176 |
- |
177 |
-src_configure() { |
178 |
- # ./configure alike options. |
179 |
- local waf_params="--prefix=/usr \ |
180 |
- --libdir=/usr/$(get_libdir) \ |
181 |
- --with-target-platform=${CHOST} \ |
182 |
- --mandir=/usr/share/man \ |
183 |
- --infodir=/usr/share/info \ |
184 |
- --datadir=/usr/share \ |
185 |
- --sysconfdir=/etc \ |
186 |
- --localstatedir=/var/lib" |
187 |
- |
188 |
- local optionals="" |
189 |
- local plugins="" |
190 |
- if ! use server ; then |
191 |
- waf_params+=" --without-xmms2d" |
192 |
- else |
193 |
- # some fun static mappings: |
194 |
- local option_map=( # USE # sorted xmms2 option flag (same, as USE if empty) |
195 |
- "phonehome et" |
196 |
- "ENABLED launcher" |
197 |
- "mlib-update medialib-updater" |
198 |
- "ENABLED nycli" |
199 |
- " perl" |
200 |
- "ENABLED pixmaps" |
201 |
- " python" |
202 |
- " ruby" |
203 |
- "DISABLED tests" |
204 |
- "DISABLED vistest" |
205 |
- "cxx xmmsclient++" |
206 |
- "cxx xmmsclient++-glib" |
207 |
- "DISABLED xmmsclient-cf" |
208 |
- "DISABLED xmmsclient-ecore" # not in tree |
209 |
- |
210 |
- "test tests" |
211 |
- ) |
212 |
- |
213 |
- local plugin_map=( # USE # sorted xmms2 plugin flag (same, as USE if empty) |
214 |
- " alsa" |
215 |
- " airplay" |
216 |
- " ao" |
217 |
- "ffmpeg apefile" |
218 |
- "ffmpeg avcodec" |
219 |
- " asf" |
220 |
- "ENABLED asx" |
221 |
- " cdda" |
222 |
- "DISABLED coreaudio" # MacOS only? |
223 |
- " curl" |
224 |
- "ENABLED cue" |
225 |
- "zeroconf daap" |
226 |
- "ENABLED diskwrite" |
227 |
- "ENABLED equalizer" |
228 |
- "aac faad" |
229 |
- "ENABLED file" |
230 |
- " flac" |
231 |
- "ffmpeg flv" |
232 |
- "ffmpeg tta" |
233 |
- "DISABLED gme" # not in tree |
234 |
- " gvfs" |
235 |
- "ENABLED html" |
236 |
- " ices" |
237 |
- "ENABLED icymetaint" |
238 |
- "ENABLED id3v2" |
239 |
- " jack" |
240 |
- "ENABLED karaoke" |
241 |
- "ENABLED m3u" |
242 |
- " mac" |
243 |
- " mms" |
244 |
- " mad" |
245 |
- " mp4" # bug #387961 (aac, mp3, ape can sit there) |
246 |
- "mp3 mpg123" |
247 |
- " modplug" |
248 |
- " musepack" |
249 |
- "DISABLED nms" # not in tree |
250 |
- "ENABLED normalize" |
251 |
- "ENABLED null" |
252 |
- "ENABLED nulstripper" |
253 |
- " ofa" |
254 |
- " oss" |
255 |
- "ENABLED pls" |
256 |
- "pulseaudio pulse" |
257 |
- "ENABLED replaygain" |
258 |
- "xml rss" |
259 |
- " samba" |
260 |
- "DISABLED sc68" #not in tree |
261 |
- " sid" |
262 |
- " sndfile" |
263 |
- " speex" |
264 |
- "DISABLED sun" # {Open,Net}BSD only |
265 |
- "DISABLED tremor" # not in tree |
266 |
- " vorbis" |
267 |
- " vocoder" |
268 |
- "ffmpeg tta" |
269 |
- "ENABLED wave" |
270 |
- "DISABLED waveout" # windows only |
271 |
- " wavpack" |
272 |
- "xml xspf" |
273 |
- "ENABLED xml" |
274 |
- ) |
275 |
- |
276 |
- local option |
277 |
- for option in "${option_map[@]}"; do |
278 |
- optionals+=$(xmms2_flag $option) |
279 |
- done |
280 |
- |
281 |
- local plugin |
282 |
- for plugin in "${plugin_map[@]}"; do |
283 |
- plugins+=$(xmms2_flag $plugin) |
284 |
- done |
285 |
- fi # ! server |
286 |
- |
287 |
- # pass them explicitely even if empty as we try to avoid magic deps |
288 |
- waf_params+=" --with-optionals=${optionals:1}" # skip first ',' if yet |
289 |
- waf_params+=" --with-plugins=${plugins:1}" |
290 |
- waf_params+=" $(use_with valgrind)" |
291 |
- |
292 |
- CC="$(tc-getCC)" \ |
293 |
- CPP="$(tc-getCPP)" \ |
294 |
- AR="$(tc-getAR)" \ |
295 |
- RANLIB="$(tc-getRANLIB)" \ |
296 |
- CXX="$(tc-getCXX)" \ |
297 |
- ./waf configure ${waf_params} || die "'waf configure' failed" |
298 |
-} |
299 |
- |
300 |
-src_compile() { |
301 |
- # waf is very keen to run tests in build phase (bug #424377) but |
302 |
- # it does not bother running tests twice, so the hack below works: |
303 |
- ./waf --verbose build || ./waf --verbose build || die "waf build failed" |
304 |
-} |
305 |
- |
306 |
-src_test() { |
307 |
- # rerun tests |
308 |
- ./waf --alltests || die "waf --alltests failed" |
309 |
-} |
310 |
- |
311 |
-src_install() { |
312 |
- ./waf --without-ldconfig --destdir="${D}" install || die "'waf install' failed" |
313 |
- dodoc AUTHORS TODO |
314 |
-} |
315 |
- |
316 |
-pkg_postinst() { |
317 |
- elog "This version is built on experimental development code" |
318 |
- elog "If you encounter any errors report them at https://bugs.xmms2.org" |
319 |
- elog "and visit #xmms2 at irc://irc.freenode.net" |
320 |
- if use phonehome ; then |
321 |
- einfo "" |
322 |
- einfo "The phone-home client xmms2-et was activated" |
323 |
- einfo "This client sends anonymous usage-statistics to the xmms2" |
324 |
- einfo "developers which may help finding bugs" |
325 |
- einfo "Disable the phonehome useflag if you don't like that" |
326 |
- fi |
327 |
-} |
328 |
|
329 |
diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r1.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r1.ebuild |
330 |
deleted file mode 100644 |
331 |
index fc89616d993..00000000000 |
332 |
--- a/media-sound/xmms2/xmms2-0.8_p20161122-r1.ebuild |
333 |
+++ /dev/null |
334 |
@@ -1,297 +0,0 @@ |
335 |
-# Copyright 1999-2018 Gentoo Foundation |
336 |
-# Distributed under the terms of the GNU General Public License v2 |
337 |
- |
338 |
-EAPI=6 |
339 |
- |
340 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
341 |
-USE_RUBY="ruby22 ruby23" |
342 |
- |
343 |
-inherit eutils multiprocessing python-single-r1 ruby-single toolchain-funcs |
344 |
- |
345 |
-# generated as 'python2 ./utils/gen-tarball.py' from clean git tree |
346 |
-MY_P="${P%_p*}DrO_o-949-gca15e830" |
347 |
- |
348 |
-DESCRIPTION="X(cross)platform Music Multiplexing System. Next generation of the XMMS player" |
349 |
-HOMEPAGE="https://xmms2.org/wiki/Main_Page" |
350 |
-#SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
351 |
-SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${MY_P}.tar.bz2" |
352 |
-LICENSE="GPL-2 LGPL-2.1" |
353 |
- |
354 |
-SLOT="0" |
355 |
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86" |
356 |
- |
357 |
-IUSE="aac airplay +alsa ao asf cdda curl cxx ffmpeg flac fluidsynth gvfs ices |
358 |
-jack mac mlib-update mms +mad modplug mp3 mp4 musepack ofa opus oss |
359 |
-perl phonehome pulseaudio python ruby samba +server sid sndfile speex |
360 |
-test valgrind +vorbis vocoder wavpack xml zeroconf" |
361 |
- |
362 |
-RDEPEND="server? ( |
363 |
- >=dev-db/sqlite-3.3.4 |
364 |
- |
365 |
- aac? ( >=media-libs/faad2-2.0 ) |
366 |
- airplay? ( dev-libs/openssl:0= ) |
367 |
- alsa? ( media-libs/alsa-lib ) |
368 |
- ao? ( media-libs/libao ) |
369 |
- cdda? ( dev-libs/libcdio-paranoia |
370 |
- >=media-libs/libdiscid-0.1.1 |
371 |
- >=media-sound/cdparanoia-3.9.8 ) |
372 |
- curl? ( >=net-misc/curl-7.15.1 ) |
373 |
- ffmpeg? ( virtual/ffmpeg ) |
374 |
- flac? ( media-libs/flac ) |
375 |
- fluidsynth? ( media-sound/fluidsynth ) |
376 |
- gvfs? ( gnome-base/gnome-vfs ) |
377 |
- ices? ( media-libs/libogg |
378 |
- media-libs/libshout |
379 |
- media-libs/libvorbis ) |
380 |
- jack? ( >=media-sound/jack-audio-connection-kit-0.101.1 ) |
381 |
- mac? ( media-sound/mac ) |
382 |
- mms? ( virtual/ffmpeg |
383 |
- >=media-libs/libmms-0.3 ) |
384 |
- modplug? ( media-libs/libmodplug ) |
385 |
- mad? ( media-libs/libmad ) |
386 |
- mp3? ( >=media-sound/mpg123-1.5.1 ) |
387 |
- musepack? ( media-sound/musepack-tools ) |
388 |
- ofa? ( media-libs/libofa ) |
389 |
- opus? ( media-libs/opus |
390 |
- media-libs/opusfile ) |
391 |
- pulseaudio? ( media-sound/pulseaudio ) |
392 |
- samba? ( >=net-fs/samba-4.2 ) |
393 |
- sid? ( media-sound/sidplay |
394 |
- media-libs/resid ) |
395 |
- sndfile? ( media-libs/libsndfile ) |
396 |
- speex? ( media-libs/speex |
397 |
- media-libs/libogg ) |
398 |
- vorbis? ( media-libs/libvorbis ) |
399 |
- vocoder? ( sci-libs/fftw:3.0= media-libs/libsamplerate ) |
400 |
- wavpack? ( media-sound/wavpack ) |
401 |
- xml? ( dev-libs/libxml2 ) |
402 |
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
403 |
- ) |
404 |
- |
405 |
- >=dev-libs/glib-2.12.9 |
406 |
- cxx? ( >=dev-libs/boost-1.32 ) |
407 |
- perl? ( >=dev-lang/perl-5.8.8 ) |
408 |
- python? ( ${PYTHON_DEPS} ) |
409 |
- ruby? ( ${RUBY_DEPS} ) |
410 |
-" |
411 |
- |
412 |
-DEPEND="${RDEPEND} |
413 |
- dev-lang/python |
414 |
- virtual/pkgconfig |
415 |
- perl? ( dev-perl/Module-Build |
416 |
- virtual/perl-Module-Metadata ) |
417 |
- python? ( >=dev-python/cython-0.15.1 |
418 |
- dev-python/pyrex ) |
419 |
- test? ( dev-util/cunit |
420 |
- valgrind? ( dev-util/valgrind ) ) |
421 |
-" |
422 |
- |
423 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
424 |
- |
425 |
-S="${WORKDIR}/${MY_P}" |
426 |
- |
427 |
-pkg_setup() { |
428 |
- # used both for building xmms2 and |
429 |
- # optionally linking client library |
430 |
- # against python |
431 |
- python-single-r1_pkg_setup |
432 |
-} |
433 |
- |
434 |
-# use_enable() is taken as proto |
435 |
-# $1 - useflag |
436 |
-# $2 - xmms2 option/plugin name (equals to $1 if not set) |
437 |
- |
438 |
-xmms2_flag() { |
439 |
- [[ -z $1 ]] && eerror "!!! empty arg. usage: xmms2_flag <USEFLAG> [<xmms2_flagname>]." |
440 |
- |
441 |
- local UWORD=${2:-$1} |
442 |
- |
443 |
- case $1 in |
444 |
- ENABLED) |
445 |
- echo ",${UWORD}" |
446 |
- ;; |
447 |
- DISABLED) |
448 |
- ;; |
449 |
- *) |
450 |
- use $1 && echo ",${UWORD}" |
451 |
- ;; |
452 |
- esac |
453 |
-} |
454 |
- |
455 |
-src_prepare() { |
456 |
- ./waf # inflate waf |
457 |
- cd .waf* || die |
458 |
- # needs port |
459 |
- #epatch "${FILESDIR}/${PN}"-0.8DrO_o-waflib-fix-perl.patch #578778 |
460 |
- cd "${S}" |
461 |
- |
462 |
- eapply "${FILESDIR}/${PN}"-0.8-ffmpeg2.patch #536232 |
463 |
- |
464 |
- eapply "${FILESDIR}/${PN}"-0.8-rtvg.patch #424377 |
465 |
- |
466 |
- # required to build tarball from git tree |
467 |
- eapply "${FILESDIR}/${P}"-tarball.patch |
468 |
- |
469 |
- # fix hash to be the same on LE/BE platforms |
470 |
- eapply "${FILESDIR}/${P}"-be-hash.patch |
471 |
- |
472 |
- # handle mac-3 -> -4 API change |
473 |
- eapply "${FILESDIR}/${P}"-mac-4.patch |
474 |
- |
475 |
- eapply_user |
476 |
-} |
477 |
- |
478 |
-src_configure() { |
479 |
- # ./configure alike options. |
480 |
- local waf_params="--prefix=/usr \ |
481 |
- --libdir=/usr/$(get_libdir) \ |
482 |
- --with-target-platform=${CHOST} \ |
483 |
- --mandir=/usr/share/man \ |
484 |
- --infodir=/usr/share/info \ |
485 |
- --datadir=/usr/share \ |
486 |
- --sysconfdir=/etc \ |
487 |
- --localstatedir=/var/lib" |
488 |
- |
489 |
- local optionals="" |
490 |
- local plugins="" |
491 |
- if ! use server ; then |
492 |
- waf_params+=" --without-xmms2d" |
493 |
- else |
494 |
- # some fun static mappings: |
495 |
- local option_map=( # USE # sorted xmms2 option flag (same, as USE if empty) |
496 |
- "phonehome et" |
497 |
- "ENABLED launcher" |
498 |
- "mlib-update medialib-updater" |
499 |
- "ENABLED nycli" |
500 |
- " perl" |
501 |
- "ENABLED pixmaps" |
502 |
- " python" |
503 |
- " ruby" |
504 |
- "DISABLED tests" |
505 |
- "DISABLED vistest" |
506 |
- "cxx xmmsclient++" |
507 |
- "cxx xmmsclient++-glib" |
508 |
- "DISABLED xmmsclient-cf" |
509 |
- "DISABLED xmmsclient-ecore" # not in tree |
510 |
- |
511 |
- "test tests" |
512 |
- ) |
513 |
- |
514 |
- local plugin_map=( # USE # sorted xmms2 plugin flag (same, as USE if empty) |
515 |
- " alsa" |
516 |
- " airplay" |
517 |
- " ao" |
518 |
- "ffmpeg apefile" |
519 |
- "ffmpeg avcodec" |
520 |
- " asf" |
521 |
- "ENABLED asx" |
522 |
- " cdda" |
523 |
- "DISABLED coreaudio" # MacOS only? |
524 |
- " curl" |
525 |
- "ENABLED cue" |
526 |
- "zeroconf daap" |
527 |
- "ENABLED diskwrite" |
528 |
- "ENABLED equalizer" |
529 |
- "aac faad" |
530 |
- "ENABLED file" |
531 |
- " flac" |
532 |
- " fluidsynth" |
533 |
- "ffmpeg flv" |
534 |
- "ffmpeg tta" |
535 |
- "DISABLED gme" # not in tree |
536 |
- " gvfs" |
537 |
- "ENABLED html" |
538 |
- " ices" |
539 |
- "ENABLED icymetaint" |
540 |
- "ENABLED id3v2" |
541 |
- " jack" |
542 |
- "ENABLED karaoke" |
543 |
- "ENABLED m3u" |
544 |
- " mac" |
545 |
- " mms" |
546 |
- " mad" |
547 |
- "ENABLED midsquash" |
548 |
- " mp4" # bug #387961 (aac, mp3, ape can sit there) |
549 |
- "mp3 mpg123" |
550 |
- " modplug" |
551 |
- " musepack" |
552 |
- "DISABLED nms" # not in tree |
553 |
- "ENABLED normalize" |
554 |
- "ENABLED null" |
555 |
- "ENABLED nulstripper" |
556 |
- " ofa" |
557 |
- " opus" |
558 |
- " oss" |
559 |
- "ENABLED pls" |
560 |
- "pulseaudio pulse" |
561 |
- "ENABLED replaygain" |
562 |
- "xml rss" |
563 |
- " samba" |
564 |
- "DISABLED sc68" #not in tree |
565 |
- " sid" |
566 |
- " sndfile" |
567 |
- " speex" |
568 |
- "DISABLED sun" # {Open,Net}BSD only |
569 |
- "DISABLED tremor" # not in tree |
570 |
- " vorbis" |
571 |
- " vocoder" |
572 |
- "ffmpeg tta" |
573 |
- "ENABLED wave" |
574 |
- "DISABLED waveout" # windows only |
575 |
- " wavpack" |
576 |
- "xml xspf" |
577 |
- "ENABLED xml" |
578 |
- ) |
579 |
- |
580 |
- local option |
581 |
- for option in "${option_map[@]}"; do |
582 |
- optionals+=$(xmms2_flag $option) |
583 |
- done |
584 |
- |
585 |
- local plugin |
586 |
- for plugin in "${plugin_map[@]}"; do |
587 |
- plugins+=$(xmms2_flag $plugin) |
588 |
- done |
589 |
- fi # ! server |
590 |
- |
591 |
- # pass them explicitely even if empty as we try to avoid magic deps |
592 |
- waf_params+=" --with-optionals=${optionals:1}" # skip first ',' if yet |
593 |
- waf_params+=" --with-plugins=${plugins:1}" |
594 |
- waf_params+=" $(use_with valgrind)" |
595 |
- |
596 |
- CC="$(tc-getCC)" \ |
597 |
- CPP="$(tc-getCPP)" \ |
598 |
- AR="$(tc-getAR)" \ |
599 |
- RANLIB="$(tc-getRANLIB)" \ |
600 |
- CXX="$(tc-getCXX)" \ |
601 |
- ./waf configure ${waf_params} || die "'waf configure' failed" |
602 |
-} |
603 |
- |
604 |
-src_compile() { |
605 |
- # waf is very keen to run tests in build phase (bug #424377) but |
606 |
- # it does not bother running tests twice, so the hack below works: |
607 |
- ./waf --verbose build || ./waf --verbose build || die "waf build failed" |
608 |
-} |
609 |
- |
610 |
-src_test() { |
611 |
- # rerun tests |
612 |
- ./waf --alltests || die "waf --alltests failed" |
613 |
-} |
614 |
- |
615 |
-src_install() { |
616 |
- ./waf --without-ldconfig --destdir="${D}" install || die "'waf install' failed" |
617 |
- dodoc AUTHORS TODO |
618 |
-} |
619 |
- |
620 |
-pkg_postinst() { |
621 |
- elog "This version is built on experimental development code" |
622 |
- elog "If you encounter any errors report them at https://bugs.xmms2.org" |
623 |
- elog "and visit #xmms2 at irc://irc.freenode.net" |
624 |
- if use phonehome ; then |
625 |
- einfo "" |
626 |
- einfo "The phone-home client xmms2-et was activated" |
627 |
- einfo "This client sends anonymous usage-statistics to the xmms2" |
628 |
- einfo "developers which may help finding bugs" |
629 |
- einfo "Disable the phonehome useflag if you don't like that" |
630 |
- fi |
631 |
-} |
632 |
|
633 |
diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r2.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r2.ebuild |
634 |
deleted file mode 100644 |
635 |
index 88646ec634e..00000000000 |
636 |
--- a/media-sound/xmms2/xmms2-0.8_p20161122-r2.ebuild |
637 |
+++ /dev/null |
638 |
@@ -1,297 +0,0 @@ |
639 |
-# Copyright 1999-2018 Gentoo Foundation |
640 |
-# Distributed under the terms of the GNU General Public License v2 |
641 |
- |
642 |
-EAPI=6 |
643 |
- |
644 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
645 |
-USE_RUBY="ruby22 ruby23" |
646 |
- |
647 |
-inherit eutils multiprocessing python-single-r1 ruby-single toolchain-funcs |
648 |
- |
649 |
-# generated as 'python2 ./utils/gen-tarball.py' from clean git tree |
650 |
-MY_P="${P%_p*}DrO_o-949-gca15e830" |
651 |
- |
652 |
-DESCRIPTION="X(cross)platform Music Multiplexing System. Next generation of the XMMS player" |
653 |
-HOMEPAGE="https://xmms2.org/wiki/Main_Page" |
654 |
-#SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
655 |
-SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${MY_P}.tar.bz2" |
656 |
-LICENSE="GPL-2 LGPL-2.1" |
657 |
- |
658 |
-SLOT="0" |
659 |
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86" |
660 |
- |
661 |
-IUSE="aac airplay +alsa ao asf cdda curl cxx ffmpeg flac fluidsynth gvfs ices |
662 |
-jack mac mlib-update mms +mad modplug mp3 mp4 musepack ofa opus oss |
663 |
-perl phonehome pulseaudio python ruby samba +server sid sndfile speex |
664 |
-test valgrind +vorbis vocoder wavpack xml zeroconf" |
665 |
- |
666 |
-RDEPEND="server? ( |
667 |
- >=dev-db/sqlite-3.3.4 |
668 |
- |
669 |
- aac? ( >=media-libs/faad2-2.0 ) |
670 |
- airplay? ( dev-libs/openssl:0= ) |
671 |
- alsa? ( media-libs/alsa-lib ) |
672 |
- ao? ( media-libs/libao ) |
673 |
- cdda? ( dev-libs/libcdio-paranoia |
674 |
- >=media-libs/libdiscid-0.1.1 |
675 |
- >=media-sound/cdparanoia-3.9.8 ) |
676 |
- curl? ( >=net-misc/curl-7.15.1 ) |
677 |
- ffmpeg? ( virtual/ffmpeg ) |
678 |
- flac? ( media-libs/flac ) |
679 |
- fluidsynth? ( media-sound/fluidsynth ) |
680 |
- gvfs? ( gnome-base/gnome-vfs ) |
681 |
- ices? ( media-libs/libogg |
682 |
- media-libs/libshout |
683 |
- media-libs/libvorbis ) |
684 |
- jack? ( virtual/jack ) |
685 |
- mac? ( media-sound/mac ) |
686 |
- mms? ( virtual/ffmpeg |
687 |
- >=media-libs/libmms-0.3 ) |
688 |
- modplug? ( media-libs/libmodplug ) |
689 |
- mad? ( media-libs/libmad ) |
690 |
- mp3? ( >=media-sound/mpg123-1.5.1 ) |
691 |
- musepack? ( media-sound/musepack-tools ) |
692 |
- ofa? ( media-libs/libofa ) |
693 |
- opus? ( media-libs/opus |
694 |
- media-libs/opusfile ) |
695 |
- pulseaudio? ( media-sound/pulseaudio ) |
696 |
- samba? ( >=net-fs/samba-4.2 ) |
697 |
- sid? ( media-sound/sidplay |
698 |
- media-libs/resid ) |
699 |
- sndfile? ( media-libs/libsndfile ) |
700 |
- speex? ( media-libs/speex |
701 |
- media-libs/libogg ) |
702 |
- vorbis? ( media-libs/libvorbis ) |
703 |
- vocoder? ( sci-libs/fftw:3.0= media-libs/libsamplerate ) |
704 |
- wavpack? ( media-sound/wavpack ) |
705 |
- xml? ( dev-libs/libxml2 ) |
706 |
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
707 |
- ) |
708 |
- |
709 |
- >=dev-libs/glib-2.12.9 |
710 |
- cxx? ( >=dev-libs/boost-1.32 ) |
711 |
- perl? ( >=dev-lang/perl-5.8.8 ) |
712 |
- python? ( ${PYTHON_DEPS} ) |
713 |
- ruby? ( ${RUBY_DEPS} ) |
714 |
-" |
715 |
- |
716 |
-DEPEND="${RDEPEND} |
717 |
- dev-lang/python |
718 |
- virtual/pkgconfig |
719 |
- perl? ( dev-perl/Module-Build |
720 |
- virtual/perl-Module-Metadata ) |
721 |
- python? ( >=dev-python/cython-0.15.1 |
722 |
- dev-python/pyrex ) |
723 |
- test? ( dev-util/cunit |
724 |
- valgrind? ( dev-util/valgrind ) ) |
725 |
-" |
726 |
- |
727 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
728 |
- |
729 |
-S="${WORKDIR}/${MY_P}" |
730 |
- |
731 |
-pkg_setup() { |
732 |
- # used both for building xmms2 and |
733 |
- # optionally linking client library |
734 |
- # against python |
735 |
- python-single-r1_pkg_setup |
736 |
-} |
737 |
- |
738 |
-# use_enable() is taken as proto |
739 |
-# $1 - useflag |
740 |
-# $2 - xmms2 option/plugin name (equals to $1 if not set) |
741 |
- |
742 |
-xmms2_flag() { |
743 |
- [[ -z $1 ]] && eerror "!!! empty arg. usage: xmms2_flag <USEFLAG> [<xmms2_flagname>]." |
744 |
- |
745 |
- local UWORD=${2:-$1} |
746 |
- |
747 |
- case $1 in |
748 |
- ENABLED) |
749 |
- echo ",${UWORD}" |
750 |
- ;; |
751 |
- DISABLED) |
752 |
- ;; |
753 |
- *) |
754 |
- use $1 && echo ",${UWORD}" |
755 |
- ;; |
756 |
- esac |
757 |
-} |
758 |
- |
759 |
-src_prepare() { |
760 |
- ./waf # inflate waf |
761 |
- cd .waf* || die |
762 |
- # needs port |
763 |
- #epatch "${FILESDIR}/${PN}"-0.8DrO_o-waflib-fix-perl.patch #578778 |
764 |
- cd "${S}" |
765 |
- |
766 |
- eapply "${FILESDIR}/${PN}"-0.8-ffmpeg2.patch #536232 |
767 |
- |
768 |
- eapply "${FILESDIR}/${PN}"-0.8-rtvg.patch #424377 |
769 |
- |
770 |
- # required to build tarball from git tree |
771 |
- eapply "${FILESDIR}/${P}"-tarball.patch |
772 |
- |
773 |
- # fix hash to be the same on LE/BE platforms |
774 |
- eapply "${FILESDIR}/${P}"-be-hash.patch |
775 |
- |
776 |
- # handle mac-3 -> -4 API change |
777 |
- eapply "${FILESDIR}/${P}"-mac-4.patch |
778 |
- |
779 |
- eapply_user |
780 |
-} |
781 |
- |
782 |
-src_configure() { |
783 |
- # ./configure alike options. |
784 |
- local waf_params="--prefix=/usr \ |
785 |
- --libdir=/usr/$(get_libdir) \ |
786 |
- --with-target-platform=${CHOST} \ |
787 |
- --mandir=/usr/share/man \ |
788 |
- --infodir=/usr/share/info \ |
789 |
- --datadir=/usr/share \ |
790 |
- --sysconfdir=/etc \ |
791 |
- --localstatedir=/var/lib" |
792 |
- |
793 |
- local optionals="" |
794 |
- local plugins="" |
795 |
- if ! use server ; then |
796 |
- waf_params+=" --without-xmms2d" |
797 |
- else |
798 |
- # some fun static mappings: |
799 |
- local option_map=( # USE # sorted xmms2 option flag (same, as USE if empty) |
800 |
- "phonehome et" |
801 |
- "ENABLED launcher" |
802 |
- "mlib-update medialib-updater" |
803 |
- "ENABLED nycli" |
804 |
- " perl" |
805 |
- "ENABLED pixmaps" |
806 |
- " python" |
807 |
- " ruby" |
808 |
- "DISABLED tests" |
809 |
- "DISABLED vistest" |
810 |
- "cxx xmmsclient++" |
811 |
- "cxx xmmsclient++-glib" |
812 |
- "DISABLED xmmsclient-cf" |
813 |
- "DISABLED xmmsclient-ecore" # not in tree |
814 |
- |
815 |
- "test tests" |
816 |
- ) |
817 |
- |
818 |
- local plugin_map=( # USE # sorted xmms2 plugin flag (same, as USE if empty) |
819 |
- " alsa" |
820 |
- " airplay" |
821 |
- " ao" |
822 |
- "ffmpeg apefile" |
823 |
- "ffmpeg avcodec" |
824 |
- " asf" |
825 |
- "ENABLED asx" |
826 |
- " cdda" |
827 |
- "DISABLED coreaudio" # MacOS only? |
828 |
- " curl" |
829 |
- "ENABLED cue" |
830 |
- "zeroconf daap" |
831 |
- "ENABLED diskwrite" |
832 |
- "ENABLED equalizer" |
833 |
- "aac faad" |
834 |
- "ENABLED file" |
835 |
- " flac" |
836 |
- " fluidsynth" |
837 |
- "ffmpeg flv" |
838 |
- "ffmpeg tta" |
839 |
- "DISABLED gme" # not in tree |
840 |
- " gvfs" |
841 |
- "ENABLED html" |
842 |
- " ices" |
843 |
- "ENABLED icymetaint" |
844 |
- "ENABLED id3v2" |
845 |
- " jack" |
846 |
- "ENABLED karaoke" |
847 |
- "ENABLED m3u" |
848 |
- " mac" |
849 |
- " mms" |
850 |
- " mad" |
851 |
- "ENABLED midsquash" |
852 |
- " mp4" # bug #387961 (aac, mp3, ape can sit there) |
853 |
- "mp3 mpg123" |
854 |
- " modplug" |
855 |
- " musepack" |
856 |
- "DISABLED nms" # not in tree |
857 |
- "ENABLED normalize" |
858 |
- "ENABLED null" |
859 |
- "ENABLED nulstripper" |
860 |
- " ofa" |
861 |
- " opus" |
862 |
- " oss" |
863 |
- "ENABLED pls" |
864 |
- "pulseaudio pulse" |
865 |
- "ENABLED replaygain" |
866 |
- "xml rss" |
867 |
- " samba" |
868 |
- "DISABLED sc68" #not in tree |
869 |
- " sid" |
870 |
- " sndfile" |
871 |
- " speex" |
872 |
- "DISABLED sun" # {Open,Net}BSD only |
873 |
- "DISABLED tremor" # not in tree |
874 |
- " vorbis" |
875 |
- " vocoder" |
876 |
- "ffmpeg tta" |
877 |
- "ENABLED wave" |
878 |
- "DISABLED waveout" # windows only |
879 |
- " wavpack" |
880 |
- "xml xspf" |
881 |
- "ENABLED xml" |
882 |
- ) |
883 |
- |
884 |
- local option |
885 |
- for option in "${option_map[@]}"; do |
886 |
- optionals+=$(xmms2_flag $option) |
887 |
- done |
888 |
- |
889 |
- local plugin |
890 |
- for plugin in "${plugin_map[@]}"; do |
891 |
- plugins+=$(xmms2_flag $plugin) |
892 |
- done |
893 |
- fi # ! server |
894 |
- |
895 |
- # pass them explicitely even if empty as we try to avoid magic deps |
896 |
- waf_params+=" --with-optionals=${optionals:1}" # skip first ',' if yet |
897 |
- waf_params+=" --with-plugins=${plugins:1}" |
898 |
- waf_params+=" $(use_with valgrind)" |
899 |
- |
900 |
- CC="$(tc-getCC)" \ |
901 |
- CPP="$(tc-getCPP)" \ |
902 |
- AR="$(tc-getAR)" \ |
903 |
- RANLIB="$(tc-getRANLIB)" \ |
904 |
- CXX="$(tc-getCXX)" \ |
905 |
- ./waf configure ${waf_params} || die "'waf configure' failed" |
906 |
-} |
907 |
- |
908 |
-src_compile() { |
909 |
- # waf is very keen to run tests in build phase (bug #424377) but |
910 |
- # it does not bother running tests twice, so the hack below works: |
911 |
- ./waf --verbose build || ./waf --verbose build || die "waf build failed" |
912 |
-} |
913 |
- |
914 |
-src_test() { |
915 |
- # rerun tests |
916 |
- ./waf --alltests || die "waf --alltests failed" |
917 |
-} |
918 |
- |
919 |
-src_install() { |
920 |
- ./waf --without-ldconfig --destdir="${D}" install || die "'waf install' failed" |
921 |
- dodoc AUTHORS TODO |
922 |
-} |
923 |
- |
924 |
-pkg_postinst() { |
925 |
- elog "This version is built on experimental development code" |
926 |
- elog "If you encounter any errors report them at https://bugs.xmms2.org" |
927 |
- elog "and visit #xmms2 at irc://irc.freenode.net" |
928 |
- if use phonehome ; then |
929 |
- einfo "" |
930 |
- einfo "The phone-home client xmms2-et was activated" |
931 |
- einfo "This client sends anonymous usage-statistics to the xmms2" |
932 |
- einfo "developers which may help finding bugs" |
933 |
- einfo "Disable the phonehome useflag if you don't like that" |
934 |
- fi |
935 |
-} |