mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
data: Use auto-generated but hardcoded autosuspend hwdb file
This solves various problems: 1. It stays the same also if some drivers have been disabled 2. It uses a stable path for being imported by systemd 3. It is still checked for its validity by tests 4. It can be auto-generated using a simple command
This commit is contained in:
12
meson.build
12
meson.build
@@ -135,6 +135,18 @@ if drivers.length() == 0 or drivers[0] == ''
|
||||
error('Cannot build libfprint without drivers, please specify a valid value for the drivers option')
|
||||
endif
|
||||
|
||||
if drivers == all_drivers or drivers == default_drivers
|
||||
default_drivers_are_enabled = true
|
||||
else
|
||||
default_drivers_are_enabled = true
|
||||
foreach driver: default_drivers
|
||||
if driver not in drivers
|
||||
default_drivers_are_enabled = false
|
||||
break
|
||||
endif
|
||||
endforeach
|
||||
endif
|
||||
|
||||
nss_dep = dependency('', required: false)
|
||||
imaging_dep = dependency('', required: false)
|
||||
libfprint_conf.set10('HAVE_PIXMAN', false)
|
||||
|
||||
Reference in New Issue
Block a user