pulseaudio: alsa backend needs pcm+mixer apis
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 25 Oct 2011 16:01:35 +0000 (18:01 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 25 Oct 2011 16:01:35 +0000 (18:01 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/pulseaudio/pulseaudio.mk

index 0686d39aee0bcbc5fb83523882530ac279ad6b4c..b73c10385507f8c703ab2838e7628abb2df9ff44 100644 (file)
@@ -29,6 +29,11 @@ PULSEAUDIO_DEPENDENCIES = \
        $(if $(BR2_PACKAGE_FFTW),fftw) \
        $(if $(BR2_PACKAGE_ORC),orc)
 
+# pulseaudio alsa backend needs pcm/mixer apis
+ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
+PULSEAUDIO_CONF_OPT += --disable-alsa
+endif
+
 ifneq ($(BR2_PACKAGE_VALA),y)
 define PULSEAUDIO_REMOVE_VALA
        rm -rf $(TARGET_DIR)/usr/share/vala