Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qt: fix alsa-lib dependency
@ 2010-07-21 21:20 luca at lucaceresoli.net
  2010-07-26 19:46 ` Luca Ceresoli
  0 siblings, 1 reply; 3+ messages in thread
From: luca at lucaceresoli.net @ 2010-07-21 21:20 UTC (permalink / raw)
  To: buildroot

From: Luca Ceresoli <luca@lucaceresoli.net>

If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend
to be already in staging in order to compile.
The backend is system-dependent, but since buildroot builds Linux systems
only, it is safe to assume that the it will be always ALSA.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
 package/qt/Config.in |    3 ++-
 package/qt/qt.mk     |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/package/qt/Config.in b/package/qt/Config.in
index b09d642..93a8ab1 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -311,8 +311,9 @@ config BR2_PACKAGE_QT_MULTIMEDIA
 config BR2_PACKAGE_QT_AUDIO_BACKEND
 	bool "QtMultimedia Audio backend"
 	depends on BR2_PACKAGE_QT_MULTIMEDIA
+	select BR2_PACKAGE_ALSA_LIB
 	help
-	  Build the platform audio backend into QtMultimedia if available
+	  Build the ALSA audio backend into QtMultimedia
 
 config BR2_PACKAGE_QT_SVG
 	bool "SVG Module"
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 864e79b..baf6539 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -312,6 +312,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_QT_AUDIO_BACKEND),y)
 QT_CONFIGURE+= -audio-backend
+QT_DEP_LIBS+=alsa-lib
 else
 QT_CONFIGURE+= -no-audio-backend
 endif
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] qt: fix alsa-lib dependency
  2010-07-21 21:20 [Buildroot] [PATCH] qt: fix alsa-lib dependency luca at lucaceresoli.net
@ 2010-07-26 19:46 ` Luca Ceresoli
  2010-07-26 20:53   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Ceresoli @ 2010-07-26 19:46 UTC (permalink / raw)
  To: buildroot

luca at lucaceresoli.net wrote:
> From: Luca Ceresoli <luca@lucaceresoli.net>
>
> If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend
> to be already in staging in order to compile.
> The backend is system-dependent, but since buildroot builds Linux systems
> only, it is safe to assume that the it will be always ALSA.
>   

Peter, are you considering this for 2010.08?

Thanks,
Luca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] qt: fix alsa-lib dependency
  2010-07-26 19:46 ` Luca Ceresoli
@ 2010-07-26 20:53   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-07-26 20:53 UTC (permalink / raw)
  To: buildroot

>>>>> "Luca" == Luca Ceresoli <list@lucaceresoli.net> writes:

 Luca> luca at lucaceresoli.net wrote:
 >> From: Luca Ceresoli <luca@lucaceresoli.net>
 >> 
 >> If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend
 >> to be already in staging in order to compile.
 >> The backend is system-dependent, but since buildroot builds Linux systems
 >> only, it is safe to assume that the it will be always ALSA.
 >> 

 Luca> Peter, are you considering this for 2010.08?

Yes, committed - Thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-26 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 21:20 [Buildroot] [PATCH] qt: fix alsa-lib dependency luca at lucaceresoli.net
2010-07-26 19:46 ` Luca Ceresoli
2010-07-26 20:53   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox