Package: nitrokey-app
Version: 1.3.1-1
Tags: patch

It would be nice if the package provided information about what hardware
it support to appstream, to allow the isenkram tool and other users of
appstream data to propose the package when the appropriate USB dongle is
inserted into a machine.

Here is a proposed patch to do so, based on the udev file included in
libnitrokey:

--- 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>

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to