Generate a hwdb instead of udev rules

We only use the rules/hwdb to enable auto-suspend. So, instead of
shipping our own rules, we can just use the existing autosuspend rules
and ship a hwdb that sets the appropriate flag.

Closes: #336
This commit is contained in:
Benjamin Berg
2021-01-19 14:13:03 +01:00
parent 16095a21fd
commit 55a2bb5536
5 changed files with 20 additions and 17 deletions

View File

@@ -10,8 +10,8 @@ option('udev_rules',
description: 'Whether to create a udev rules file',
type: 'boolean',
value: true)
option('udev_rules_dir',
description: 'Installation path for udev rules',
option('udev_hwdb_dir',
description: 'Installation path for udev hwdb',
type: 'string',
value: 'auto')
option('gtk-examples',