mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Make lirc optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
d9b0c66e30
commit
911b12c150
2 changed files with 4 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ if jack_dep.found()
|
||||||
cdata.set('HAVE_JACK', 1)
|
cdata.set('HAVE_JACK', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lirc_dep = dependency('lirc', required : false)
|
lirc_dep = dependency('lirc', required : get_option('lirc'))
|
||||||
if lirc_dep.found()
|
if lirc_dep.found()
|
||||||
cdata.set('HAVE_LIRC', 1)
|
cdata.set('HAVE_LIRC', 1)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,9 @@ option('fftw',
|
||||||
option('jack',
|
option('jack',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional JACK support')
|
description : 'Optional JACK support')
|
||||||
|
option('lirc',
|
||||||
|
type : 'feature', value : 'auto',
|
||||||
|
description : 'Optional LIRC support')
|
||||||
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