mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make speex optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
1286b798cc
commit
fe6d0d382f
2 changed files with 4 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ if openssl_dep.found()
|
||||||
cdata.set('HAVE_OPENSSL', 1)
|
cdata.set('HAVE_OPENSSL', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
speex_dep = dependency('speexdsp', version : '>= 1.2', required : false)
|
speex_dep = dependency('speexdsp', version : '>= 1.2', required : get_option('speex'))
|
||||||
if speex_dep.found()
|
if speex_dep.found()
|
||||||
cdata.set('HAVE_SPEEX', 1)
|
cdata.set('HAVE_SPEEX', 1)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,9 @@ option('lirc',
|
||||||
option('openssl',
|
option('openssl',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional OpenSSL support (used for Airtunes/RAOP)')
|
description : 'Optional OpenSSL support (used for Airtunes/RAOP)')
|
||||||
|
option('speex',
|
||||||
|
type : 'feature', value : 'auto',
|
||||||
|
description : 'Optional Speex support (resampling, AEC)')
|
||||||
option('systemd',
|
option('systemd',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional systemd support')
|
description : 'Optional systemd support')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue