Package: kexi / 1:3.1.0-4

upstream_Install-the-application-icons.patch Patch series | download
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
From 12eed3a629a06fe54f52bf0a36b4c8b81f8e5156 Mon Sep 17 00:00:00 2001
From: Pino Toscano <pino@kde.org>
Date: Mon, 12 Mar 2018 21:47:34 +0100
Subject: [PATCH] Install the application icons

The desktop file references the 'kexi' icon, which is looked up in the
icon theme; hence, install the icons as hicolor, so they are used when
the icon theme does not provide an own version.
---
 src/data/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt
index b786a3a73..30af64811 100644
--- a/src/data/CMakeLists.txt
+++ b/src/data/CMakeLists.txt
@@ -17,6 +17,9 @@ macro(kexi_add_app_icons source_var)
         )
     endif()
     ecm_add_app_icon(${source_var} ICONS ${_files})
+    ecm_install_icons(ICONS ${_files}
+                      DESTINATION ${ICON_INSTALL_DIR}
+                      THEME hicolor)
     list(APPEND ${source_var} ${_files})
     unset(_files)
 endmacro()
-- 
2.18.0