From 9eb4844a14d9eded37d04bbc30186b7ec48a3870 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 28 Jul 2018 18:08:23 -0700 Subject: [PATCH] Update appdata file closes #4 and #6 This is required for the app to show in modern software stores such as gnome-software or KDE Software Center. --- data/slingshot.appdata.xml | 28 ------------------- data/slingshot.desktop | 17 +++++++++--- data/slingshot.metainfo.xml | 55 +++++++++++++++++++++++++++++++++++++ setup.py | 2 ++ 4 files changed, 70 insertions(+), 32 deletions(-) delete mode 100644 data/slingshot.appdata.xml create mode 100644 data/slingshot.metainfo.xml diff --git a/data/slingshot.appdata.xml b/data/slingshot.appdata.xml deleted file mode 100644 index 98bf602..0000000 --- a/data/slingshot.appdata.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - slingshot.desktop - CC0-1.0 - GPL-2.0 - Slingshot - A Newtonian Strategy Game - -

- 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! -

-
- - - https://screenshots.debian.net/screenshots/000/001/746/large.png - - - https://github.com/ryanakca/slingshot -
diff --git a/data/slingshot.desktop b/data/slingshot.desktop index 5fc2c57..aa6bdf3 100644 --- a/data/slingshot.desktop +++ b/data/slingshot.desktop @@ -1,9 +1,18 @@ [Desktop Entry] +Version=1.3 +Type=Application Name=Slingshot -Name[xx]=xxslingshotxx +GenericName=Gravity Game +GenericName[de]=Gravitationsspiel +GenericName[fr]=jeu avec gravité +Comment=2D space gravity game for 2 players +Comment[de]=2D Weltraumspiel für 2 Spieler +Comment[fr]=Jeu d'espace 2D avec gravité Exec=slingshot Icon=slingshot -Type=Application -GenericName=2D space shooting game with gravity -GenericName[fr]=Jeu d'espace 2D avec gravité +Terminal=false +StartupNotify=true Categories=Game;StrategyGame; +Keywords=multiplayer;two;shooting; +Keywords[de]=Mehrspieler;Space;Raumschiffe;schießen;zwei; +Keywords[fr]=deux;joueur;tirer; diff --git a/data/slingshot.metainfo.xml b/data/slingshot.metainfo.xml new file mode 100644 index 0000000..c0fbdfb --- /dev/null +++ b/data/slingshot.metainfo.xml @@ -0,0 +1,55 @@ + + + slingshot + slingshot.desktop + CC0-1.0 + GPL-2.0-or-later + Slingshot + 2D space shooting game with gravity for 2 players + +

+ 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 Free Software Foundation, it is released under the 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! +

+
+ + Game + StrategyGame + + + + 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 + + + + slingshot + slingshot + + + keyboard + + + https://github.com/ryanakca/slingshot + https://github.com/ryanakca/slingshot/issues + Ryan Kavanagh + + + +
diff --git a/setup.py b/setup.py index 92072b6..db1d3ab 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.metainfo.xml']), (os.path.join(prefix, 'share/pixmaps/'), ['data/slingshot.xpm']) ]