adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] master bbf2c4a: ADDED appdata.xml and ren


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] master bbf2c4a: ADDED appdata.xml and renamed .desktop file to follow freedesktop.org rules
Date: Sat, 7 Apr 2018 10:45:24 -0400 (EDT)

branch: master
commit bbf2c4a3002ff24e997e873ea8794772fba8044d
Author: Kai Sterker <address@hidden>
Commit: Kai Sterker <address@hidden>

    ADDED appdata.xml and renamed .desktop file to follow freedesktop.org rules
---
 Makefile.am                                        |  9 +++--
 configure.ac                                       |  2 +-
 org.nongnu.wastesedge.appdata.xml                  | 42 ++++++++++++++++++++++
 ....desktop.in => org.nongnu.wastesedge.desktop.in |  0
 4 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 14d0d8a..796ca3c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,12 +5,15 @@ pkgdatadir = $(gamedatadir)
 dist_pkgdata_DATA = gamename.txt achievements.data character.data 
mapengine.data quest.data audio.data
 
 desktopdir = $(datadir)/applications
-dist_desktop_DATA = wastesedge.desktop
+dist_desktop_DATA = org.nongnu.wastesedge.desktop 
 
 dist_man_MANS = adonthell-wastesedge.6
 
+appstreamdir = $(datadir)/metainfo
+dist_appstream_DATA = org.nongnu.wastesedge.appdata.xml
+
 EXTRA_DIST = config.rpath mkinstalldirs PLAYING autogen.sh ABOUT-NLS          \
-       wastesedge.spec.in wastesedge.spec wastesedge.desktop.in              \
+       wastesedge.spec.in wastesedge.spec org.nongnu.wastesedge.desktop.in   \
        win32/COPYING win32/make_msi.sh win32/wastesedge.ico win32/icon32.bmp \
        win32/wastesedge.wxs osx/background.png osx/make_dmg.sh               \
        osx/sandbox.plist osx/settings.py osx/adonthell.icns                  \
@@ -19,7 +22,7 @@ EXTRA_DIST = config.rpath mkinstalldirs PLAYING autogen.sh 
ABOUT-NLS          \
 
 bin_SCRIPTS = adonthell-wastesedge
 
-CLEANFILES = $(bin_SCRIPTS)
+CLEANFILES = $(bin_SCRIPTS) $(appstream_DATA)
 
 # -- clean game directory before installing
 install-exec-local:
diff --git a/configure.ac b/configure.ac
index 6fc240e..f9bc18a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,7 +91,7 @@ AC_SUBST(gamedatadir)
 AC_SUBST(adonthell_binary)
 
 AC_CONFIG_FILES([ 
-wastesedge.desktop
+org.nongnu.wastesedge.desktop
 wastesedge.spec
 Makefile
 audio/Makefile
diff --git a/org.nongnu.wastesedge.appdata.xml 
b/org.nongnu.wastesedge.appdata.xml
new file mode 100644
index 0000000..9c3c8ea
--- /dev/null
+++ b/org.nongnu.wastesedge.appdata.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<component type="desktop-application">
+  <id>org.nongnu.wastesedge</id>
+  <metadata_license>GFDL-1.3</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>Adonthell -- Waste's Edge</name>
+  <summary>A 2d role playing game</summary>
+
+  <description>
+    <p>
+      As a loyal servant of the elven Lady Silverhair, you arrive at the 
remote 
+      trading post of Waste's Edge, where she is engaged in negotiations with 
+      the dwarven merchant Bjarn Fingolson. But not all is well at Waste's 
Edge,
+      and soon you are confronted with circumstances that are about to destroy 
+      your mistress' high reputation. And none but you can avert this ...
+    </p>
+  </description>
+
+  <launchable type="desktop-id">org.nongnu.wastesedge.desktop</launchable>
+
+  <screenshots>
+    <screenshot type="default">
+      <caption>The innkeeper's son</caption>
+      <image>http://adonthell.nongnu.org/screenshot/appdata.png</image>
+    </screenshot>
+  </screenshots>
+
+  <url type="homepage">http://adonthell.nongnu.org</url>
+
+  <provides>
+    <binary>adonthell-wastesedge</binary>
+  </provides>
+
+  <releases>
+    <release version="0.3.7" date="2018-03-28">
+      <description>
+        <p>Translated into several new languages and some typos fixed</p>
+      </description>
+    </release>
+  </releases>
+</component>
diff --git a/wastesedge.desktop.in b/org.nongnu.wastesedge.desktop.in
similarity index 100%
rename from wastesedge.desktop.in
rename to org.nongnu.wastesedge.desktop.in



reply via email to

[Prev in Thread] Current Thread [Next in Thread]