summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-26 07:46:40 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-26 07:46:40 +0200
commit6fe0b202a21d5d0899e691df3feab0686b6cfab9 (patch)
tree95721d657d3fa3f9616ea97b6cdebaa916fd5c8f
parent2e1e0191d67d989eef5bcbf1919e5e46e42a513c (diff)
downloadbuildroot-novena-6fe0b202a21d5d0899e691df3feab0686b6cfab9.tar.gz
buildroot-novena-6fe0b202a21d5d0899e691df3feab0686b6cfab9.zip
pulseaudio: gtk supports needs x backend
Uses X11 specific apis. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/pulseaudio/pulseaudio.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/multimedia/pulseaudio/pulseaudio.mk b/package/multimedia/pulseaudio/pulseaudio.mk
index b73c10385..5e68dfbae 100644
--- a/package/multimedia/pulseaudio/pulseaudio.mk
+++ b/package/multimedia/pulseaudio/pulseaudio.mk
@@ -34,6 +34,11 @@ ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
PULSEAUDIO_CONF_OPT += --disable-alsa
endif
+# gtk support needs x backend
+ifneq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG),yy)
+PULSEAUDIO_CONF_OPT += --disable-gtk2
+endif
+
ifneq ($(BR2_PACKAGE_VALA),y)
define PULSEAUDIO_REMOVE_VALA
rm -rf $(TARGET_DIR)/usr/share/vala