The source project of this merge request has been removed.
Add AppStream metainfo support to annouce supported HW
This adds metainfo XML appstream file to announce HW support for the Librem5 USB ids.
Implemenented following: https://wiki.debian.org/AppStream/Guidelines
Freedesktop reference: https://freedesktop.org/software/appstream/docs/chap-Metadata.html
Example tests:
nicolas@lp-nicolas:~$ appstreamcli what-provides modalias 'usb:v1fc9p012bd*'
Identificateur: sm.puri.librem5-flash-image [generic]
Nom: librem5-flash-image
Résumé: Image flashing tool for Librem 5 devices
nicolas@lp-nicolas:~$ appstreamcli validate /usr/share/metainfo/sm.puri.librem5-flash-imag.metainfo.xml
I: sm.puri.librem5-flash-image:3: cid-contains-hyphen sm.puri.librem5-flash-image
La validation a réussi : informations : 1