summaryrefslogtreecommitdiff
path: root/package/mediastreamer/mediastreamer.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mediastreamer/mediastreamer.mk')
-rw-r--r--package/mediastreamer/mediastreamer.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk
index 047509ee5..cf2519668 100644
--- a/package/mediastreamer/mediastreamer.mk
+++ b/package/mediastreamer/mediastreamer.mk
@@ -27,6 +27,13 @@ else
MEDIASTREAMER_CONF_OPTS += --disable-upnp
endif
+ifeq ($(BR2_PACKAGE_OPUS),y)
+MEDIASTREAMER_CONF_OPTS += --enable-opus
+MEDIASTREAMER_DEPENDENCIES += opus
+else
+MEDIASTREAMER_CONF_OPTS += --disable-opus
+endif
+
# portaudio backend needs speex as well
ifeq ($(BR2_PACKAGE_PORTAUDIO)$(BR2_PACKAGE_SPEEX),yy)
MEDIASTREAMER_CONF_OPTS += --enable-portaudio