Nitrokey / nitrokey-app

Nitrokey's Application (Win, Linux, Mac)
https://www.nitrokey.com/
287 stars 55 forks source link

Appstream - provide information about supported devices #397

Closed szszszsz closed 5 years ago

szszszsz commented 5 years ago

Provide in appstream XML file information with the supported devices, which should be copied from the libnitrokey. Example (as is presented in the linked discussion):

--- data/com.nitrokey.nitrokey-app.appdata.xml.~1~      2018-05-13 08:58:17.000000000 +0000
+++ data/com.nitrokey.nitrokey-app.appdata.xml  2018-12-20 11:57:44.572350004 +0000
@@ -21,6 +21,11 @@
   </releases>
   <provides>
          <binary>nitrokey-app</binary>
+         <modalias>usb:v20A0p4107d*</modalias>
+         <modalias>usb:v20A0p4108d*</modalias>
+         <modalias>usb:v20A0p4109d*</modalias>
+         <modalias>usb:v20A0p4211d*</modalias>
+         <modalias>usb:v20A0p4230d*</modalias>
   </provides>
   <launchable type="desktop-id">nitrokey-app.desktop</launchable>
   <url type="homepage">https://www.nitrokey.com/</url>

Details: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916911

szszszsz commented 5 years ago

For now it is edited by hand. Later it might be merged automatically.