File Install-the-application-icons.patch of Package kexi
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: 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 b786a3a..30af648 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()
--
cgit v0.11.2