depends  PKG-CONFIG  &&
depends  expat      &&
depends -sub CXX gcc        &&
depends  python3    &&
depends  libsamplerate &&

if [[ $JACK2_BRANCH == scm ]]; then
  depends  subversion
fi &&


optional_depends  alsa-lib         \
                  "--alsa"         \
                  ""               \
                  "for ALSA audio" &&

optional_depends  libffado                  \
                  "--firewire"              \
                  ""                        \
                  "for firewire audio"      &&

optional_depends  doxygen                   \
                  "--doxygen"               \
                  ""                        \
                  "to build documentation"  &&

optional_depends  dbus      \
                  "--dbus"  \
                  "--classic" \
                  "to enable the D-Bus control interface (instead of classic jackd!)" &&
if is_depends_enabled $SPELL dbus; then
  depends dbus-python
fi
