Control: tags -1 + patch

Here is a patch adding the hardware mapping.  Unfortunately I could not
test it as I lacked the required free disk space.

The appstream metadata file can be checked using this command after
package build:

  appstreamcli validate-tree  --no-net --explain debian/rosengarden

diff --git a/debian/patches/1000-appstream-metainfo.patch 
b/debian/patches/1000-appstream-metainfo.patch
new file mode 100644
index 00000000..7b2e0474
--- /dev/null
+++ b/debian/patches/1000-appstream-metainfo.patch
@@ -0,0 +1,17 @@
+Description: Added AppStream metainfo XML with hardware provide info.
+ This allow isenkram to propose this package when the relevant hardware is
+ present.
+Author: Petter Reinholdtsen
+Forwarded: no
+Last-Update: 2024-08-19
+---
+--- rosegarden-24.06.orig/data/appdata/rosegarden.appdata.xml
++++ rosegarden-24.06/data/appdata/rosegarden.appdata.xml
+@@ -446,4 +446,7 @@
+         </description>
+       </release>
+     </releases>
++    <provides>
++      <modalias>usb:*ic01isc03ip*</modalias>
++    </provides>
+ </component>
diff --git a/debian/patches/series b/debian/patches/series
index af23edd3..b6ac4a8d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_spelling_error.patch
+1000-appstream-metainfo.patch

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to