mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make equalizer-sink modulde depend on fftw, add fftw dependency
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
026768311b
commit
5c1a9bb10f
2 changed files with 12 additions and 1 deletions
|
|
@ -227,6 +227,12 @@ endif
|
|||
cdata.set('DISABLE_ORC', 1)
|
||||
|
||||
# Module dependencies
|
||||
|
||||
fftw_dep = dependency('fftw3f', required : false)
|
||||
if fftw_dep.found()
|
||||
cdata.set('HAVE_FFTW', 1)
|
||||
endif
|
||||
|
||||
udev_dep = dependency('libudev', version : '>= 143', required : false)
|
||||
if udev_dep.found()
|
||||
cdata.set('HAVE_UDEV', 1)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ all_modules = [
|
|||
[ 'module-device-manager', 'module-device-manager.c' ],
|
||||
[ 'module-device-restore', 'module-device-restore.c', [], [], [dbus_dep], libprotocol_native ],
|
||||
# [ 'module-echo-cancel', 'module-echo-cancel.c' ],
|
||||
[ 'module-equalizer-sink', 'module-equalizer-sink.c', [], [], [dbus_dep] ],
|
||||
[ 'module-esound-compat-spawnfd', 'module-esound-compat-spawnfd.c' ],
|
||||
[ 'module-esound-compat-spawnpid', 'module-esound-compat-spawnpid.c' ],
|
||||
# [ 'module-esound-protocol-tcp', 'module-protocol-stub.c' ],
|
||||
|
|
@ -99,6 +98,12 @@ if alsa_dep.found()
|
|||
]
|
||||
endif
|
||||
|
||||
if fftw_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-equalizer-sink', 'module-equalizer-sink.c', [], [], [dbus_dep, fftw_dep] ],
|
||||
]
|
||||
endif
|
||||
|
||||
if systemd_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-systemd-login', 'module-systemd-login.c', [], [], [systemd_dep] ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue