aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-25 18:01:35 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-25 18:01:35 +0200
commit2e1e0191d67d989eef5bcbf1919e5e46e42a513c (patch)
tree6abe96e62a6055ad1940263fe7d13e1f1642ecad /package
parent28eeaba8eaa217b7b39175a132b26c7803f2a8bd (diff)
downloadbuildroot-novena-2e1e0191d67d989eef5bcbf1919e5e46e42a513c.tar.gz
buildroot-novena-2e1e0191d67d989eef5bcbf1919e5e46e42a513c.zip
pulseaudio: alsa backend needs pcm+mixer apis
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-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 0686d39ae..b73c10385 100644
--- a/package/multimedia/pulseaudio/pulseaudio.mk
+++ b/package/multimedia/pulseaudio/pulseaudio.mk
@@ -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