pulseaudio: gtk supports needs x backend
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 26 Oct 2011 05:46:40 +0000 (07:46 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 26 Oct 2011 05:46:40 +0000 (07:46 +0200)
Uses X11 specific apis.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/pulseaudio/pulseaudio.mk

index b73c10385507f8c703ab2838e7628abb2df9ff44..5e68dfbaebd54b7b725a879ccfd539d766cf4981 100644 (file)
@@ -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