Explorar o código

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>
Romain Naour %!s(int64=8) %!d(string=hai) anos
pai
achega
06d8abd090
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      package/aubio/aubio.mk

+ 7 - 1
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))