File: 1050-appstream-metainfo.patch

package info (click to toggle)
gpstrans 0.41-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 900 kB
  • sloc: ansic: 6,201; makefile: 158; xml: 17
file content (51 lines) | stat: -rw-r--r-- 1,805 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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-08-05
---
Index: gpstrans-salsa/de.fu_berlin.unix.gps.gpstrans.metainfo.xml
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ gpstrans-salsa/de.fu_berlin.unix.gps.gpstrans.metainfo.xml	2024-07-20 12:11:38.343671681 +0200
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>de.fu_berlin.unix.gps.gpstrans</id>
+  <metadata_license>MIT</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>gpstrans</name>
+  <summary>communicate via serial port with a Garmin GPS receiver</summary>
+  <description>
+    <p>GPStrans allows a user with a Garmin GPS receiver to upload and
+    download waypoints, routes, almanac (satellite orbit elements),
+    and track routes.</p>
+  </description>
+  <url type="homepage">ftp://ftp.fu-berlin.de/pub/unix/misc/gps</url>
+  <provides>
+    <modalias>usb:v091Ep0003d*</modalias>
+  </provides>
+</component>
Index: gpstrans-salsa/Makefile
===================================================================
--- gpstrans-salsa.orig/Makefile	2024-07-20 12:10:59.743213337 +0200
+++ gpstrans-salsa/Makefile	2024-07-20 12:10:59.739213289 +0200
@@ -6,6 +6,8 @@
 
 PACKAGE=gpstrans
 
+DESTDIR =
+
 all: 
 	@make -C src/
 
@@ -23,6 +25,8 @@
 #	@strip src/gpstrans
 	@cp src/gpstrans debian/gpstrans/usr/bin/gpstrans
 #	@gzip -9 doc/gpstrans.1 > /usr/share/man/man1/gpstrans.1.gz
+	@mkdir -p $(DESTDIR)/usr/share/metainfo
+	@cp de.fu_berlin.unix.gps.gpstrans.metainfo.xml $(DESTDIR)/usr/share/metainfo
 	@echo "Installation complete!"
 
 make uninstall: