summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Gumberg <davidzgumberg@gmail.com>2014-02-14 23:23:45 -0800
committerShadowNinja <shadowninja@minetest.net>2014-06-13 13:51:01 -0400
commitc39e46c00d41c534eb33e608e2536edde9212876 (patch)
tree8f2c21a74b9da0f25c35f12c715dbd8734fc3647 /CMakeLists.txt
parentc78aa7cf24a568bd14d3ff1dfaaca9356a02666a (diff)
downloadminetest-c39e46c00d41c534eb33e608e2536edde9212876.tar.gz
minetest-c39e46c00d41c534eb33e608e2536edde9212876.tar.bz2
minetest-c39e46c00d41c534eb33e608e2536edde9212876.zip
Add AppData file
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aae3a5932..bb153240f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()