package/pulseaudio: fix speex dependency

pulseaudio needs speexdsp, not speex resulting in the following build
failure since commit 7752afbe4b 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 <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-07-28 13:52:04 +02:00 committed by Thomas Petazzoni
parent 543333ecae
commit 5b4350b6b9

View File

@ -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