From 5b4350b6b9a23687016bbdf99c32caa90118a9c7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 28 Jul 2022 13:52:04 +0200 Subject: [PATCH] package/pulseaudio: fix speex dependency pulseaudio needs speexdsp, not speex resulting in the following build failure since commit 7752afbe4bb9fa1def5ba89daf21564ea58af79a which explicitly enable or disable speex: ../output-1/build/pulseaudio-16.1/meson.build:713:2: ERROR: Dependency "speexdsp" not found, tried pkgconfig and cmake Fixes: - http://autobuild.buildroot.org/results/8d4c5d5bfd65744753ca75180dd45a01c90f0b91 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/pulseaudio/pulseaudio.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk index 7b2d362316..8c4b99b6ff 100644 --- a/package/pulseaudio/pulseaudio.mk +++ b/package/pulseaudio/pulseaudio.mk @@ -162,9 +162,11 @@ else PULSEAUDIO_CONF_OPTS += -Dx11=disabled endif -ifeq ($(BR2_PACKAGE_SPEEX),y) +# This is not a mistake: the option is called speex, but what it +# really needs is speexdsp +ifeq ($(BR2_PACKAGE_SPEEXDSP),y) PULSEAUDIO_CONF_OPTS += -Dspeex=enabled -PULSEAUDIO_DEPENDENCIES += speex +PULSEAUDIO_DEPENDENCIES += speexdsp else PULSEAUDIO_CONF_OPTS += -Dspeex=disabled endif