e7eaecedc6
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".
24 lines
799 B
Meson
24 lines
799 B
Meson
option('drivers',
|
|
description: 'Drivers to integrate, "default" selects the default set, "all" selects all drivers',
|
|
type: 'string',
|
|
value: 'default')
|
|
option('introspection',
|
|
description: 'Build GObject Introspection repository',
|
|
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',
|
|
value: 'auto')
|
|
option('gtk-examples',
|
|
description: 'Whether to build GTK+ example applications',
|
|
type: 'boolean',
|
|
value: false)
|
|
option('doc',
|
|
description: 'Whether to build the API documentation',
|
|
type: 'boolean',
|
|
value: true)
|