Description: Added AppStream metainfo with hardware provides.
 Allow mapping from hardware to package.
Author: Petter Reinholdtsen
Bug-Debian: https://bugs.debian.org/1076338
Forwarded: no
Last-Update: 2024-07-14
---
--- avarice-2.14+svn427.orig/Makefile.am
+++ avarice-2.14+svn427/Makefile.am
@@ -23,7 +23,11 @@ SUBDIRS = scripts src doc
 
 EXTRA_DIST =		\
 	COPYING		\
+	net.sourceforge.avarice.metainfo.xml \
 	NEWS
 
+dist_metainfo_DATA = net.sourceforge.avarice.metainfo.xml
+metainfodir = $(datarootdir)/metainfo
+
 dist-hook: avarice.spec
 	cp avarice.spec $(distdir)/avarice.spec
--- /dev/null
+++ avarice-2.14+svn427/net.sourceforge.avarice.metainfo.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>net.sourceforge.avarice</id>
+  <metadata_license>MIT</metadata_license>
+  <name>avarice</name>
+  <summary>use GDB with Atmel AVR debuggers</summary>
+  <description>
+    <p>AVaRICE is a program which interfaces the GNU Debugger with the
+    AVR JTAG ICE, and other debuggers, available from Atmel. It
+    connects to gdb via a TCP socket and communicates via gdb's
+    "serial debug protocol".</p>
+
+    <p>This protocol allows gdb to send commands like "set/remove
+    breakpoint" and "read/write memory". AVaRICE translates this
+    commands into the Atmel protocol used to control the JTAG ICE (or
+    other) debugger.</p>
+
+    <p>Because the GDB-AVaRICE connection is via a TCP socket, the two
+    programs do not need to run on the same machine.</p>
+
+    <p>The currently supported debuggers are:</p>
+    <ul>
+      <li>JTAG ICE mkI</li>
+      <li>JTAG ICE mkII</li>
+      <li>AVR Dragon</li>
+    </ul>
+  </description>
+  <provides>
+    <modalias>usb:v30EBp2103d*</modalias>
+    <modalias>usb:v30EBp2107d*</modalias>
+    <modalias>usb:v30EBp2110d*</modalias>
+  </provides>
+</component>
