mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
meson: Autodetect whether autosuspend rules are provided by udev
Upstream systemd/udev is pulling our autosuspend hwdb, so if udev is new enough, then there is no need to install the file. As such, add auto-detection logic for the scenario. This also changes the name of the option and the type to "feature".
This commit is contained in:
committed by
Benjamin Berg
parent
52d0409241
commit
e7eaecedc6
@@ -6,10 +6,10 @@ option('introspection',
|
||||
description: 'Build GObject Introspection repository',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
option('udev_rules',
|
||||
description: 'Whether to create a udev rules file',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
option('udev_hwdb',
|
||||
description: 'Whether to create a udev hwdb',
|
||||
type: 'feature',
|
||||
value: 'auto')
|
||||
option('udev_hwdb_dir',
|
||||
description: 'Installation path for udev hwdb',
|
||||
type: 'string',
|
||||
|
||||
Reference in New Issue
Block a user