From 7058c5b41b0bdf591023841b43794b3a07070ed2 Mon Sep 17 00:00:00 2001 From: tiemay Date: Tue, 21 Oct 2014 23:31:03 -0400 Subject: [PATCH] use misc/freedesktop/ and include new icon sizes --- CMakeLists.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16b6758..5c0209d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,9 +89,16 @@ if (APPLE) endif() if (UNIX AND NOT APPLE) install(FILES "doc/voxelands.6" "doc/voxelands-server.6" DESTINATION "${MANDIR}/man6") - install(FILES "voxelands.desktop" DESTINATION "${XDG_APPS_DIR}") - install(FILES "voxelands.svg" DESTINATION "${ICONDIR}/hicolor/scalable/apps") - install(FILES "voxelands-24x24.png" DESTINATION "${ICONDIR}/hicolor/24x24/apps") + install(FILES "misc/freedesktop/voxelands.desktop" DESTINATION "${XDG_APPS_DIR}") + install(FILES "misc/freedesktop/icons/scalable/apps/voxelands.svg" DESTINATION "${ICONDIR}/hicolor/scalable/apps") + install(FILES "misc/freedesktop/icons/192x192/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/192x192/apps") + install(FILES "misc/freedesktop/icons/128x128/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/128x128/apps") + install(FILES "misc/freedesktop/icons/64x64/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/64x64/apps") + install(FILES "misc/freedesktop/icons/48x48/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/48x48/apps") + install(FILES "misc/freedesktop/icons/32x32/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/32x32/apps") + install(FILES "misc/freedesktop/icons/24x24/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/24x24/apps") + install(FILES "misc/freedesktop/icons/22x22/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/22x22/apps") + install(FILES "misc/freedesktop/icons/16x16/apps/voxelands.png" DESTINATION "${ICONDIR}/hicolor/16x16/apps") endif() # # Subdirectories