aboutsummaryrefslogtreecommitdiff
path: root/package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk')
-rw-r--r--package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk b/package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk
index fa2f124f90..98e5c1cfb8 100644
--- a/package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk
+++ b/package/gstreamer/gst-plugins-bad/gst-plugins-bad.mk
@@ -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))