Blame colobot-1205.diff

5f538b5
diff --git a/desktop/CMakeLists.txt b/desktop/CMakeLists.txt
5f538b5
index b49ef2d36..5a4b04cc9 100644
5f538b5
--- a/desktop/CMakeLists.txt
5f538b5
+++ b/desktop/CMakeLists.txt
5f538b5
@@ -70,6 +70,12 @@ if(PLATFORM_GNU)
5f538b5
             DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/
5f538b5
         )
5f538b5
 
5f538b5
+    # Install appdata
5f538b5
+    install(
5f538b5
+        FILES info.colobot.Colobot.appdata.xml
5f538b5
+            DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo/
5f538b5
+        )
5f538b5
+
5f538b5
     # Install Icon
5f538b5
     install(
5f538b5
         FILES ${COLOBOT_ICON_FILE}
5f538b5
diff --git a/desktop/info.colobot.Colobot.appdata.xml b/desktop/info.colobot.Colobot.appdata.xml
5f538b5
new file mode 100644
5f538b5
index 000000000..8a2a75d62
5f538b5
--- /dev/null
5f538b5
+++ b/desktop/info.colobot.Colobot.appdata.xml
5f538b5
@@ -0,0 +1,38 @@
5f538b5
+
5f538b5
+<component>
5f538b5
+  <id>info.colobot.Colobot</id>
5f538b5
+  <metadata_license>CC0-1.0</metadata_license>
5f538b5
+  <project_license>GPL-3.0</project_license>
5f538b5
+  <developer_name>TerranovaTeam</developer_name>
5f538b5
+  <update_contact>contact@colobot.info</update_contact>
5f538b5
+  <name>Colobot</name>
5f538b5
+  <summary>Colonize with bots</summary>
5f538b5
+
5f538b5
+  <description>
5f538b5
+    

Colobot (Colonize with Bots) is an educational game aiming to teach programming through entertainment. You are playing as an astronaut on a journey with robot helpers to find a planet for colonization. It features 3D real-time graphics and a C++ and Java-like, object-oriented language, CBOT, which can be used to program the robots available in the game.

5f538b5
+  </description>
5f538b5
+
5f538b5
+  <launchable type="desktop-id">colobot.desktop</launchable>
5f538b5
+
5f538b5
+  <screenshots>
5f538b5
+    <screenshot type="default">
5f538b5
+      <caption>Alpha 0.1.5</caption>
5f538b5
+      <image type="source" height="600" width="800">https://colobot.info/wordpress/wp-content/uploads/alpha-0.1.5.png</image>
5f538b5
+    </screenshot>
5f538b5
+  </screenshots>
5f538b5
+
5f538b5
+  <url type="homepage">https://colobot.info/</url>
5f538b5
+  <url type="bugtracker">https://github.com/colobot/colobot/issues</url>
5f538b5
+  <url type="help">http://colobot.info/forum/</url>
5f538b5
+  <url type="donation">https://colobot.info/donate/</url>
5f538b5
+
5f538b5
+  <content_rating type="oars-1.1">
5f538b5
+    <content_attribute id="violence-cartoon">moderate</content_attribute>
5f538b5
+    <content_attribute id="violence-fantasy">moderate</content_attribute>
5f538b5
+    <content_attribute id="violence-bloodshed">mild</content_attribute>
5f538b5
+  </content_rating>
5f538b5
+
5f538b5
+  <releases>
5f538b5
+    <release date="2018-04-10" version="0.1.11.1"/>
5f538b5
+  </releases>
5f538b5
+</component>