-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.patch
104 lines (101 loc) · 4.77 KB
/
metadata.patch
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
From 86c3705a1b773fd3dc1397cb7825266c7d063bfd Mon Sep 17 00:00:00 2001
Message-Id: <86c3705a1b773fd3dc1397cb7825266c7d063bfd.1671215331.git.matthias@mailaender.name>
In-Reply-To: <427d3c5ff7cbc58fb7c9ca39e68b979815f9814e.1671215331.git.matthias@mailaender.name>
References: <427d3c5ff7cbc58fb7c9ca39e68b979815f9814e.1671215331.git.matthias@mailaender.name>
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <matthias@mailaender.name>
Date: Fri, 16 Dec 2022 18:29:16 +0100
Subject: [PATCH 2/3] Add AppStream metadata
---
Makefile | 4 ++
.../appstream/com.djoffe.gnukem.metainfo.xml | 67 +++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/Makefile b/Makefile
index 85e7dba..fe54175 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,10 @@ install:
mkdir -p $(DESTDIR)$(PREFIX)/share/applications
cp -f debian/desktop/$(BIN).desktop $(DESTDIR)$(PREFIX)/share/applications
chmod 644 $(DESTDIR)$(PREFIX)/share/applications/$(BIN).desktop
+ # appstream file
+ mkdir -p $(DESTDIR)$(PREFIX)/share/metainfo
+ cp -f debian/appstream/com.djoffe.gnukem.metainfo.xml $(DESTDIR)$(PREFIX)/share/metainfo
+ chmod 644 $(DESTDIR)$(PREFIX)/share/metainfo/com.djoffe.gnukem.metainfo.xml
# doc
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/$(BIN)
cp -f HISTORY.txt README.md $(DESTDIR)$(PREFIX)/share/doc/$(BIN)
diff --git a/debian/appstream/com.djoffe.gnukem.metainfo.xml b/debian/appstream/com.djoffe.gnukem.metainfo.xml
new file mode 100644
index 0000000..523538d
--- /dev/null
+++ b/debian/appstream/com.djoffe.gnukem.metainfo.xml
@@ -0,0 +1,67 @@
+<?xml version='1.0' encoding='utf-8'?>
+<component type="desktop">
+ <!--Created with jdAppdataEdit 5.1-->
+ <id>com.djoffe.gnukem</id>
+ <name>Dave Gnukem</name>
+ <summary>Retro-style 2D scrolling platform shooter</summary>
+ <developer_name>David Joffe</developer_name>
+ <launchable type="desktop-id">davegnukem.desktop</launchable>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>MIT</project_license>
+ <description>
+ <p>Dave Gnukem is a retro-style 2D scrolling platform shooter similar to, and inspired by, Duke Nukem 1 (~1991). While the original Duke Nukem 1 had 16-color EGA 320x200 graphics; the aim here is 'similar but different' gameplay and 'look and feel'. It is kind of a parody of the original. Please note it is not a 'clone', and not a 're-make'.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image type="source">https://djoffe.com/gnukem/gnukem.gif</image>
+ </screenshot>
+ <screenshot>
+ <image type="source">https://djoffe.com/gnukem/files/Dave_Gnukem_0.81.png</image>
+ </screenshot>
+ </screenshots>
+ <releases>
+ <release version="1.0.3" date="2022-11-28" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/1.0.3</url>
+ </release>
+ <release version="1.0.2" date="2022-11-19" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/1.0.2</url>
+ </release>
+ <release version="1.0.1" date="2020-04-25" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/1.0.1</url>
+ </release>
+ <release version="1.0" date="2018-04-03" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/1.0</url>
+ </release>
+ <release version="0.97" date="2018-04-01" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/0.97</url>
+ </release>
+ <release version="0.96" date="2018-03-31" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/0.96</url>
+ </release>
+ <release version="0.91" date="2018-03-11" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/0.91</url>
+ </release>
+ <release version="0.81" date="2017-08-12" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/v0.81</url>
+ </release>
+ <release version="0.72" date="2017-08-04" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/v0.72</url>
+ </release>
+ <release version="0.70" date="2017-06-22" type="stable">
+ <url>https://github.com/davidjoffe/dave_gnukem/releases/tag/v0.70</url>
+ </release>
+ </releases>
+ <url type="homepage">https://djoffe.com/gnukem/</url>
+ <url type="bugtracker">https://github.com/davidjoffe/dave_gnukem/issues</url>
+ <url type="faq">https://github.com/davidjoffe/dave_gnukem#faq-frequently-asked-questions</url>
+ <url type="donation">https://www.paypal.com/paypalme/davidjoffe</url>
+ <categories>
+ <category>Game</category>
+ </categories>
+ <content_rating type="oars-1.1">
+ <content_attribute id="violence-cartoon">mild</content_attribute>
+ </content_rating>
+ <provides>
+ <binary>davegnukem</binary>
+ </provides>
+</component>
--
2.39.0