Explorar o código

package/multimedia/gst-plugins-good/Config.in

Use select instead of depends on as it makes clear what people 
need rather than hiding options based on choices they dont
know they need to make.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
Daniel Laird %!s(int64=16) %!d(string=hai) anos
pai
achega
6d496c4e6a
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      package/multimedia/gst-plugins-good/Config.in

+ 4 - 3
package/multimedia/gst-plugins-good/Config.in

@@ -72,7 +72,8 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LEVEL
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
 	bool "matroska"
-	depends on BR2_PACKAGE_BZIP2 && BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_BZIP2
+	select BR2_PACKAGE_ZLIB
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MONOSCOPE
 	bool "monoscope"
@@ -131,7 +132,7 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ESD
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_JPEG
 	bool "jpeg (JPEG support)"
-	depends on BR2_PACKAGE_JPEG
+	select BR2_PACKAGE_JPEG
 	default y
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
@@ -139,6 +140,6 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PNG
 	bool "png (PNG support)"
-	depends on BR2_PACKAGE_LIBPNG
+	select BR2_PACKAGE_LIBPNG
 	default y
 endif