summaryrefslogtreecommitdiffstats
path: root/audio-players/cantata/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'audio-players/cantata/DEPENDS')
-rwxr-xr-xaudio-players/cantata/DEPENDS17
1 files changed, 16 insertions, 1 deletions
diff --git a/audio-players/cantata/DEPENDS b/audio-players/cantata/DEPENDS
index d618474e61..5d311839d0 100755
--- a/audio-players/cantata/DEPENDS
+++ b/audio-players/cantata/DEPENDS
@@ -1,4 +1,5 @@
depends -sub DBUS qt4 &&
+depends qjson &&
optional_depends kdelibs4 \
"-DENABLE_KDE=on" \
"-DENABLE_KDE=off" \
@@ -20,4 +21,18 @@ optional_depends phonon \
optional_depends libmtp \
"-DENABLE_MTP=on" \
"-DENABLE_MTP=off" \
- "required to support MTP devices"
+ "required to support MTP devices" &&
+optional_depends cdparanoia \
+ "-DENABLE_CDPARANOIA=on" \
+ "-DENABLE_CDPARANOIA=off" \
+ "for audio cd support" &&
+if is_depends_enabled $SPELL cdparanoia; then
+ optional_depends libcddb \
+ "-DENABLE_CDDB=on" \
+ "-DENABLE_CDDB=off" \
+ "you need either this or musicbrainz for audio cd support" &&
+ optional_depends musicbrainz \
+ "-DENABLE_MUSICBRAINZ=on" \
+ "-DENABLE_MUSICBRAINZ=off" \
+ "you need either this or libcddb for audio cd support"
+fi