Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update appdata file #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions data/slingshot.appdata.xml

This file was deleted.

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;
55 changes: 55 additions & 0 deletions data/slingshot.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<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-or-later</project_license>
<name>Slingshot</name>
<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://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>
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.metainfo.xml']),
(os.path.join(prefix, 'share/pixmaps/'),
['data/slingshot.xpm'])
]
Expand Down