Skip to content

Commit

Permalink
Update appdata file
Browse files Browse the repository at this point in the history
closes ryanakca#4 and ryanakca#6
This is required for the app to show in modern software stores
such as gnome-software or KDE Software Center.
  • Loading branch information
cosimoc authored and sevu committed Feb 26, 2021
1 parent 9bfed6e commit cb8c84b
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 22 deletions.
64 changes: 46 additions & 18 deletions data/slingshot.appdata.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id type="desktop">slingshot.desktop</id>
<component type="desktop-application">
<id>slingshot</id>
<launchable type="desktop-id">slingshot.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<project_license>GPL-2.0-or-later</project_license>
<name>Slingshot</name>
<summary>A Newtonian Strategy Game</summary>
<description>
<p>
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.
</p>
<p>
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.
</p>
<p>
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.
</p>
<p>
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!
</p>
</description>
<summary>2D space shooting game with gravity for 2 players</summary>
<description>
<p>
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.
</p>
<p>
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.
</p>
<p>
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.
</p>
<p>
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!
</p>
</description>
<categories>
<category>Game</category>
<category>StrategyGame</category>
</categories>
<screenshots>
<screenshot type="default">
<image>https://screenshots.debian.net/screenshots/000/001/746/large.png</image>
<image>https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-ingame1.png</image>
</screenshot>
<screenshot>
<image>https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-ingame2.png</image>
</screenshot>
<screenshot>
<image>https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-ingame3.png</image>
</screenshot>
<screenshot>
<image>https://repo.openpandora.org/files/pnd/slingshot-slingshot-19049/previews/slingshot-menu.png</image>
</screenshot>
</screenshots>
<provides>
<binary>slingshot</binary>
<python3>slingshot</python3>
</provides>
<recommends>
<control>keyboard</control>
</recommends>
<content_rating type="oars-1.1"/>
<url type="homepage">https://github.com/ryanakca/slingshot</url>
<url type="bugtracker">https://github.com/ryanakca/slingshot/issues</url>
<developer_name>Ryan Kavanagh</developer_name>
<releases>
<release date="2011-10-22" version="0.9"/>
</releases>
</component>
17 changes: 13 additions & 4 deletions data/slingshot.desktop
Original file line number Diff line number Diff line change
@@ -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;
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
]
Expand Down

0 comments on commit cb8c84b

Please sign in to comment.