Commit 14486eb0 authored by Arnaud Rebillout's avatar Arnaud Rebillout Committed by Arun Raghavan
Browse files

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: default avatarArnaud Rebillout <arnaud.rebillout@collabora.com>
parent cf1795bc
......@@ -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 ],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment