From 34efcd0db73e32b8ab25f7cbd67ac35e5ffcdff2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 25 Feb 2015 10:06:26 -0300 Subject: [PATCH] sox: add optional opus file support Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/sox/sox.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/sox/sox.mk b/package/sox/sox.mk index ac89691537..cd5fbb677e 100644 --- a/package/sox/sox.mk +++ b/package/sox/sox.mk @@ -78,6 +78,12 @@ else SOX_CONF_OPTS += --without-amrwb --without-amrnb endif +ifeq ($(BR2_PACKAGE_OPUSFILE),y) +SOX_DEPENDENCIES += opusfile +else +SOX_CONF_OPTS += --without-opus +endif + ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) SOX_DEPENDENCIES += pulseaudio else -- 2.30.2