Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
AUBIO_CONF_OPTS = \
--disable-docs \
--disable-atlas \
- --disable-samplerate \
--disable-avcodec \
--disable-jack \
--disable-fftw3 \
AUBIO_CONF_OPTS += --disable-sndfile
endif
+ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
+AUBIO_DEPENDENCIES += libsamplerate
+AUBIO_CONF_OPTS += --enable-samplerate
+else
+AUBIO_CONF_OPTS += --disable-samplerate
+endif
+
$(eval $(waf-package))