summaryrefslogtreecommitdiffstats
path: root/audio-players/xmms2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'audio-players/xmms2/DEPENDS')
-rwxr-xr-xaudio-players/xmms2/DEPENDS47
1 files changed, 31 insertions, 16 deletions
diff --git a/audio-players/xmms2/DEPENDS b/audio-players/xmms2/DEPENDS
index 86adbd213a..c9ecf14b92 100755
--- a/audio-players/xmms2/DEPENDS
+++ b/audio-players/xmms2/DEPENDS
@@ -3,7 +3,7 @@ depends sqlite &&
depends glib2 &&
#Transport plugins &&
-if list_find "$XMMS2_OPTS" "--without-xmms2d=0" ; then
+if list_find "$XMMS2_OPTS" "--with-xmms2d" ; then
if list_find "$XMMS2_OPTS" "--with-plugins=cdda" ; then
depends libcdio &&
depends libdiscid
@@ -30,7 +30,18 @@ optional_depends avahi \
"--with-optionals=avahi" \
"--without-optionals=avahi" \
"For avahi support." &&
+optional_depends openssl \
+ "--with-plugins=airplay" \
+ "--without-plugins=airplay" \
+ "For airplay transport support" &&
#Decoder plugins &&
+message "There are two MP3 decoding plugins." &&
+message "One is mpg123 based the other MAD based." &&
+message "Both can coexist." &&
+optional_depends mpg123 \
+ "--with-plugins=mpg123" \
+ "--without-plugins=mpg123" \
+ "For mp3 decoder plugin." &&
optional_depends libmad \
"--with-plugins=mad" \
"--without-plugins=mad" \
@@ -55,10 +66,10 @@ optional_depends sidplay-libs \
"--with-plugins=sid" \
"--without-plugins=sid" \
"For sid decoder plugin." &&
-#optional_depends speex \
-# "--with-plugins=speex" \
-# "--without-plugins=speex" \
-# "For speex decoder plugin." &&
+optional_depends speex \
+ "--with-plugins=speex" \
+ "--without-plugins=speex" \
+ "For speex decoder plugin." &&
optional_depends faad2 \
"--with-plugins=faad" \
"--without-plugins=faad" \
@@ -67,11 +78,13 @@ optional_depends LIBAVCODEC \
"--with-plugins=avcodec" \
"--without-plugins=avcodec" \
"For WMA decoder plugin." &&
-
-optional_depends LIBAVCODEC \
- "--with-plugins=avformat" \
- "--without-plugins=avformat" \
- "For ffmpeg libavformat demuxer plugin." &&
+optional_depends wavpack \
+ "--with-plugins=wavpack" \
+ "--without-plugins=wavpack" \
+ "For wavpack decoder plugin." &&
+ if list_find "$XMMS2_OPTS" "--with-plugins=gma" ; then
+depends g++
+ fi
#Output plugins &&
optional_depends alsa-lib \
@@ -94,8 +107,9 @@ optional_depends libao \
#Effect plugins &&
if list_find "$XMMS2_OPTS" "--with-plugins=ices" ; then
depends libshout &&
-depends libogg &&
-depends libvorbis
+depends libogg "--with-plugins=vorbis" &&
+depends libvorbis "--with-plugins=vorbis"
+
fi &&
if list_find "$XMMS2_OPTS" "--with-plugins=icymetaint,curl" ; then
depends curl
@@ -103,11 +117,12 @@ depends curl
if list_find "$XMMS2_OPTS" "--with-plugins=vocoder" ; then
depends libsamplerate &&
depends fftw
- fi &&
- if list_find "$XMMS2_OPTS" "--with-plugins=lastfm,lastfmmeta,curl" ; then
-depends curl
fi
-fi
+fi &&
+optional_depends libofa \
+ "--with-plugins=ofa" \
+ "--without-plugins=ofa" \
+ "For acoustic fingerprint plugin." &&
#Clients &&
optional_depends gamin \