mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
5d091a67cc
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
diff -Naur k9copy.orig/CMakeLists.txt k9copy/CMakeLists.txt
|
|
--- k9copy.orig/CMakeLists.txt 2014-10-16 07:58:20.000000000 -0400
|
|
+++ k9copy/CMakeLists.txt 2020-12-24 10:48:11.088907284 -0500
|
|
@@ -1,3 +1,4 @@
|
|
+cmake_minimum_required(VERSION 3.1)
|
|
project(k9copy)
|
|
set (VERSION 3.0.3)
|
|
|
|
@@ -38,7 +38,7 @@ find_package(Qt5DBus REQUIRED)
|
|
find_package(Qt5Gui REQUIRED)
|
|
find_package(Qt5Widgets REQUIRED)
|
|
|
|
-find_package(KF5 COMPONENTS REQUIRED I18n Config Su CoreAddons WidgetsAddons DocTools XmlGui Solid KIO IconThemes)
|
|
+find_package(KF5 COMPONENTS REQUIRED Auth I18n Config Su CoreAddons WidgetsAddons DocTools XmlGui Solid KIO IconThemes)
|
|
|
|
else()
|
|
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
|
@@ -568,7 +569,11 @@
|
|
|
|
install( FILES k9copy.desktop k9copy_assistant.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
#install( FILES k9copy.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
|
+if(QT5_BUILD)
|
|
+install( FILES k9copyui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/k9copy )
|
|
+else()
|
|
install( FILES k9copyui.rc DESTINATION ${DATA_INSTALL_DIR}/k9copy )
|
|
+endif()
|
|
|
|
install(FILES k9copy_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
|
|
install(FILES k9copy_assistant_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
|