# required for waf
depends PYTHON &&
depends -sub CXX gcc &&
depends boost &&
depends glib2 &&
depends glibmm &&
depends gtkmm2 &&
depends ganv &&

optional_depends alsa-lib "" "--no-alsa" "for ALSA sequencer support" &&

message "${MESSAGE_COLOR}NOTICE: The D-Bus interface requires JACK2.${DEFAULT_COLOR}" &&

optional_depends dbus "--jack-dbus" "" "to use a D-Bus interface for controlling JACK" &&

if is_depends_enabled $SPELL dbus; then
  depends dbus-glib &&
  depends -sub DBUS jack2
else
  depends JACK-DRIVER
fi &&

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

if is_depends_enabled $SPELL doxygen; then
  depends graphviz
fi
