From c946d09e656e525f9e9d67182e42e9cc4c36ce33 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 28 Jul 2018 18:08:23 -0700 Subject: [PATCH] Add appdata file This is required for the app to show in modern software stores such as gnome-software or KDE Software Center. --- data/slingshot.appdata.xml | 81 ++++++++++++++++++++++++++++++++++++++ setup.py | 2 + 2 files changed, 83 insertions(+) create mode 100644 data/slingshot.appdata.xml diff --git a/data/slingshot.appdata.xml b/data/slingshot.appdata.xml new file mode 100644 index 0000000..85cdd23 --- /dev/null +++ b/data/slingshot.appdata.xml @@ -0,0 +1,81 @@ + + + + slingshot.desktop + CC0-1.0 + + Slingshot + 2D space shooting game with gravity + + +

+ Slingshot is a two dimensional, turn based simulation-strategy game set in the gravity fields of several planets. It is a highly addictive game, and never the same from round to round due to its randomly generated playing fields. +

+

+ It is a deceptively simple game, the goal is to shoot the other spacecraft through the field of planets, but their gravity makes it tricky. The effects of the gravity mean that although it's easy to learn how to play, and to enjoy playing, it could take a lifetime to thoroughly master. +

+

+ In order to hit your opponent, you can rotate you ship to aim in any direction, and you can change the power with which your projectile is launched - the initial speed at which it flies. +

+

+ Slingshot is free software as defined by the [WWW]Free Software Foundation, it is released under the [WWW]GNU General Public License. This means you are free to download, copy, modify, redistribute, disassemble, analyse or sell Slingshot under the terms of the aforementioned license. Enjoy! +

+
+ http://github.com/ryanakca/slingshot + + + https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-ingame1.png + + + https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-ingame2.png + + + https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-ingame3.png + + + https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-menu.png + + + + + + + + + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + none + + + ryanakca AT kubuntu DOT org + + GPL-2.0 + + Ryan Kavanagh + + https://github.com/ryanakca/slingshot/issues +
diff --git a/setup.py b/setup.py index 92072b6..8302f15 100755 --- a/setup.py +++ b/setup.py @@ -39,6 +39,8 @@ data_files = [(os.path.join(prefix,'share/applications/'), ['data/slingshot.desktop']), + (os.path.join(prefix,'share/metainfo/'), + ['data/slingshot.appdata.xml']), (os.path.join(prefix, 'share/pixmaps/'), ['data/slingshot.xpm']) ]