Skip to contentSkip to conversation

qt: fix alsa-lib dependency

PATCH New luca at lucaceresoli.net 3 participants 3 messages Jul 21, 2010 – Jul 26, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt: fix alsa-lib dependency

From: Luca Ceresoli <[email protected]>

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.

---
 package/qt/Config.in |    3 ++-
 package/qt/qt.mk     |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)
package/qt/Config.in +2 -1
index b09d642..93a8ab1 100644
@@ -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"
package/qt/qt.mk +1 -0
index 864e79b..baf6539 100644
@@ -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
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 qt: fix alsa-lib dependency

Quoted 7 lines · luca at lucaceresoli.net

From: Luca Ceresoli <[email protected]>

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

#2 lore raw

PATCH 1/1 qt: fix alsa-lib dependency

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Luca" == Luca Ceresoli <[email protected]> writes:

Quoted 7 lines · Luca> luca at lucaceresoli.net wrote:
Quoted 7 lines

From: Luca Ceresoli <[email protected]>

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.

Signature · 1 line
Bye, Peter Korsgaard