gst-plugins-bad: add zbar plugin
authorVolkov Viacheslav <sv99@inbox.ru>
Thu, 29 Oct 2015 06:45:48 +0000 (09:45 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Dec 2015 11:46:12 +0000 (12:46 +0100)
Add gstreamer zbar plugin.

Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gstreamer/gst-plugins-bad/Config.in
package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk

index 6aa93de548932791a45f68da939c681802f4692f..3bfd12b52f4acfead5d3288029829f0b53c5c415 100644 (file)
@@ -319,4 +319,8 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VP8
        bool "vp8"
        select BR2_PACKAGE_LIBVPX
 
+config BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR
+       bool "zbar"
+       select BR2_PACKAGE_ZBAR
+
 endif
index fa2f124f90aa9234f3a14d5c81590f07682aeccc..98e5c1cfb86c4228a2284b8d73d986c262668999 100644 (file)
@@ -588,4 +588,11 @@ else
 GST_PLUGINS_BAD_CONF_OPTS += --disable-vp8
 endif
 
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR),y)
+GST_PLUGINS_BAD_CONF_OPTS += --enable-zbar
+GST_PLUGINS_BAD_DEPENDENCIES += zbar
+else
+GST_PLUGINS_BAD_CONF_OPTS += --disable-zbar
+endif
+
 $(eval $(autotools-package))