From 9b296904ee764ef2f5dbb620f6bf487fe540580b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 26 Jul 2022 22:16:47 +0200 Subject: [PATCH] package/pulseaudio: alsa needs UCM alsa needs UCM since bump to version 16.1 in commit 6f3131296484767f037d3535ab69f328e94351db to avoid the following build failure: In file included from ../src/modules/alsa/alsa-mixer.h:51, from ../src/modules/alsa/alsa-ucm.c:51: ../src/modules/alsa/alsa-ucm.h:26:10: fatal error: alsa/use-case.h: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c651c03bc493ac721ad6517ace550237488ef8a8 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/pulseaudio/pulseaudio.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk index b423057ab6..567540c225 100644 --- a/package/pulseaudio/pulseaudio.mk +++ b/package/pulseaudio/pulseaudio.mk @@ -105,8 +105,8 @@ else PULSEAUDIO_CONF_OPTS += -Dwebrtc-aec=disabled endif -# pulseaudio alsa backend needs pcm/mixer apis -ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy) +# pulseaudio alsa backend needs pcm/mixer/ucm apis +ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_UCM),yyy) PULSEAUDIO_DEPENDENCIES += alsa-lib PULSEAUDIO_CONF_OPTS += -Dalsa=enabled else