Package: mustang-plug Version: 1.2-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/mustang-plug.install b/debian/mustang-plug.install index 485d021..4e175cb 100644 --- a/debian/mustang-plug.install +++ b/debian/mustang-plug.install @@ -1 +1,2 @@ -debian/mustang-plug.desktop usr/share/applications \ No newline at end of file +debian/mustang-plug.desktop usr/share/applications +plug/org.piorekf.plug.metainfo.xml usr/share/metainfo diff --git a/debian/patches/1000-appstream-metainfo.patch b/debian/patches/1000-appstream-metainfo.patch new file mode 100644 index 0000000..ab7d282 --- /dev/null +++ b/debian/patches/1000-appstream-metainfo.patch @@ -0,0 +1,39 @@ +Description: Added AppStream metainfo XML with hardware provide info. + This allow isenkram to propose this package when the USB dongle is + present. +Author: Petter Reinholdtsen +Forwarded: no +Last-Update: 2024-07-16 +--- +Index: mustang-plug/plug/org.piorekf.plug.metainfo.xml +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ mustang-plug/plug/org.piorekf.plug.metainfo.xml 2024-07-16 12:36:25.871506777 +0200 +@@ -0,0 +1,27 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<component type="desktop"> ++ <id>org.piorekf.plug</id> ++ <metadata_license>MIT</metadata_license> ++ <name>mustang-plug</name> ++ <summary>control Fender Mustang amplifiers</summary> ++ <description> ++ <p>PLUG was originally created as a Linux replacement for Fender ++ FUSE software for Fender Mustang guitar amplifier. Its Qt4-based ++ graphical interface allows one to control the amplifier and effect ++ stages of all Mustang amplifiers from I to V.</p> ++ </description> ++ <url type="homepage">https://github.com/philpem/printer-driver-ptouch</url> ++ <launchable type="desktop-id">mustang-plug.desktop</launchable> ++ <provides> ++ <modalias>usb:v1ED8p0004d*</modalias> ++ <modalias>usb:v1ED8p0005d*</modalias> ++ <modalias>usb:v1ED8p0006d*</modalias> ++ <modalias>usb:v1ED8p0007d*</modalias> ++ <modalias>usb:v1ED8p0010d*</modalias> ++ <modalias>usb:v1ED8p0011d*</modalias> ++ <modalias>usb:v1ED8p0012d*</modalias> ++ <modalias>usb:v1ED8p0013d*</modalias> ++ <modalias>usb:v1ED8p0014d*</modalias> ++ <modalias>usb:v1ED8p0015d*</modalias> ++ </provides> ++</component> diff --git a/debian/patches/series b/debian/patches/series index 7367b61..60d7d51 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ qt5-compat.patch +1000-appstream-metainfo.patch -- Happy hacking Petter Reinholdtsen