depends  qt4                                         &&
depends  g++                                         &&
depends  cmake                                       &&

# we always want system libs
depends  libsamplerate "-DWANT_SYSTEM_SR=1"          &&
depends  libsndfile                                  &&

if [[ $LMMS_VST == "-DWANT_VST=1" ]]; then
  depends  vst_sdk2_3  ''  ''  z-rejected            &&
  depends  wine
fi                                                   &&

optional_depends  alsa-lib                           \
                  "-DWANT_ALSA=1"                    \
                  "-DWANT_ALSA=0"                    \
                  "for ALSA sound output"            &&

optional_depends  sdl                                \
                  "-DWANT_SDL=1"                     \
                  "-DWANT_SDL=0"                     \
                  "for SDL audio output"             &&

optional_depends  JACK-DRIVER                        \
                  "-DWANT_JACK=1"                    \
                  "-DWANT_JACK=0"                    \
                  "for JACK transport"               &&

optional_depends  swh-plugins                        \
                  "-DWANT_SWH=1"                     \
                  "-DWANT_SWH=0"                     \
                  "for LADSPA SWH plugins support"   &&

optional_depends  tap-plugins                        \
                  "-DWANT_TAP=1"                     \
                  "-DWANT_TAP=0"                     \
                  "for LADSPA TAP plugins support"   &&

optional_depends  caps-plugins                       \
                  "-DWANT_CAPS=1"                    \
                  "-DWANT_CAPS=0"                    \
                  "for LADSPA CAPS plugins support"  &&

optional_depends  cmt                                \
                  "-DWANT_CMT=1"                     \
                  "-DWANT_CMT=0"                     \
                  "for LADSPA CMT support"           &&

optional_depends  libvorbis                          \
                  "-DWANT_OGGVORBIS=1"               \
                  "-DWANT_OGGVORBIS=0"               \
                  "for exporting song to OGG files"  &&

optional_depends  pulseaudio                         \
                  "-DWANT_PULSEAUDIO=1"              \
                  "-DWANT_PULSEAUDIO=0"              \
                  "for pulseaudio support"           &&

optional_depends  fftw                               \
                  "-DWANT_FFTW3F=1"                  \
                  "-DWANT_FFTW3F=0"                  \
                  "for SpectrumAnalyzer plugin"      &&

optional_depends  fluidsynth                         \
                  "-DWANT_SF2=1"                     \
                  "-DWANT_SF2=0"                     \
                  "for SpectrumAnalyzer plugin"

# I have a spell for this locally but need to test it first
#optional_depends  synthesistoolkit               \
#                  "-DWANT_STK=1"                   \
#                  "-DWANT_STK=0"                             \
#                  "for Stk (Synthesis Toolkit) support"


