package/aubio: add libsndfile 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:35 +01:00 committed by Thomas Petazzoni
parent 280bb68076
commit 06d8abd090

View File

@ -16,9 +16,15 @@ AUBIO_CONF_OPTS = \
--disable-atlas \
--disable-samplerate \
--disable-avcodec \
--disable-sndfile \
--disable-jack \
--disable-fftw3 \
--disable-fftw3f
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
AUBIO_DEPENDENCIES += libsndfile
AUBIO_CONF_OPTS += --enable-sndfile
else
AUBIO_CONF_OPTS += --disable-sndfile
endif
$(eval $(waf-package))