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:
parent
06d8abd090
commit
ee586c356d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user