summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/xmms2/metadata.xml1
-rw-r--r--media-sound/xmms2/xmms2-0.9.1-r2.ebuild10
2 files changed, 9 insertions, 2 deletions
diff --git a/media-sound/xmms2/metadata.xml b/media-sound/xmms2/metadata.xml
index cbdd35464dea..941958b6ab34 100644
--- a/media-sound/xmms2/metadata.xml
+++ b/media-sound/xmms2/metadata.xml
@@ -10,6 +10,7 @@
<flag name="fluidsynth">Enable fluidsynth support (MIDI)</flag>
<flag name="gme">Support for various game audio formats using <pkg>media-libs/game-music-emu</pkg></flag>
<flag name="ices">Icecast source output plugin</flag>
+ <flag name="libvisual">Install xmms2-libvisual for use with the 'visualization' effect</flag>
<flag name="mac">Support for Monkey's Audio (APE) format using <pkg>media-sound/mac</pkg></flag>
<flag name="mlib-update">Enable building of xmms2-mlib-updater client</flag>
<flag name="ofa">Support for Open Fingerprint Architecture (OFA)</flag>
diff --git a/media-sound/xmms2/xmms2-0.9.1-r2.ebuild b/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
index 53a3edec371e..5bf6c2c58fac 100644
--- a/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
+++ b/media-sound/xmms2/xmms2-0.9.1-r2.ebuild
@@ -20,8 +20,8 @@ KEYWORDS="~alpha amd64 ~arm ppc ~riscv x86"
# (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
- # disabled: et,mdns,migrate-collections,ruby,sqlite2s4,vistest,xmmsclient-cf,xmmsclient-ecore
+ :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
@@ -43,6 +43,10 @@ RESTRICT="!test? ( test ) !server? ( 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:= )
@@ -205,6 +209,8 @@ 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)