Package: x52pro
Version: 0.1.1-2.3
Tags: patch

Here is a patch for bmusb to add Appstream metainfo XML announcing the
hardware handled by this package.  I was a bit unsure if it should be
attached to the library or -dev package, but concluded that the library
package seem more useful for endusers as it have a utility available.

Including this information in the package will ensure programs mapping
hardware to packages using Appstream information, like the isenkram
package, will know that this package is useful on machines where the USB
IDs are discovered.

diff --git a/debian/at.hasenleithner.plasma.x52pro.metainfo.xml 
b/debian/at.hasenleithner.plasma.x52pro.metainfo.xml
new file mode 100644
index 0000000..d501a6a
--- /dev/null
+++ b/debian/at.hasenleithner.plasma.x52pro.metainfo.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>at.hasenleithner.plasma.x52pro</id>
+  <metadata_license>MIT</metadata_license>
+  <name>libx52pro0</name>
+  <summary>MFD and LED library for Saitek X52pro joysticks</summary>
+  <description>
+    <p>The library libx52pro is designed to support MFD and LED found
+    on Saitek X52 and X52pro joystick.  Library does not deal with the
+    HID part of the joystick since this feature is already fully
+    supported by the Linux kernel 2.6.x.  This package include the
+    x52output utility.</p>
+  </description>
+  <categories>
+    <category>System</category>
+  </categories>
+  <provides>
+    <modalias>usb:v06A3p0255d*</modalias>
+    <modalias>usb:v06A3p075Cd*</modalias>
+    <modalias>usb:v06A3p0762d*</modalias>
+    <modalias>usb:v06A3p0BACd*</modalias>
+  </provides>
+</component>
diff --git a/debian/libx52pro0.install b/debian/libx52pro0.install
index 9c7e8b7..43f97bd 100644
--- a/debian/libx52pro0.install
+++ b/debian/libx52pro0.install
@@ -1,2 +1,3 @@
 usr/lib/lib*.so.*
 usr/bin/x52output
+debian/at.hasenleithner.plasma.x52pro.metainfo.xml usr/share/metainfo

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to