summaryrefslogtreecommitdiffstats
path: root/audio-soft/patchage/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'audio-soft/patchage/DEPENDS')
-rwxr-xr-xaudio-soft/patchage/DEPENDS22
1 files changed, 12 insertions, 10 deletions
diff --git a/audio-soft/patchage/DEPENDS b/audio-soft/patchage/DEPENDS
index 507f6403cc..2914c726c0 100755
--- a/audio-soft/patchage/DEPENDS
+++ b/audio-soft/patchage/DEPENDS
@@ -3,6 +3,7 @@ depends boost &&
depends libglademm &&
depends raul &&
depends flowcanvas &&
+depends alsa-lib &&
if [[ $PATCHAGE_VCS == y ]]
then
@@ -11,18 +12,19 @@ then
depends autoconf
fi &&
-depends alsa-lib &&
-depends JACK-DRIVER &&
+message "${MESSAGE_COLOR}The D-Bus interface requires" \
+ "a development version of JACK.$DEFAULT_COLOR" &&
-if [[ $PATCHAGE_VCS == y ]]
-then
- message "${MESSAGE_COLOR}The D-Bus interface requires" \
- "a development version of JACK.$DEFAULT_COLOR" &&
+optional_depends dbus \
+ "--enable-jack-dbus" \
+ "--disable-jack-dbus" \
+ "to use a D-Bus interface for controlling JACK" &&
- optional_depends dbus \
- "--enable-jack-dbus" \
- "--disable-jack-dbus" \
- "to use a D-Bus interface for controlling JACK"
+if is_depends_enabled $SPELL dbus
+then
+ depends -sub DBUS jack2
+else
+ depends JACK-DRIVER
fi &&
optional_depends lash \