Package: sunxi-tools
Version: 1.4.2+git20221128.530adf-3
Tags: patch
User: p...@hungry.com
Usertags: appstream-modalias

Here is a patch to add Appstream metainfo XML announcing the hardware
handled by this package.

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/sunxi-tools.install b/debian/sunxi-tools.install
new file mode 100644
index 0000000..5b060bf
--- /dev/null
+++ b/debian/sunxi-tools.install
@@ -0,0 +1 @@
+org.linux-sunxi.sunxi-tools.metainfo.xml usr/share/metainfo
diff --git a/org.linux-sunxi.sunxi-tools.metainfo.xml 
b/org.linux-sunxi.sunxi-tools.metainfo.xml
new file mode 100644
index 0000000..78d6c74
--- /dev/null
+++ b/org.linux-sunxi.sunxi-tools.metainfo.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>org.linux-sunxi.sunxi-tools</id>
+  <metadata_license>MIT</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>sunxi-tools</name>
+  <summary>tools for working with Allwinner (sunxi) ARM processors</summary>
+  <description>
+    <p>This package contains various tools for working with devices
+    based around the Allwinner sunxi processors (A10/A13/A20/A31
+    etc). Utilities include tools to:</p>
+    <ul>
+      <li>interact with the processors' lowlevel bootrom (AKA FEL mode).</li>
+      <li>boot over the USB OTG port.</li>
+      <li>compile and decompile the Allwinner binary hardware
+      descriptions (FEX files).</li>
+      <li>display information about sunxi boot headers.</li>
+  </description>
+  <url type="homepage">http://linux-sunxi.org/Sunxi-tools</url>
+  <provides>
+    <modalias>usb:v1F3ApEFE8d*</modalias>
+  </provides>
+</component>

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to