summaryrefslogtreecommitdiff
path: root/media-sound/xmms2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-10 00:03:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-10 00:03:27 +0000
commit71e206c31e948709a88fafc342bd2d8695942aa5 (patch)
tree5a725c301c38681ee78bf527d6b813cfed0ba45d /media-sound/xmms2
parentb99d094da26977938043a92f89ef882a70250cf8 (diff)
gentoo auto-resync : 10:03:2023 - 00:03:27
Diffstat (limited to 'media-sound/xmms2')
-rw-r--r--media-sound/xmms2/Manifest5
-rw-r--r--media-sound/xmms2/files/xmms2-0.9.1-rtvg.patch23
-rw-r--r--media-sound/xmms2/metadata.xml1
-rw-r--r--media-sound/xmms2/xmms2-0.9.1-r2.ebuild224
4 files changed, 1 insertions, 252 deletions
diff --git a/media-sound/xmms2/Manifest b/media-sound/xmms2/Manifest
index c7168e8fbbf8..326e9cd0c196 100644
--- a/media-sound/xmms2/Manifest
+++ b/media-sound/xmms2/Manifest
@@ -1,8 +1,5 @@
AUX xmms2-0.9.1-cpp-client.patch 503 BLAKE2B b8127c72ab8830cb0c4ca45c5c7887f194f5cbe0999167f8eadd803df75ecaaaf3b4246d691be1b6106dbede0b3293747fa6d1cfc5f151968dd26065aa9e3b15 SHA512 3b5703614a3afe49cadaf74b2d5e9d436232af62dc60248f929961806ab058ed8b06df0fd9ec0f958e2b454e3be75028117fc9c7a071bef1f9d2aa5496c448c5
AUX xmms2-0.9.1-faad.patch 437 BLAKE2B 832db481404d470d347ee73ae04064d5ce423aca2a4a7681a80301e33522245429306e26eb200f9e111de60e2fa5341478f51282ee8c2264cf3b60a79b83a797 SHA512 7b5380762e311e1479073ca922343ce5d0dbfe2b3ab0f9218e2d85d52d8a37e301a6bb7bdfc0603b3f72578421df0ff335edb8bd9ea20e485cc1037a2197c62c
-AUX xmms2-0.9.1-rtvg.patch 1076 BLAKE2B cb0eee29a4245850f2455fd7b12845017ddd2453d48d903386fcc083e4429389fb50b2fd296ebac41e101e68d7f030b646e65b2e493f351c91ec81a9672f6f77 SHA512 113b90339f4afc99f54eeb6776354c471ffa0d4e60d3525150ed2020af3d95dcca89aeaa849cd216c54f0d6eaf712f157c08145901a89b4cb0460c752c526e40
-DIST xmms2-0.9.1.tar.bz2 1940773 BLAKE2B 4044499c2ffc55e66d5836e2e36360486b970ff05f0dc17b62e65111c06cfcc84f58c74427b1afa4455b4e0bdb7784dc8840cc84411bc57cb7b9f0cac4e46359 SHA512 a7d42202571d7eb5d9da4c9f5d55d2f6e072df52892080d6cc4349f66a55f5fece510c9872be9814dd5b258d0c59e2704ea8497c2d3be515c510d602c17b703a
DIST xmms2-0.9.2.tar.xz 1740744 BLAKE2B fc3b219c37c909e640a0f55f3280b3a4f1e3965ab6ac2da8814d569e9ff6b95a94b32dee04028e22555465fb02cd52857a6a2aebb4794d71bfa7836db642033e SHA512 07531b8d743e7454d9e2650dbdbaff1d75eb98f01ab9f8d3fa9ba031ef5ac066f69d1ce90c6a860014f1f0f5fd43c6a9a2a0330656d938c300a427e610b540a6
-EBUILD xmms2-0.9.1-r2.ebuild 5547 BLAKE2B 046adfa84057752b500584127352f538105f4c6e0f34a1535d933e80c12973f3a3b5644d8f542a504d61ac2daeeeb66ed05bbdc01e5175826e899b214ee2819b SHA512 f8483ad05d2a55fd2742d5811c9b3c4fba56d310c5e285a92780d029647d11422faef6fbe84d7ac17a751cf50ce10b22bc7a5f58eb16d4f5baf2fb5a068f9c9c
EBUILD xmms2-0.9.2.ebuild 5291 BLAKE2B 941f9891cf0725e7a5dc19e26927285db7c58745684885056fd67a2f72a323f4247e780a60f22df7ca50c39753658842be0d61b0e9bd9b6645312a94967c6ac2 SHA512 063a7ccce94932b355f2b3f92b46cddb6066eb679ecbb593d96779c94f4c195846ad4524561d5898251a6a899f2356c8e7b2065fcec5a8b40a5de53b900e5810
-MISC metadata.xml 1533 BLAKE2B 260527ce9ba7070a2b799079df9ad4ab3eff10e8568d4015da83648dab4c3862fe6ebc3e7472cc8fe2bd8130f56d8c92a2c910612c475aafefaea047834175bc SHA512 f2939005bdff85690f2be6282c4ee4aa2adfe4ed87ae21bb9e906393d0fdf90666852b3f441acfebe5c2d9737ba6572733d304b7eff370b672975e6fcc8dab25
+MISC metadata.xml 1472 BLAKE2B 1ad415f39603eb6959f85bad95c95e49c6d36fbed3ea2fbe4e3c58772ed335cc5ec4375f19bfc60493a1c30911109f52e870df45acc36d972b0fc56e44c60803 SHA512 aaa7996662236229f4c78cfac1de6e702991c3191f8c20b25a290b6a0bde29a3a00355ad746a767206ea089e1be88ae79abd3a563ce3a8305480406af62f83e7
diff --git a/media-sound/xmms2/files/xmms2-0.9.1-rtvg.patch b/media-sound/xmms2/files/xmms2-0.9.1-rtvg.patch
deleted file mode 100644
index 86f48ca066dc..000000000000
--- a/media-sound/xmms2/files/xmms2-0.9.1-rtvg.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Add knob to control valgrind usage during tests.
-https://bugs.gentoo.org/424377
---- a/waftools/unittest.py
-+++ b/waftools/unittest.py
-@@ -147,5 +147,6 @@
- def configure(conf):
- conf.load("waf_unit_test")
-- conf.find_program("valgrind", var="VALGRIND", mandatory=False)
-+ if conf.options.enable_valgrind is True:
-+ conf.find_program("valgrind", var="VALGRIND", mandatory=False)
- conf.find_program("lcov", var="LCOV", mandatory=False)
- conf.find_program("genhtml", var="GENHTML", mandatory=False)
---- a/wscript
-+++ b/wscript
-@@ -624,4 +624,8 @@
- opt.add_option('--without-ldconfig', action='store_false',
- dest='ldconfig', help="Don't run ldconfig after install")
-+ opt.add_option('--with-valgrind', action='store_true', default=None,
-+ dest='enable_valgrind', help="Run testsuite under valgrind (if present).")
-+ opt.add_option('--without-valgrind', action='store_false', default=None,
-+ dest='enable_valgrind', help="Don't run testsuite under valgrind.")
-
- opt.recurse("src/xmms")
diff --git a/media-sound/xmms2/metadata.xml b/media-sound/xmms2/metadata.xml
index 941958b6ab34..c0c77429c86b 100644
--- a/media-sound/xmms2/metadata.xml
+++ b/media-sound/xmms2/metadata.xml
@@ -17,7 +17,6 @@
<flag name="server">Build xmms2 player daemon (otherwise only clients are built)</flag>
<flag name="sid">Support for C64 SID using <pkg>media-libs/libsidplay</pkg></flag>
<flag name="tremor">Support Vorbis using an alternate fixed-point decoder with <pkg>media-libs/tremor</pkg></flag>
- <flag name="valgrind">Run unit tests under valgrind</flag>
<flag name="vocoder">Phase vocoder effect plugin</flag>
<flag name="xml">Enable support for various XML based playlists and sources: RSS, XSPF</flag>
</use>
diff --git a/media-sound/xmms2/xmms2-0.9.1-r2.ebuild b/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
deleted file mode 100644
index bf7eea106f09..000000000000
--- a/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,224 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-inherit flag-o-matic optfeature perl-functions python-single-r1 waf-utils
-
-DESCRIPTION="X(cross)platform Music Multiplexing System, next generation of the XMMS player"
-HOMEPAGE="https://github.com/XMMS2"
-SRC_URI="https://github.com/xmms2/xmms2-devel/releases/download/${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ~riscv x86"
-
-# IUSE static map to be passed to --with-{optionals,plugins}=opt1,opt2,...
-# flag:opt = `usev flag opt`, opt = `usev opt`, :opt = `echo opt`
-# (if have a use for some of these disabled features, please fill a bug)
-XMMS2_OPTIONALS=(
- cxx:xmmsclient++,xmmsclient++-glib :launcher mlib-update:medialib-updater
- :nycli perl :pixmaps python server:s4 test:tests libvisual:vistest
- # disabled: et,mdns,migrate-collections,ruby,sqlite2s4,xmmsclient-cf,xmmsclient-ecore
-)
-XMMS2_PLUGINS=(
- aac:faad airplay alsa ao :asx cdda :cue curl :diskwrite :equalizer
- ffmpeg:apefile,asf,avcodec,flv,tta :file flac fluidsynth:fluidsynth,mid1,midsquash
- gme :html ices :icymetaint :id3v2 jack :karaoke :m3u mac +mad mms modplug
- mp3:mpg123 :mp4 musepack :normalize :null :nulstripper ofa opus oss :pls
- pulseaudio:pulse :replaygain samba sid sndfile speex tremor vocoder +vorbis
- :wave wavpack :xml xml:rss,xspf zeroconf:daap
- # disabled: coreaudio,gvfs,nms,sc68,sun,waveout
-)
-
-IUSE="
- ${XMMS2_OPTIONALS[@]%:*}
- ${XMMS2_PLUGINS[@]%:*}
- +server valgrind"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- test? ( server )"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- dev-libs/glib:2
- sys-libs/readline:=
- libvisual? (
- media-libs/libsdl[opengl,video]
- media-libs/libvisual:0.4
- )
- server? (
- aac? ( media-libs/faad2 )
- airplay? ( dev-libs/openssl:= )
- alsa? ( media-libs/alsa-lib )
- ao? ( media-libs/libao )
- cdda? (
- dev-libs/libcdio-paranoia:=
- dev-libs/libcdio:=
- media-libs/libdiscid
- )
- curl? ( net-misc/curl )
- ffmpeg? ( media-video/ffmpeg:= )
- flac? ( media-libs/flac:= )
- fluidsynth? ( media-sound/fluidsynth:= )
- gme? ( media-libs/game-music-emu )
- ices? (
- media-libs/libogg
- media-libs/libshout
- media-libs/libvorbis
- )
- jack? ( virtual/jack )
- mac? ( media-sound/mac )
- mad? ( media-libs/libmad )
- mms? (
- media-libs/libmms
- media-video/ffmpeg:=
- )
- modplug? ( media-libs/libmodplug )
- mp3? ( media-sound/mpg123 )
- musepack? ( media-sound/musepack-tools )
- ofa? (
- dev-libs/expat
- media-libs/libofa
- sci-libs/fftw:3.0=
- )
- opus? ( media-libs/opusfile )
- pulseaudio? ( media-libs/libpulse )
- samba? ( net-fs/samba )
- sid? ( media-libs/libsidplay:2 )
- sndfile? ( media-libs/libsndfile )
- speex? (
- media-libs/libogg
- media-libs/speex
- )
- tremor? ( media-libs/tremor )
- vocoder? (
- media-libs/libsamplerate
- sci-libs/fftw:3.0=
- )
- vorbis? ( media-libs/libvorbis )
- wavpack? ( media-sound/wavpack )
- xml? ( dev-libs/libxml2 )
- zeroconf? (
- net-dns/avahi[mdnsresponder-compat]
- net-misc/curl
- )
- )"
-RDEPEND="
- ${COMMON_DEPEND}
- perl? (
- dev-lang/perl
- dev-perl/glib-perl
- virtual/perl-Carp
- virtual/perl-IO
- virtual/perl-Scalar-List-Utils
- )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
- )"
-DEPEND="
- ${COMMON_DEPEND}
- cxx? ( dev-libs/boost )
- test? ( dev-util/cunit )"
-BDEPEND="
- ${PYTHON_DEPS}
- virtual/pkgconfig
- perl? ( dev-perl/Pod-Parser )
- python? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]') )
- test? ( valgrind? ( dev-util/valgrind ) )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9.1-cpp-client.patch
- "${FILESDIR}"/${PN}-0.9.1-faad.patch
- "${FILESDIR}"/${PN}-0.9.1-rtvg.patch
-)
-
-src_prepare() {
- default
-
- # meant to be configured, but give a default for out-of-the-box midi
- sed -e "s|/path/to/.*sf2|${EPREFIX}/usr/share/sounds/sf2/FluidR3_GM.sf2|" \
- -i src/plugins/fluidsynth/fluidsynth.c || die
-}
-
-src_configure() {
- filter-lto # `xmms2 add somefile` breaks with lto + fortify=2
-
- local wafargs=(
- --boost-includes="${ESYSROOT}"/usr/include
- --with-target-platform="${CHOST}"
- )
-
- xmms2_flag() {
- local IFS=:
- set -- ${1#+}
-
- if [[ ${1} ]]; then
- usev ${1} ,${2:-${1}}
- else
- echo ,${2}
- fi
- }
-
- local flag optionals plugins
-
- if use server; then
- for flag in "${XMMS2_PLUGINS[@]}"; do
- plugins+=$(xmms2_flag ${flag})
- done
- else
- wafargs+=( --without-xmms2d )
- fi
-
- for flag in "${XMMS2_OPTIONALS[@]}"; do
- optionals+=$(xmms2_flag ${flag})
- done
-
- wafargs+=(
- # pass even if empty to avoid automagic
- --with-optionals=${optionals:1}
- --with-plugins=${plugins:1}
- )
-
- if use perl; then
- perl_set_version
- wafargs+=( --with-perl-archdir="${ARCH_LIB}" )
- fi
-
- if use valgrind; then
- if valgrind true &>/dev/null; then
- wafargs+=( --with-valgrind )
- else
- ewarn "valgrind was disabled due to failing a basic sanity check" #807271
- fi
- fi
-
- waf-utils_src_configure "${wafargs[@]}"
-}
-
-src_compile() {
- waf-utils_src_compile --notests
-}
-
-src_test() {
- waf-utils_src_compile --alltests
-}
-
-src_install() {
- local DOCS=( AUTHORS README.mdown *.ChangeLog )
- waf-utils_src_install --without-ldconfig --notests
-
- use libvisual && dobin _build_/src/clients/vistest/xmms2-libvisual
-
- use python && python_optimize
-
- # to avoid editing waftools/man.py (use find given not always installed)
- find "${ED}" -type f -name '*.gz' -exec gzip -d {} + || die
-}
-
-pkg_postinst() {
- use fluidsynth && optfeature "the default MIDI soundfont" media-sound/fluid-soundfont
-}