depends libtool &&
depends glib2 &&
depends expat &&
depends fluidsynth &&
depends fftw &&
optional_depends lv2 \
                 "--with-lv2" \
                 "--without-lv2" \
                 "for lv2 plugin support" &&
optional_depends JACK-DRIVER \
                 "" \
                 "" \
                 "for jack support" &&
if is_depends_enabled $SPELL $(get_spell_provider $SPELL JACK-DRIVER); then
  depends gtk+2 &&
  optional_depends lash \
                   "--with-lash" \
                   "--without-lash" \
                   "for session save/load support"
elif is_depends_enabled $SPELL lv2; then
  optional_depends gtk+2 \
                   "" \
                   "" \
                   "for GUIs"
fi &&

if is_depends_enabled $SPELL gtk+2; then
  depends libglade2 &&
  depends gtk-engines2
fi
