[Buildroot] [git commit] opus-tools: disable flac when it is not selected

Peter Korsgaard jacmet at sunsite.dk
Tue Sep 10 19:49:25 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=685e50f5171eea2ad560523ff31d38ff6e3c0376
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

opus-tools expects flac since the 0.1.7 bump unless otherwise told so.
Disable it when it's not selected. Fixes:
http://autobuild.buildroot.net/results/c8c/c8c1a682336c150ee401f76b173944611b96bd4e/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/opus-tools/opus-tools.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/package/opus-tools/opus-tools.mk b/package/opus-tools/opus-tools.mk
index bb11a19..f4dee74 100644
--- a/package/opus-tools/opus-tools.mk
+++ b/package/opus-tools/opus-tools.mk
@@ -19,4 +19,10 @@ else
 OPUS_TOOLS_CONF_OPT += --disable-sse
 endif
 
+ifeq ($(BR2_PACKAGE_FLAC),y)
+OPUS_TOOLS_DEPENDENCIES += flac
+else
+OPUS_TOOLS_CONF_OPT += --without-flac
+endif
+
 $(eval $(autotools-package))


More information about the buildroot mailing list