Browse Source

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 <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 3 years ago
parent
commit
5b4350b6b9
1 changed files with 4 additions and 2 deletions
  1. 4 2
      package/pulseaudio/pulseaudio.mk

+ 4 - 2
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