summaryrefslogtreecommitdiff
path: root/package/sox
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-02-25 10:06:26 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-02-25 17:30:07 +0100
commit34efcd0db73e32b8ab25f7cbd67ac35e5ffcdff2 (patch)
tree704c0fd8ed83134b587fc7d8dd3ea9776fc41890 /package/sox
parentb579027ef36735374967c056dbb384c233ae0ae6 (diff)
sox: add optional opus file support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sox')
-rw-r--r--package/sox/sox.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/sox/sox.mk b/package/sox/sox.mk
index ac8969153..cd5fbb677 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