[Buildroot] [git commit] package/aubio: add jack2 optional dependency

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 4 15:22:11 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=3909197ace8db3f6e61c5e025fb43266968b3435
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/aubio/aubio.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk
index ed00088..7aac6e5 100644
--- a/package/aubio/aubio.mk
+++ b/package/aubio/aubio.mk
@@ -15,7 +15,6 @@ AUBIO_CONF_OPTS = \
 	--disable-docs \
 	--disable-atlas \
 	--disable-avcodec \
-	--disable-jack \
 	--disable-fftw3 \
 	--disable-fftw3f
 
@@ -33,4 +32,11 @@ else
 AUBIO_CONF_OPTS += --disable-samplerate
 endif
 
+ifeq ($(BR2_PACKAGE_JACK2),y)
+AUBIO_DEPENDENCIES += jack2
+AUBIO_CONF_OPTS += --enable-jack
+else
+AUBIO_CONF_OPTS += --disable-jack
+endif
+
 $(eval $(waf-package))


More information about the buildroot mailing list