mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-15 00:44:25 +09:00
libfprint/fprint-list-metainfo: Generate AppStream metainfo
UI tools can use this information to see what package provides support for specific devices, so let's provide the data since we have it.
This commit is contained in:
committed by
Marco Trevisan
parent
ee73d67765
commit
385bc5e384
@@ -327,6 +327,21 @@ udev_hwdb_generator = custom_target('udev-hwdb',
|
||||
install: false,
|
||||
)
|
||||
|
||||
metainfo = executable('fprint-list-metainfo',
|
||||
'fprint-list-metainfo.c',
|
||||
dependencies: libfprint_private_dep,
|
||||
link_with: libfprint_drivers,
|
||||
install: false)
|
||||
|
||||
metainfo_generator = custom_target('metainfo',
|
||||
output: 'org.freedesktop.libfprint.metainfo.xml',
|
||||
depend_files: drivers_sources,
|
||||
capture: true,
|
||||
command: [ metainfo ],
|
||||
install: true,
|
||||
install_dir: datadir / 'metainfo'
|
||||
)
|
||||
|
||||
if install_udev_rules
|
||||
udev_rules = executable('fprint-list-udev-rules',
|
||||
'fprint-list-udev-rules.c',
|
||||
|
||||
Reference in New Issue
Block a user