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>
This commit is contained in:
Peter Korsgaard 2010-05-25 22:54:42 +02:00
parent d874b08abc
commit 4059a814bb

View File

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