]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Add AppData file
authorDavid Gumberg <davidzgumberg@gmail.com>
Sat, 15 Feb 2014 07:23:45 +0000 (23:23 -0800)
committerShadowNinja <shadowninja@minetest.net>
Fri, 13 Jun 2014 17:51:01 +0000 (13:51 -0400)
CMakeLists.txt
misc/minetest.appdata.xml [new file with mode: 0644]

index aae3a5932248eab2ac5a2fa753224029558bd69b..bb153240f7b48d01c2d461f765a0d8875b3bb68d 100644 (file)
@@ -96,6 +96,7 @@ elseif(UNIX) # Linux, BSD etc
                set(MANDIR "${CMAKE_INSTALL_PREFIX}/share/man")
                set(EXAMPLE_CONF_DIR ${DOCDIR})
                set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/share/applications")
+               set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/share/appdata")
                set(ICONDIR "${CMAKE_INSTALL_PREFIX}/share/icons")
                set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/locale")
        endif()
@@ -172,6 +173,7 @@ install(FILES "minetest.conf.example" DESTINATION "${EXAMPLE_CONF_DIR}")
 if(UNIX)
        install(FILES "doc/minetest.6" "doc/minetestserver.6" DESTINATION "${MANDIR}/man6")
        install(FILES "misc/minetest.desktop" DESTINATION "${XDG_APPS_DIR}")
+       install(FILES "misc/minetest.appdata.xml" DESTINATION "${APPDATADIR}")
        install(FILES "misc/minetest-icon.svg" DESTINATION "${ICONDIR}/hicolor/scalable/apps")
 endif()
 
diff --git a/misc/minetest.appdata.xml b/misc/minetest.appdata.xml
new file mode 100644 (file)
index 0000000..6ef8b7f
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+       <id type="desktop">minetest.desktop</id>
+       <metadata_license>CC0-1.0</metadata_license>
+       <project_license>LGPL-2.1+ and CC-BY-SA-3.0 and MIT and Apache-2.0</project_license>
+       <name>Minetest</name>
+       <summary>Multiplayer infinite-world block sandbox game</summary>
+       <description>
+               <p>
+                       Minetest is an infinite-world block sandbox game and game engine.
+               </p><p>
+                       Players can create and destroy various types of blocks in a
+                       three-dimensional open world. This allows forming structures in
+                       every possible creation, on multiplayer servers or in singleplayer.
+               </p><p>
+                       Minetest is designed to be simple, stable, and portable.
+                       It is lightweight enough to run on fairly old hardware.
+               </p><p>
+                       Minetest has many features, including:
+               </p>
+               <ul>
+                       <li>Ability to walk around, dig, and build in a near-infinite voxel world</li>
+                       <li>Crafting of items from raw materials</li>
+                       <li>Fast and able to run on old and slow hardware</li>
+                       <li>A simple modding API that supports many additions and modifications to the game</li>
+                       <li>Multiplayer support via servers hosted by users</li>
+                       <li>Beautiful lightning-fast map generator</li>
+               </ul>
+       </description>
+       <screenshots>
+               <screenshot type="default" width="1440" height="851">http://minetest.net/_media/screen2.png</screenshot>
+               <screenshot width="1440" height="851">http://minetest.net/_media/screenshot_4032289578.png</screenshot>
+       </screenshots>
+       <url type="homepage">http://minetest.net</url>
+       <updatecontact>sfan5@live.de</updatecontact>
+</application>