mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
meson: Make udev optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
fe6d0d382f
commit
912a62c561
2 changed files with 4 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ if speex_dep.found()
|
||||||
cdata.set('HAVE_SPEEX', 1)
|
cdata.set('HAVE_SPEEX', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
udev_dep = dependency('libudev', version : '>= 143', required : false)
|
udev_dep = dependency('libudev', version : '>= 143', required : get_option('udev'))
|
||||||
if udev_dep.found()
|
if udev_dep.found()
|
||||||
cdata.set('HAVE_UDEV', 1)
|
cdata.set('HAVE_UDEV', 1)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,9 @@ option('speex',
|
||||||
option('systemd',
|
option('systemd',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional systemd support')
|
description : 'Optional systemd support')
|
||||||
|
option('udev',
|
||||||
|
type : 'feature', value : 'auto',
|
||||||
|
description : 'Optional udev support')
|
||||||
option('x11',
|
option('x11',
|
||||||
type : 'feature', value : 'auto',
|
type : 'feature', value : 'auto',
|
||||||
description : 'Optional X11 support')
|
description : 'Optional X11 support')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue