mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Enable lirc module, add lirc dependency
This is unlike the autotools where we check that a header exist, here we use pkgconfig because upstream ships a pkgconfig. I don't know from which version though... Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
cf1795bccc
commit
14486eb08c
2 changed files with 11 additions and 1 deletions
|
|
@ -248,6 +248,11 @@ if fftw_dep.found()
|
|||
cdata.set('HAVE_FFTW', 1)
|
||||
endif
|
||||
|
||||
lirc_dep = dependency('lirc', required : false)
|
||||
if lirc_dep.found()
|
||||
cdata.set('HAVE_LIRC', 1)
|
||||
endif
|
||||
|
||||
openssl_dep = dependency('openssl', version : '>= 0.9', required : false)
|
||||
if openssl_dep.found()
|
||||
cdata.set('HAVE_OPENSSL', 1)
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ all_modules = [
|
|||
[ 'module-intended-roles', 'module-intended-roles.c' ],
|
||||
[ 'module-jackdbus-detect', 'jack/module-jackdbus-detect.c', [], [], [dbus_dep] ],
|
||||
# [ 'module-ladspa-sink', 'module-ladspa-sink.c' ],
|
||||
# [ 'module-lirc', 'module-lirc.c' ],
|
||||
[ 'module-loopback', 'module-loopback.c' ],
|
||||
[ 'module-match', 'module-match.c' ],
|
||||
[ 'module-native-protocol-fd', 'module-native-protocol-fd.c', [], [], [], libprotocol_native ],
|
||||
|
|
@ -127,6 +126,12 @@ if jack_dep.found()
|
|||
]
|
||||
endif
|
||||
|
||||
if lirc_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-lirc', 'module-lirc.c', [], [], [lirc_dep] ],
|
||||
]
|
||||
endif
|
||||
|
||||
if openssl_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-raop-sink', 'raop/module-raop-sink.c', [], [], [], libraop ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue