summaryrefslogtreecommitdiff
path: root/package/gstreamer
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-01-01 19:34:17 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-01-01 19:55:42 +0100
commitd52deb9a9f1af9cfc8b4fed9ff9189eff29d2788 (patch)
treefeb9a7f0a163b56d7a88b1d64496001a7addf366 /package/gstreamer
parentd222f6d06e1799778fc2ffde53f011370c3e3ea6 (diff)
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: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gstreamer')
-rw-r--r--package/gstreamer/gst-plugins-bad/Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/gstreamer/gst-plugins-bad/Config.in b/package/gstreamer/gst-plugins-bad/Config.in
index e2a67f135..43849e2a7 100644
--- a/package/gstreamer/gst-plugins-bad/Config.in
+++ b/package/gstreamer/gst-plugins-bad/Config.in
@@ -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