Merge pull request GH #25 from Mailaender/appdata

Added a Linux AppData file
console-destruction
Nicolas Hake 2016-09-17 11:55:43 +02:00
commit 6a6f4520d3
2 changed files with 31 additions and 0 deletions

View File

@ -1483,6 +1483,9 @@ if (NOT APPLE)
# Update the MIME cache -- this makes the clonk:// protocol handler actually work
install(CODE "execute_process(COMMAND update-desktop-database)")
# Install software center metadata
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openclonk.appdata.xml DESTINATION share/appdata)
# Install binaries
install(TARGETS openclonk DESTINATION games)
install(TARGETS c4group DESTINATION bin)

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>openclonk.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>ISC and CC-BY-3.0</project_license>
<name>OpenClonk</name>
<summary>Multiplayer action game where you control small and nimble humanoids</summary>
<description>
<p>
OpenClonk is a free multiplayer action game in which you control clonks, small but witty and nimble humanoid beings. The game is mainly about mining, settling and fast-paced melees.
</p>
</description>
<screenshots>
<screenshot>
<image>http://wiki.openclonk.org/images/a/a1/Boompack.png</image>
<caption>Combat in Thunderous Skies</caption>
</screenshot>
<screenshot>
<image>http://wiki.openclonk.org/images/2/2a/Gemgrabber.png</image>
<caption>A base in Gemgrabbers</caption>
</screenshot>
<screenshot>
<image>http://wiki.openclonk.org/images/b/bf/OC-Spiral.png</image>
<caption>An underground base settling</caption>
</screenshot>
</screenshots>
<url type="homepage">http://www.openclonk.org/</url>
</component>