gst1-plugins-bad: depend on directfb instead of selecting it for directfb plugin
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 14 Sep 2015 19:40:55 +0000 (21:40 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 14 Sep 2015 19:43:45 +0000 (21:43 +0200)
As discussed here:
http://lists.busybox.net/pipermail/buildroot/2015-September/139213.html

It makes more sense to use 'depends on' (and default to y) for a big
dependency like directfb.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-bad/Config.in

index 590a9cf5c39d5b931fc74b9959317e1b8527b4b0..89066afdf913ad833951ed878dcc94fb2562975d 100644 (file)
@@ -492,13 +492,8 @@ comment "decklink needs a toolchain w/ C++"
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
        bool "directfb"
-       select BR2_PACKAGE_DIRECTFB
-       depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 # directfb
-
-comment "directfb needs a toolchain w/ C++, threads, gcc >= 4.5"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
+       depends on BR2_PACKAGE_DIRECTFB
+       default y
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
        bool "wayland"