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
|
Description: Fix conformance to current appstream standard
Current Appstream Standard requires changes to the metainfo contents
and to the metainfo location. The changes have been proposed upstream,
but not yet accepted.
Author: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
Bug: https://github.com/pragha-music-player/pragha/pull/125
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,6 @@
SUBDIRS = icons
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
dist_appdata_DATA = pragha.appdata.xml
desktopdir=$(datadir)/applications
--- a/data/pragha.appdata.xml
+++ b/data/pragha.appdata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014-2015 Matias De lellis -->
-<application>
- <id type="desktop">pragha.desktop</id>
+<!-- Copyright 2014-2017 Matias De lellis -->
+<component>
+ <id>io.github.pragha-music-player</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Pragha Mucic Player</name>
@@ -25,11 +25,18 @@
<li>Native desktop notifications with libnotify</li>
</ul>
</description>
+ <launchable type="desktop-id">pragha.desktop</launchable>
<url type="homepage">http://pragha-music-player.github.io</url>
<screenshots>
- <screenshot type="default">http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png</screenshot>
- <screenshot>http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png</screenshot>
- <screenshot>http://pragha-music-player.github.io/images/Pragha-W7.jpg</screenshot>
+ <screenshot type="default">
+ <image>http://pragha-music-player.github.io/images/Pragha-Xfce-HIG.png</image>
+ </screenshot>
+ <screenshot>
+ <image>http://pragha-music-player.github.io/images/Pragha-Gnome3-HIG.png</image>
+ </screenshot>
+ <screenshot>
+ <image>http://pragha-music-player.github.io/images/Pragha-W7.jpg</image>
+ </screenshot>
</screenshots>
- <updatecontact>mati86dl_at_gmail.com</updatecontact>
-</application>
+ <update_contact>mati86dl_at_gmail.com</update_contact>
+</component>
|