gst-plugin-bad: add opus option
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Sep 2012 21:21:56 +0000 (23:21 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Sep 2012 21:21:56 +0000 (23:21 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/gst-plugins-bad/Config.in
package/multimedia/gst-plugins-bad/gst-plugins-bad.mk

index cb50fbd84c5c22f609154b587d0457b82c28ac57..cde3ab81a2e78c089710ebc144808d0bc080a8aa 100644 (file)
@@ -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
index ad8b509576aa79e2584d95de2ef25ab883a05019..6bdcf1028984d3f13d92c06a845c585d25f4fb0d 100644 (file)
@@ -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