Package: freedroidrpg / 0.16.1-4

30_appdata.patch Patch series | download
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
Description: Update the appstream files
Author: Julien Puydt
Forwarded: yes

--- a/pkgs/freedesktop/Makefile.am
+++ b/pkgs/freedesktop/Makefile.am
@@ -2,7 +2,7 @@
 
 # For Freedesktop compliance
 
-appstreamdir = $(datadir)/appdata
+appstreamdir = $(datadir)/metainfo
 appstream_in_files = freedroidrpg.appdata.xml
 dist_appstream_DATA = $(appstream_in_files)
 
--- a/pkgs/freedesktop/freedroidrpg.appdata.xml
+++ b/pkgs/freedesktop/freedroidrpg.appdata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2016 freedroidRPG Team -->
-<application>
-  <id type="desktop">freedroidrpg.desktop</id>
+<component type="desktop-application">
+  <id>org.freedroidrpg.www</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0+</project_license>
   <name>freedroidRPG</name>
@@ -39,15 +39,17 @@
     </p>
   </description>
   <categories>
-    <category>Role Playing</category>
-    <category>Games</category>
+    <category>RolePlaying</category>
+    <category>Game</category>
   </categories>
   <keywords>
     <keyword>RPG</keyword>
   </keywords>
   <screenshots>
-    <screenshot type="default">https://gitlab.com/freedroid/freedroid-src/raw/master/pkgs/freedesktop/images/screenshot.png</screenshot>
+    <screenshot type="default">
+      <image>https://gitlab.com/freedroid/freedroid-src/raw/master/pkgs/freedesktop/images/screenshot.png</image>
+    </screenshot>
   </screenshots>
   <url type="homepage">http://www.freedroid.org/</url>
-  <updatecontact>contact_at_freedroid.org</updatecontact>
-</application>
+  <update_contact>contact_at_freedroid.org</update_contact>
+</component>