mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Enable mmkbd-evdev module
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
ceba420257
commit
cf1795bccc
1 changed files with 10 additions and 1 deletions
|
|
@ -44,7 +44,6 @@ all_modules = [
|
|||
# [ 'module-lirc', 'module-lirc.c' ],
|
||||
[ 'module-loopback', 'module-loopback.c' ],
|
||||
[ 'module-match', 'module-match.c' ],
|
||||
# [ 'module-mmkbd-evdev', 'module-mmkbd-evdev.c' ],
|
||||
[ 'module-native-protocol-fd', 'module-native-protocol-fd.c', [], [], [], libprotocol_native ],
|
||||
[ 'module-native-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_TCP_SOCKETS'], [], libprotocol_native ],
|
||||
[ 'module-native-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_UNIX_SOCKETS'], [], libprotocol_native ],
|
||||
|
|
@ -82,6 +81,16 @@ all_modules = [
|
|||
# [ 'module-waveout', 'module-waveout.c' ],
|
||||
]
|
||||
|
||||
# Modules enabled by headers
|
||||
|
||||
if cc.has_header('linux/input.h')
|
||||
all_modules += [
|
||||
[ 'module-mmkbd-evdev', 'module-mmkbd-evdev.c' ],
|
||||
]
|
||||
endif
|
||||
|
||||
# Modules enabled by dependencies
|
||||
|
||||
if alsa_dep.found()
|
||||
subdir('alsa')
|
||||
all_modules += [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue