summaryrefslogtreecommitdiff
path: root/media-sound/xmms2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
commit77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch)
tree5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /media-sound/xmms2
parentbd4aeefe33e63f613512604e47bfca7b2187697d (diff)
gentoo resync : 10.11.2019
Diffstat (limited to 'media-sound/xmms2')
-rw-r--r--media-sound/xmms2/Manifest5
-rw-r--r--media-sound/xmms2/xmms2-0.8_p20161122-r3.ebuild296
-rw-r--r--media-sound/xmms2/xmms2-0.8_p20161122-r4.ebuild2
-rw-r--r--media-sound/xmms2/xmms2-0.8_p20161122-r5.ebuild2
4 files changed, 6 insertions, 299 deletions
diff --git a/media-sound/xmms2/Manifest b/media-sound/xmms2/Manifest
index 5527f286d933..d4c88215adc2 100644
--- a/media-sound/xmms2/Manifest
+++ b/media-sound/xmms2/Manifest
@@ -7,7 +7,6 @@ AUX xmms2-0.8_p20161122-mac-4.patch 1632 BLAKE2B 5bc5c7d499df5faee2fc6b4307af182
AUX xmms2-0.8_p20161122-perl-no-local.patch 697 BLAKE2B 86ab6bb3594fd45e9a9bdbd07d85d3740ed206eea24652161c7fbbdf620c98a6b002b646aba65a3f017e263bb82d6dc7b933fb53540012c2005d65dd2e667b06 SHA512 eb5afb39409c7c199a844d9452ab829a653d2a1ce8f5d9f1361fa995e851914d5a962d25d8116947a265fabc649f8560aa1947a24cf45d954da7743954fc3cd7
AUX xmms2-0.8_p20161122-tarball.patch 2764 BLAKE2B 1d6ea9bc40db3145460a8ef06c732114475087ea05eef65fd837d6c3bf346478579d7c6ab0bf33387d2228a319245e0e4d2562935be75a58abd04e88205d4373 SHA512 5b03d129a55ac14462a68e47ecba29c2817eb83d122a3614c624c743ecc29a7bac066644aa61d5ac74f9cb59808d1a9bac077dc360c507da722c206b948301ac
DIST xmms2-0.8DrO_o-949-gca15e830.tar.bz2 1928653 BLAKE2B f34abf0c68f4574593eb706744cc4354bc9b679d005bcaf4a9f03ef90fcb14935428c73d3d74565c41a70efcfa6541af15a455d091b6d17e7ca613229c1c1390 SHA512 affd7fdd259cdb952e972b62f24ab8eb6afd2c87786254a7ae81adffdcfe1454dcf2fb95811a8b90db74dba84918526fd8c920e11582b36aa48725f293c73edb
-EBUILD xmms2-0.8_p20161122-r3.ebuild 7512 BLAKE2B 9f27e34436e26b5b1c21c0b200439949fd1139ab0fc4baaf09ad7040298e4e67036b79d1d29076e7649d32ac5e57e70bb59a32f402d4809dab3ae0b105e5380f SHA512 c396e5fd3908e2652584eb69e935e65beff4a4bf2876cebbae2fbeda0ec3449443aed32f1286914247ba9ae751b84516b0f147bbb44a07b5fbe15630e0c6f1db
-EBUILD xmms2-0.8_p20161122-r4.ebuild 7570 BLAKE2B 2d86795c94d54465b9440f22ee276bd309da2a9f2ae117903c768b8ef1e836280eea4bf1eea13600465b00689f5d1146e6e86a5dc8881fe1f5a3fbf5c8504218 SHA512 2813a46fc3261cc6f0dc538ca5d827cff1e7a1f82043a82815b00ad62305682aba5c0fba73db38d1e46eeaaed4458d4574fc43cd7770cc6b81b2cbfab35104b3
-EBUILD xmms2-0.8_p20161122-r5.ebuild 7697 BLAKE2B d53767b9b76d1824dc8629021f52e0cc501a7a1c08ab5669589c26d9bb66463dcdf23f1e560d39a97a2b7ffae4f863377005866f85f6ad06d95d2d12069b9379 SHA512 f8f59ccf3df8e9d8be357b265155e0b29c466d28e0b85f40897c4daffabe4907e7ab096cee883dd5ed468241ab4c1d03a3ace3f32bb2521be8dca0b3a5cda035
+EBUILD xmms2-0.8_p20161122-r4.ebuild 7598 BLAKE2B 278c96fd9433e15f07c54f132c51d4073a5f0c5afb1140b630f074bff7b7984f86a3c76b57ecd640f4f8d137ac1c0c8445142af45e173c05d9377b9a78fdeb2d SHA512 1b9182a90b7ba652ebe75fd164952b4d055fe5f8f7831d18407ec608e863b3165672f18fa0d6f95b32cfc4fdb2c5272ec925a90470b0dcfdac42f8a8d9f106ef
+EBUILD xmms2-0.8_p20161122-r5.ebuild 7725 BLAKE2B 366b6cc06da399a83a19d58932a78a03856b15c568dcc4d0a888bd391969a166b0366a358900a769a451712447410f3e18c5743ee159d18af08916e3aea618fb SHA512 e30bcd17c146f6ca5b1d5010ccf6e9cbc7b4cdf9480ca56b9f171567ca112c61d3248a95b21728d08f202e149efde8d6bb1e304577cb926645a5209b0abd2e55
MISC metadata.xml 2494 BLAKE2B 47ddee51380c99b03e6a449347f68e0f38742c7310d6e128b741abb13c4ce8126cb7177854c05c7a9e22ede612be2aa0befe7fbc69b918d17366a31005ed392e SHA512 f5c30541d2f5f484ced87780f72b2ce02d8f1a5e9cdfd437a870e6a1f53f1b9f71bf266935a20dc6f1f6d2417636dfa6dfe27c947eeddca1d746ad72e0b3c8ae
diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r3.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r3.ebuild
deleted file mode 100644
index 7a6d9e9211da..000000000000
--- a/media-sound/xmms2/xmms2-0.8_p20161122-r3.ebuild
+++ /dev/null
@@ -1,296 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-USE_RUBY="ruby23 ruby24 ruby25"
-
-inherit eutils multiprocessing python-single-r1 ruby-single toolchain-funcs
-
-# generated as 'python2 ./utils/gen-tarball.py' from clean git tree
-MY_P="${P%_p*}DrO_o-949-gca15e830"
-
-DESCRIPTION="X(cross)platform Music Multiplexing System. Next generation of the XMMS player"
-HOMEPAGE="https://xmms2.org/wiki/Main_Page"
-#SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
-SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${MY_P}.tar.bz2"
-LICENSE="GPL-2 LGPL-2.1"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
-
-IUSE="aac airplay +alsa ao asf cdda curl cxx ffmpeg flac fluidsynth ices
-jack mac mlib-update mms +mad modplug mp3 mp4 musepack ofa opus oss
-perl phonehome pulseaudio python ruby samba +server sid sndfile speex
-test valgrind +vorbis vocoder wavpack xml zeroconf"
-
-RDEPEND="server? (
- >=dev-db/sqlite-3.3.4
-
- aac? ( >=media-libs/faad2-2.0 )
- airplay? ( dev-libs/openssl:0= )
- alsa? ( media-libs/alsa-lib )
- ao? ( media-libs/libao )
- cdda? ( dev-libs/libcdio-paranoia
- >=media-libs/libdiscid-0.1.1
- >=media-sound/cdparanoia-3.9.8 )
- curl? ( >=net-misc/curl-7.15.1 )
- ffmpeg? ( virtual/ffmpeg )
- flac? ( media-libs/flac )
- fluidsynth? ( media-sound/fluidsynth )
- ices? ( media-libs/libogg
- media-libs/libshout
- media-libs/libvorbis )
- jack? ( virtual/jack )
- mac? ( media-sound/mac )
- mms? ( virtual/ffmpeg
- >=media-libs/libmms-0.3 )
- modplug? ( media-libs/libmodplug )
- mad? ( media-libs/libmad )
- mp3? ( >=media-sound/mpg123-1.5.1 )
- musepack? ( media-sound/musepack-tools )
- ofa? ( media-libs/libofa )
- opus? ( media-libs/opus
- media-libs/opusfile )
- pulseaudio? ( media-sound/pulseaudio )
- samba? ( >=net-fs/samba-4.2 )
- sid? ( media-sound/sidplay
- media-libs/resid )
- sndfile? ( media-libs/libsndfile )
- speex? ( media-libs/speex
- media-libs/libogg )
- vorbis? ( media-libs/libvorbis )
- vocoder? ( sci-libs/fftw:3.0= media-libs/libsamplerate )
- wavpack? ( media-sound/wavpack )
- xml? ( dev-libs/libxml2 )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
- )
-
- >=dev-libs/glib-2.12.9
- cxx? ( >=dev-libs/boost-1.32 )
- perl? ( >=dev-lang/perl-5.8.8 )
- python? ( ${PYTHON_DEPS} )
- ruby? ( ${RUBY_DEPS} )
-"
-
-DEPEND="${RDEPEND}
- dev-lang/python
- virtual/pkgconfig
- perl? ( dev-perl/Module-Build
- virtual/perl-Module-Metadata )
- python? ( >=dev-python/cython-0.15.1
- dev-python/pyrex )
- test? ( dev-util/cunit
- valgrind? ( dev-util/valgrind ) )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- # used both for building xmms2 and
- # optionally linking client library
- # against python
- python-single-r1_pkg_setup
-}
-
-# use_enable() is taken as proto
-# $1 - useflag
-# $2 - xmms2 option/plugin name (equals to $1 if not set)
-
-xmms2_flag() {
- [[ -z $1 ]] && eerror "!!! empty arg. usage: xmms2_flag <USEFLAG> [<xmms2_flagname>]."
-
- local UWORD=${2:-$1}
-
- case $1 in
- ENABLED)
- echo ",${UWORD}"
- ;;
- DISABLED)
- ;;
- *)
- use $1 && echo ",${UWORD}"
- ;;
- esac
-}
-
-src_prepare() {
- ./waf # inflate waf
- cd .waf* || die
- # needs port
- #epatch "${FILESDIR}/${PN}"-0.8DrO_o-waflib-fix-perl.patch #578778
- cd "${S}"
-
- eapply "${FILESDIR}/${PN}"-0.8-ffmpeg2.patch #536232
-
- eapply "${FILESDIR}/${PN}"-0.8-rtvg.patch #424377
-
- # required to build tarball from git tree
- eapply "${FILESDIR}/${P}"-tarball.patch
-
- # fix hash to be the same on LE/BE platforms
- eapply "${FILESDIR}/${P}"-be-hash.patch
-
- # handle mac-3 -> -4 API change
- eapply "${FILESDIR}/${P}"-mac-4.patch
-
- eapply_user
-}
-
-src_configure() {
- # ./configure alike options.
- local waf_params="--prefix=/usr \
- --libdir=/usr/$(get_libdir) \
- --with-target-platform=${CHOST} \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --datadir=/usr/share \
- --sysconfdir=/etc \
- --localstatedir=/var/lib"
-
- local optionals=""
- local plugins=""
- if ! use server ; then
- waf_params+=" --without-xmms2d"
- else
- # some fun static mappings:
- local option_map=( # USE # sorted xmms2 option flag (same, as USE if empty)
- "phonehome et"
- "ENABLED launcher"
- "mlib-update medialib-updater"
- "ENABLED nycli"
- " perl"
- "ENABLED pixmaps"
- " python"
- " ruby"
- "DISABLED tests"
- "DISABLED vistest"
- "cxx xmmsclient++"
- "cxx xmmsclient++-glib"
- "DISABLED xmmsclient-cf"
- "DISABLED xmmsclient-ecore" # not in tree
-
- "test tests"
- )
-
- local plugin_map=( # USE # sorted xmms2 plugin flag (same, as USE if empty)
- " alsa"
- " airplay"
- " ao"
- "ffmpeg apefile"
- "ffmpeg avcodec"
- " asf"
- "ENABLED asx"
- " cdda"
- "DISABLED coreaudio" # MacOS only?
- " curl"
- "ENABLED cue"
- "zeroconf daap"
- "ENABLED diskwrite"
- "ENABLED equalizer"
- "aac faad"
- "ENABLED file"
- " flac"
- " fluidsynth"
- "ffmpeg flv"
- "ffmpeg tta"
- "DISABLED gme" # not in tree
- "DISABLED gvfs" # obsolete #647604
- "ENABLED html"
- " ices"
- "ENABLED icymetaint"
- "ENABLED id3v2"
- " jack"
- "ENABLED karaoke"
- "ENABLED m3u"
- " mac"
- " mms"
- " mad"
- "ENABLED midsquash"
- " mp4" # bug #387961 (aac, mp3, ape can sit there)
- "mp3 mpg123"
- " modplug"
- " musepack"
- "DISABLED nms" # not in tree
- "ENABLED normalize"
- "ENABLED null"
- "ENABLED nulstripper"
- " ofa"
- " opus"
- " oss"
- "ENABLED pls"
- "pulseaudio pulse"
- "ENABLED replaygain"
- "xml rss"
- " samba"
- "DISABLED sc68" #not in tree
- " sid"
- " sndfile"
- " speex"
- "DISABLED sun" # {Open,Net}BSD only
- "DISABLED tremor" # not in tree
- " vorbis"
- " vocoder"
- "ffmpeg tta"
- "ENABLED wave"
- "DISABLED waveout" # windows only
- " wavpack"
- "xml xspf"
- "ENABLED xml"
- )
-
- local option
- for option in "${option_map[@]}"; do
- optionals+=$(xmms2_flag $option)
- done
-
- local plugin
- for plugin in "${plugin_map[@]}"; do
- plugins+=$(xmms2_flag $plugin)
- done
- fi # ! server
-
- # pass them explicitely even if empty as we try to avoid magic deps
- waf_params+=" --with-optionals=${optionals:1}" # skip first ',' if yet
- waf_params+=" --with-plugins=${plugins:1}"
- waf_params+=" $(use_with valgrind)"
-
- CC="$(tc-getCC)" \
- CPP="$(tc-getCPP)" \
- AR="$(tc-getAR)" \
- RANLIB="$(tc-getRANLIB)" \
- CXX="$(tc-getCXX)" \
- ./waf configure ${waf_params} || die "'waf configure' failed"
-}
-
-src_compile() {
- # waf is very keen to run tests in build phase (bug #424377) but
- # it does not bother running tests twice, so the hack below works:
- ./waf --verbose build || ./waf --verbose build || die "waf build failed"
-}
-
-src_test() {
- # rerun tests
- ./waf --alltests || die "waf --alltests failed"
-}
-
-src_install() {
- ./waf --without-ldconfig --destdir="${D}" install || die "'waf install' failed"
- dodoc AUTHORS TODO
-}
-
-pkg_postinst() {
- elog "This version is built on experimental development code"
- elog "If you encounter any errors report them at https://bugs.xmms2.org"
- elog "and visit #xmms2 at irc://irc.freenode.net"
- if use phonehome ; then
- einfo ""
- einfo "The phone-home client xmms2-et was activated"
- einfo "This client sends anonymous usage-statistics to the xmms2"
- einfo "developers which may help finding bugs"
- einfo "Disable the phonehome useflag if you don't like that"
- fi
-}
diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r4.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r4.ebuild
index 436345d7fae1..b19b7476b0ff 100644
--- a/media-sound/xmms2/xmms2-0.8_p20161122-r4.ebuild
+++ b/media-sound/xmms2/xmms2-0.8_p20161122-r4.ebuild
@@ -85,6 +85,8 @@ DEPEND="${RDEPEND}
valgrind? ( dev-util/valgrind ) )
"
+RESTRICT="!test? ( test )"
+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}/${MY_P}"
diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r5.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r5.ebuild
index 01daddf56462..2c519ca93888 100644
--- a/media-sound/xmms2/xmms2-0.8_p20161122-r5.ebuild
+++ b/media-sound/xmms2/xmms2-0.8_p20161122-r5.ebuild
@@ -85,6 +85,8 @@ DEPEND="${RDEPEND}
valgrind? ( dev-util/valgrind ) )
"
+RESTRICT="!test? ( test )"
+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}/${MY_P}"