summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <[email protected]>2017-04-15 20:22:14 +0200
committerBurkhard Lück <[email protected]>2017-04-15 20:22:14 +0200
commit32f121a12e1987166378e8858b8f4ce6c61da814 (patch)
tree726533f92b6238067f5f8afbfaa5c0dd82c33c13
parent1863ab802b2f5e216a5334673f65d8695e59ab6e (diff)
Add appdata file for KGoldrunner in master branch + use reverse dns naming scheme for the desktop file
Differential Revision: https://phabricator.kde.org/D5383
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/org.kde.kgoldrunner.appdata.xml37
-rwxr-xr-xsrc/org.kde.kgoldrunner.desktop (renamed from src/KGoldrunner.desktop)0
3 files changed, 39 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 563c41e..7706dcb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -30,7 +30,8 @@ install(TARGETS kgoldrunner ${INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
-install( PROGRAMS KGoldrunner.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( PROGRAMS org.kde.kgoldrunner.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES kgoldrunnerui.rc DESTINATION ${DATA_INSTALL_DIR}/kgoldrunner )
+install(FILES org.kde.kgoldrunner.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/metainfo/ )
kde4_install_icons( ${ICON_INSTALL_DIR} )
diff --git a/src/org.kde.kgoldrunner.appdata.xml b/src/org.kde.kgoldrunner.appdata.xml
new file mode 100644
index 0000000..a6c21d3
--- /dev/null
+++ b/src/org.kde.kgoldrunner.appdata.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="desktop-application">
+ <id>org.kde.kgoldrunner.desktop</id>
+ <metadata_license>FSFAP</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>KGoldrunner</name>
+ <summary>Hunt Gold, Dodge Enemies and Solve Puzzles</summary>
+ <description>
+ <p>
+ KGoldrunner is an action game where the hero runs through a maze, climbs stairs, dig holes and
+ dodges enemies in order to collect all the gold nuggets and escape to the next level.
+ Your enemies are also after the gold. Worse still, they are after you!.
+ </p>
+ <p>Features:</p>
+ <ul>
+ <li>Themeable</li>
+ <li>Hundreds of levels</li>
+ <li>Level-editor</li>
+ <li>Two modes for the enemies: classical and KGoldrunner-mode, in KGoldrunner-mode they are
+ more intelligent, in the classical mode it is easier to fool them</li>
+ <li>Very very difficult levels</li>
+ <li>Keyboard or mouse control</li>
+ <li>Savable games</li>
+ </ul>
+ </description>
+ <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kgoldrunner</url>
+ <url type="help">http://docs.kde.org/?application=kgoldrunner</url>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://kde.org/images/screenshots/kgoldrunner.png</image>
+ </screenshot>
+ </screenshots>
+ <project_group>KDE</project_group>
+ <provides>
+ <binary>kgoldrunner</binary>
+ </provides>
+</component>
diff --git a/src/KGoldrunner.desktop b/src/org.kde.kgoldrunner.desktop
index e1b9a1c..e1b9a1c 100755
--- a/src/KGoldrunner.desktop
+++ b/src/org.kde.kgoldrunner.desktop