Explorar o código

qt: use depends on for gstreamer

Gstreamer has complicated dependencies (because of glib2), so use
depends on rather than select. At the same time default phonon support
to Y if gstreamer is available, as this support is likely wanted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard %!s(int64=15) %!d(string=hai) anos
pai
achega
4059a814bb
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      package/qt/Config.in

+ 5 - 1
package/qt/Config.in

@@ -263,13 +263,17 @@ endif
 
 config BR2_PACKAGE_QT_PHONON
 	bool "Phonon Module"
-	select BR2_PACKAGE_GSTREAMER
+	depends on BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_GST_PLUGINS_BASE
+	default y
 	help
 	  Build the Phonon module. Support for different audio/video
 	  formats can be configured at the GStreamer package.
 	  If unsure, say n.
 
+comment "Phonon module needs gstreamer"
+	depends on !BR2_PACKAGE_GSTREAMER
+
 config BR2_PACKAGE_QT_PHONON_BACKEND
 	bool "Phonon Module Backend"
 	depends on BR2_PACKAGE_QT_PHONON