Commit d52deb9a authored by Romain Naour's avatar Romain Naour Committed by Peter Korsgaard
Browse files

package/gstreamer/zbar-plugin: propagate dependencies from zbar



BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR select BR2_PACKAGE_ZBAR which
has several dependencies from libv4l.

Propagate these dependencies to avoid unmet dependencies while
selecting BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR.

[Peter: show comment if toolchain dependencies aren't available]
Signed-off-by: default avatarRomain Naour <romain.naour@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent d222f6d0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -322,6 +322,16 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VP8

config BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR
	bool "zbar"
	depends on BR2_TOOLCHAIN_HAS_THREADS # zbar-> libv4l
	depends on BR2_USE_MMU # zbar-> libv4l
	depends on !BR2_STATIC_LIBS # zbar-> libv4l
	depends on BR2_INSTALL_LIBSTDCPP # zbar-> libv4l
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # zbar-> libv4l
	select BR2_PACKAGE_ZBAR

comment "zbar plugin needs a toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

endif