package/gstreamer1/gst1-plugins-bad: add zxing plugin support
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
456a739831
commit
11b2ab5ee2
@ -738,6 +738,15 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0"
|
|||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
||||||
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
|| !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
|
endif
|
||||||
|
|
||||||
comment "gst1-plugins-bad needs a toolchain w/ C++"
|
comment "gst1-plugins-bad needs a toolchain w/ C++"
|
||||||
|
@ -70,7 +70,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
|
|||||||
-Dsvthevcenc=disabled \
|
-Dsvthevcenc=disabled \
|
||||||
-Dtranscode=disabled \
|
-Dtranscode=disabled \
|
||||||
-Dwasapi2=disabled \
|
-Dwasapi2=disabled \
|
||||||
-Dzxing=disabled \
|
|
||||||
-Dmagicleap=disabled \
|
-Dmagicleap=disabled \
|
||||||
-Disac=disabled \
|
-Disac=disabled \
|
||||||
-Diqa=disabled \
|
-Diqa=disabled \
|
||||||
@ -812,6 +811,13 @@ else
|
|||||||
GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled
|
GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled
|
||||||
endif
|
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.
|
# Add GPL license if GPL licensed plugins enabled.
|
||||||
ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
|
ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
|
||||||
GST1_PLUGINS_BAD_CONF_OPTS += -Dgpl=enabled
|
GST1_PLUGINS_BAD_CONF_OPTS += -Dgpl=enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user