summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/multimedia/gst-plugins-bad/Config.in4
-rw-r--r--package/multimedia/gst-plugins-bad/gst-plugins-bad.mk7
2 files changed, 11 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-bad/Config.in b/package/multimedia/gst-plugins-bad/Config.in
index cb50fbd84..cde3ab81a 100644
--- a/package/multimedia/gst-plugins-bad/Config.in
+++ b/package/multimedia/gst-plugins-bad/Config.in
@@ -277,6 +277,10 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_NEON
bool "neon"
select BR2_PACKAGE_NEON
+config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_OPUS
+ bool "opus"
+ select BR2_PACKAGE_OPUS
+
config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG
bool "rsvg"
depends on BR2_PACKAGE_LIBGTK2
diff --git a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
index ad8b50957..6bdcf1028 100644
--- a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
+++ b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
@@ -528,6 +528,13 @@ else
GST_PLUGINS_BAD_CONF_OPT += --disable-neon
endif
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_OPUS),y)
+GST_PLUGINS_BAD_CONF_OPT += --enable-opus
+GST_PLUGINS_BAD_DEPENDENCIES += opus
+else
+GST_PLUGINS_BAD_CONF_OPT += --disable-opus
+endif
+
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG),y)
GST_PLUGINS_BAD_CONF_OPT += --enable-rsvg
GST_PLUGINS_BAD_DEPENDENCIES += librsvg