package/aubio: add libsamplerate optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Romain Naour 2016-12-03 13:17:36 +01:00 committed by Thomas Petazzoni
parent 06d8abd090
commit ee586c356d

View File

@ -14,7 +14,6 @@ AUBIO_INSTALL_STAGING = YES
AUBIO_CONF_OPTS = \
--disable-docs \
--disable-atlas \
--disable-samplerate \
--disable-avcodec \
--disable-jack \
--disable-fftw3 \
@ -27,4 +26,11 @@ else
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))