From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/xmms2/
Date: Sat, 11 Feb 2023 20:47:05 +0000 (UTC) [thread overview]
Message-ID: <1676148406.7e71250e7f480e60e30cf4160d0eac499e6d23f8.ionen@gentoo> (raw)
commit: 7e71250e7f480e60e30cf4160d0eac499e6d23f8
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 19:47:30 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 20:46:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e71250e
media-sound/xmms2: add 0.9.2
Removes the need for the valgrind patch, but while here also use the
new switch to disable valgrind unconditionally so we don't need to do
checks for usable valgrind (this should be for developers only).
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-sound/xmms2/Manifest | 1 +
media-sound/xmms2/xmms2-0.9.2.ebuild | 215 +++++++++++++++++++++++++++++++++++
2 files changed, 216 insertions(+)
diff --git a/media-sound/xmms2/Manifest b/media-sound/xmms2/Manifest
index 39e87419b578..f5d7a22fe546 100644
--- a/media-sound/xmms2/Manifest
+++ b/media-sound/xmms2/Manifest
@@ -1 +1,2 @@
DIST xmms2-0.9.1.tar.bz2 1940773 BLAKE2B 4044499c2ffc55e66d5836e2e36360486b970ff05f0dc17b62e65111c06cfcc84f58c74427b1afa4455b4e0bdb7784dc8840cc84411bc57cb7b9f0cac4e46359 SHA512 a7d42202571d7eb5d9da4c9f5d55d2f6e072df52892080d6cc4349f66a55f5fece510c9872be9814dd5b258d0c59e2704ea8497c2d3be515c510d602c17b703a
+DIST xmms2-0.9.2.tar.xz 1740744 BLAKE2B fc3b219c37c909e640a0f55f3280b3a4f1e3965ab6ac2da8814d569e9ff6b95a94b32dee04028e22555465fb02cd52857a6a2aebb4794d71bfa7836db642033e SHA512 07531b8d743e7454d9e2650dbdbaff1d75eb98f01ab9f8d3fa9ba031ef5ac066f69d1ce90c6a860014f1f0f5fd43c6a9a2a0330656d938c300a427e610b540a6
diff --git a/media-sound/xmms2/xmms2-0.9.2.ebuild b/media-sound/xmms2/xmms2-0.9.2.ebuild
new file mode 100644
index 000000000000..29ca25a5a701
--- /dev/null
+++ b/media-sound/xmms2/xmms2-0.9.2.ebuild
@@ -0,0 +1,215 @@
+# 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.xz"
+
+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"
+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}]') )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.1-cpp-client.patch
+ "${FILESDIR}"/${PN}-0.9.1-faad.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}"
+ --without-valgrind
+ )
+
+ 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
+
+ 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
+}
next reply other threads:[~2023-02-11 20:47 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-11 20:47 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-04 16:15 [gentoo-commits] repo/gentoo:master commit in: media-sound/xmms2/ Ionen Wolkens
2024-10-27 21:06 Sam James
2024-10-27 21:06 Sam James
2024-10-27 18:12 Arthur Zamarin
2024-10-07 23:42 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2023-10-15 0:49 Ionen Wolkens
2023-10-04 22:56 Ionen Wolkens
2023-10-04 22:44 Ionen Wolkens
2023-07-23 23:18 Ionen Wolkens
2023-06-02 6:54 Ionen Wolkens
2023-05-12 19:00 Ionen Wolkens
2023-04-20 10:37 WANG Xuerui
2023-04-19 15:14 Ionen Wolkens
2023-03-06 13:06 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2022-11-29 21:32 Ionen Wolkens
2022-11-29 21:19 Ionen Wolkens
2022-11-29 21:19 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-09-10 8:41 Sam James
2022-06-02 15:07 Ionen Wolkens
2022-05-30 6:57 Agostino Sarubbo
2022-05-29 7:22 Jakov Smolić
2022-05-29 7:22 Jakov Smolić
2022-04-18 14:38 Ionen Wolkens
2022-04-15 6:19 Arthur Zamarin
2022-04-14 19:36 Jakov Smolić
2022-04-14 19:36 Jakov Smolić
2022-03-16 3:42 Ionen Wolkens
2021-10-16 19:38 Andreas K. Hüttel
2021-09-21 16:35 Sam James
2021-09-19 22:12 Sam James
2021-09-19 21:35 Agostino Sarubbo
2021-09-19 4:59 Ionen Wolkens
2021-08-19 23:29 Ionen Wolkens
2021-08-19 22:50 Ionen Wolkens
2021-08-19 22:50 Ionen Wolkens
2021-08-19 22:50 Ionen Wolkens
2021-08-05 23:03 Ionen Wolkens
2021-08-04 9:01 Sergei Trofimovich
2021-07-09 17:33 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-05-15 13:58 Sergei Trofimovich
2020-11-10 23:49 Sergei Trofimovich
2020-10-15 23:05 Sergei Trofimovich
2020-07-22 9:02 Hans de Graaff
2020-05-29 22:13 Sergei Trofimovich
2020-05-12 6:39 Agostino Sarubbo
2020-05-11 11:28 Agostino Sarubbo
2020-05-09 22:37 Sergei Trofimovich
2020-04-26 10:35 David Seifert
2020-03-26 9:39 James Le Cuirot
2020-03-22 10:56 Agostino Sarubbo
2020-03-22 10:54 Agostino Sarubbo
2020-03-22 10:53 Agostino Sarubbo
2020-03-14 17:30 Sergei Trofimovich
2020-03-14 17:30 Sergei Trofimovich
2020-03-14 17:30 Sergei Trofimovich
2020-02-10 12:12 Michał Górny
2019-11-09 21:20 Sergei Trofimovich
2019-11-09 21:20 Sergei Trofimovich
2019-04-08 17:43 Hans de Graaff
2018-09-13 19:23 Tobias Klausmann
2018-09-07 23:46 Sergei Trofimovich
2018-08-18 3:52 Mikle Kolyada
2018-08-16 0:39 Thomas Deutschmann
2018-07-01 21:27 Sergei Trofimovich
2018-06-25 19:24 Hans de Graaff
2018-04-14 7:26 Hans de Graaff
2018-02-15 22:01 Sergei Trofimovich
2018-02-05 9:41 Sergei Trofimovich
2018-02-04 21:31 Sergei Trofimovich
2017-11-26 23:11 David Seifert
2017-11-12 10:00 Sergei Trofimovich
2017-09-20 21:49 James Le Cuirot
2017-07-29 21:26 Sergei Trofimovich
2017-07-16 11:08 Tobias Klausmann
2017-07-15 17:25 Tobias Klausmann
2017-07-04 21:56 Sergei Trofimovich
2017-06-21 21:24 James Le Cuirot
2016-12-20 15:51 Tobias Klausmann
2016-12-19 14:21 Lars Wendler
2016-11-11 10:22 Sergei Trofimovich
2016-10-02 12:37 Pacho Ramos
2016-09-26 15:22 Tobias Klausmann
2016-06-14 14:24 Sergei Trofimovich
2016-05-21 8:00 Sergei Trofimovich
2016-04-02 9:06 Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1676148406.7e71250e7f480e60e30cf4160d0eac499e6d23f8.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox