PKGNAME=linuxsampler
PKGSEC=sound
PKGDEP="libgig sqlite jack perl-xml-parser"
BUILDDEP="dssi bison flex ladspa-sdk"
PKGDES="Sampler backend, including sampler engine, audio and MIDI drivers, network layer (LSCP) API and native C++ API"

ABTYPE=autotools
AUTOTOOLS_AFTER=(
    "--prefix=/usr"
    "--enable-default-instruments-db-location=$PKGDIR/var/lib/linuxsampler/instruments.db"
)
ABSHADOW=0
NOPARALLEL=1

# FIXME:
# RTMath.cpp:85:8: error: #error "Sorry, LinuxSampler lacks time stamp code for your system."
# RTMath.cpp:86:8: error: #error "Please report this error and the CPU you are using to the LinuxSampler developers mailing list!" 
FAIL_ARCH="@(loongarch64|loongarch64_nosimd|loongson3|riscv64)"
