. "$GRIMOIRE"/VDEPENDS &&
source $GRIMOIRE/QT_DEPENDS &&
if is_depends_enabled qt6base; then
  OPTS+=' -DUSE_QT6=ON'
fi &&
# Due to STL-related issues we need GCC >= 15.1.0
vdepends <<-! &&
	alsa-lib
	dssi
	FFTW
	gcc >= 15.1.0
	ladspa
	liblo
	liblrdf
	libsamplerate
	libxt
	zlib
!
optional_depends  JACK-DRIVER '' '' '' &&
optional_depends  libsndfile '' '' 'Better support for WAV files' &&
optional_depends  libxft  \
                  ""      \
                  ""      \
                  "for better score rendering quality"  &&

optional_depends  lirc             \
                  ""  \
                  "-DDISABLE_LIRC=1"  \
                  "for remote control support"
