sox: add optional opus file support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 25 Feb 2015 13:06:26 +0000 (10:06 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Feb 2015 16:30:07 +0000 (17:30 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sox/sox.mk

index ac8969153718a635f50fb287710a5bb8aac3b81d..cd5fbb677eb2fff81b6c4d9c978923d347c2f002 100644 (file)
@@ -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