From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/6] package/aubio: add libsndfile optional dependency
Date: Sat, 3 Dec 2016 13:17:35 +0100 [thread overview]
Message-ID: <1480767459-17230-2-git-send-email-romain.naour@gmail.com> (raw)
In-Reply-To: <1480767459-17230-1-git-send-email-romain.naour@gmail.com>
Signed-off-by: Romain Naour <romain.naour@gmail.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 aa4ddd0..e1694ab 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))
--
2.5.5
next prev parent reply other threads:[~2016-12-03 12:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-03 12:17 [Buildroot] [PATCH 1/6] package/aubio: new package Romain Naour
2016-12-03 12:17 ` Romain Naour [this message]
2016-12-04 15:22 ` [Buildroot] [PATCH 2/6] package/aubio: add libsndfile optional dependency Thomas Petazzoni
2016-12-03 12:17 ` [Buildroot] [PATCH 3/6] package/aubio: add libsamplerate " Romain Naour
2016-12-03 12:17 ` [Buildroot] [PATCH 4/6] package/aubio: add jack2 " Romain Naour
2016-12-03 12:17 ` [Buildroot] [PATCH 5/6] package/aubio: add fftw " Romain Naour
2016-12-03 12:17 ` [Buildroot] [PATCH 6/6] package/aubio: add ffmpeg libav " Romain Naour
2016-12-04 15:21 ` [Buildroot] [PATCH 1/6] package/aubio: new package Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480767459-17230-2-git-send-email-romain.naour@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox