summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-09-11 23:21:56 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-11 23:21:56 +0200
commit5df8e364d00840ab8ea2d8ee0cfe574034b54c3c (patch)
tree653abcc5b93f5de8acd9dfc71863fc3ea50b3546
parent0bbb2eda9a810ac3e07a99c0042e246c24e74b2b (diff)
gst-plugin-bad: add opus option
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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