blob: 8dcbf3c217e171136f8d80b92a2e58fd01668ec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 3c996ee9201f8b6d385966a2a1e60829734d9643 Mon Sep 17 00:00:00 2001
From: Philipp Wolfer <phil@parolu.io>
Date: Tue, 24 Sep 2019 18:36:03 +0200
Subject: [PATCH] Fixed icon installation with cmake (#504)
---
data/CMakeLists.txt | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index ea628ba..63b4076 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -55,14 +55,8 @@ else()
endif()
# Install application icons
-install(FILES "icons/16x16/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps)
-install(FILES "icons/24x24/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/24x24/apps)
-install(FILES "icons/32x32/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/32x32/apps)
-install(FILES "icons/48x48/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/48x48/apps)
-install(FILES "icons/64x64/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/64x64/apps)
-install(FILES "icons/128x128/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps)
-install(FILES "icons/256x256/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps)
-install(FILES "icons/512x512/com.uploadedlobster.peek.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps)
+install(FILES "icons/com.uploadedlobster.peek.svg" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/scalable/apps)
+install(FILES "icons/com.uploadedlobster.peek-symbolic.svg" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/symbolic/apps)
# Install DBus service
configure_file (
|