summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <[email protected]>2017-04-16 09:49:26 +0200
committerBurkhard Lück <[email protected]>2017-04-16 09:49:26 +0200
commite9396b9ba441301c3c0d83870ff1313cd8134c89 (patch)
tree0d1028c1ef13b1b4632719b38afd1d939cd85395
parent08e0179a5e65c3632b2f4bd05294ab77b5b31fac (diff)
add appdata file and rename desktop file
add appdata file with infos from https://www.kde.org/applications/games/kspaceduel use reverse dns naming scheme for the deskop file Differential Revision: https://phabricator.kde.org/D5467
-rw-r--r--CMakeLists.txt3
-rw-r--r--org.kde.kspaceduel.appdata.xml25
-rwxr-xr-xorg.kde.kspaceduel.desktop (renamed from kspaceduel.desktop)0
3 files changed, 27 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d53caf..50d22b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,9 +43,10 @@ install(FILES default_theme.svgz DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/spri
########### install files ###############
-install( PROGRAMS kspaceduel.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( PROGRAMS org.kde.kspaceduel.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES kspaceduel.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
install( FILES kspaceduelui.rc DESTINATION ${DATA_INSTALL_DIR}/kspaceduel )
+install(FILES org.kde.kspaceduel.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/metainfo/)
kde4_install_icons( ${ICON_INSTALL_DIR} )
diff --git a/org.kde.kspaceduel.appdata.xml b/org.kde.kspaceduel.appdata.xml
new file mode 100644
index 0000000..6060966
--- /dev/null
+++ b/org.kde.kspaceduel.appdata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="desktop-application">
+ <id>org.kde.kspaceduel.desktop</id>
+ <metadata_license>FSFAP</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>KSpaceDuel</name>
+ <summary>Space Arcade Game</summary>
+ <description>
+ <p>
+ In KSpaceDuel each of two possible players control a satellite spaceship orbiting the sun.
+ As the game progresses players have to eliminate the opponent's spacecraft with bullets or mines.
+ </p>
+ </description>
+ <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kspaceduel</url>
+ <url type="help">https://docs.kde.org/?application=kspaceduel</url>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://kde.org/images/screenshots/kspaceduel.png</image>
+ </screenshot>
+ </screenshots>
+ <project_group>KDE</project_group>
+ <provides>
+ <binary>kspaceduel</binary>
+ </provides>
+</component>
diff --git a/kspaceduel.desktop b/org.kde.kspaceduel.desktop
index 0777c9f..0777c9f 100755
--- a/kspaceduel.desktop
+++ b/org.kde.kspaceduel.desktop