@@ -727,6 +727,15 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0"
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+config BR2_PACKAGE_GST1_PLUGINS_BAD_ZXING
+ bool "zxing"
+ depends on !BR2_STATIC_LIBS # zxing-cpp
+ depends on BR2_INSTALL_LIBSTDCPP # zxing-cpp
+ select BR2_PACKAGE_ZXING_CPP
+
+comment "zxing plugin needs a toolchain w/ C++, dynamic library"
+ depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
+
endif
comment "gst1-plugins-bad needs a toolchain w/ C++"
@@ -70,7 +70,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
-Dsvthevcenc=disabled \
-Dtranscode=disabled \
-Dwasapi2=disabled \
- -Dzxing=disabled \
-Dmagicleap=disabled \
-Disac=disabled \
-Diqa=disabled \
@@ -802,6 +801,13 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_ZXING),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Dzxing=enabled
+GST1_PLUGINS_BAD_DEPENDENCIES += zxing-cpp
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Dzxing=disabled
+endif
+
# Add GPL license if GPL licensed plugins enabled.
ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgpl=enabled
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- package/gstreamer1/gst1-plugins-bad/Config.in | 9 +++++++++ package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-)