Skip to content

Commit

Permalink
Add appdata file
Browse files Browse the repository at this point in the history
This is required for the app to show in modern software stores
such as gnome-software or KDE Software Center.
  • Loading branch information
cosimoc committed Aug 3, 2018
1 parent fe976c8 commit c946d09
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
81 changes: 81 additions & 0 deletions data/slingshot.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Filed on Fedora bugzilla and mailed contact. Website seems for sale though. -->
<component type="desktop">
<id>slingshot.desktop</id>
<metadata_license>CC0-1.0</metadata_license>

<name>Slingshot</name>
<summary>2D space shooting game with gravity</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>
<url type="homepage">http://github.com/ryanakca/slingshot</url>
<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>

<releases>
<release date="2011-10-22" version="0.9"/>
</releases>

<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>

<update_contact>ryanakca AT kubuntu DOT org</update_contact>

<project_license>GPL-2.0</project_license>

<developer_name>Ryan Kavanagh</developer_name>

<url type="bugtracker">https://github.com/ryanakca/slingshot/issues</url>
</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.appdata.xml']),
(os.path.join(prefix, 'share/pixmaps/'),
['data/slingshot.xpm'])
]
Expand Down

0 comments on commit c946d09

Please sign in to comment.