From: Romain Naour Date: Sat, 3 Dec 2016 12:17:36 +0000 (+0100) Subject: package/aubio: add libsamplerate optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee586c356de65ffe10473fff471c1951208f6a64;p=buildroot.git package/aubio: add libsamplerate 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 e1694ab64d..ed00088a6a 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -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))