Przeglądaj źródła

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 15 lat temu
rodzic
commit
4059a814bb
1 zmienionych plików z 5 dodań i 1 usunięć
  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