From: Romain Naour Date: Sat, 3 Dec 2016 12:17:35 +0000 (+0100) Subject: package/aubio: add libsndfile optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06d8abd0908524d6623958612e5ba8093ab5d921;p=buildroot.git package/aubio: add libsndfile optional dependency Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index aa4ddd0fce..e1694ab64d 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -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))