summaryrefslogtreecommitdiff
path: root/user/plasma-workspace/libkworkspace.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-27 01:03:27 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-27 01:03:27 +0000
commite2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4 (patch)
treea3d7ccf0b97b147478cb769ebec33c19d77aca92 /user/plasma-workspace/libkworkspace.patch
parentc58edf8b9ac4367e08cad2a15987550d4e4a849a (diff)
downloadpackages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.gz
packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.bz2
packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.tar.xz
packages-e2f5fb8fd2d151baeb97c2f8fb1b7b56a41eddd4.zip
user/[KDE Plasma]: Plasma 5.18 Beta
Diffstat (limited to 'user/plasma-workspace/libkworkspace.patch')
-rw-r--r--user/plasma-workspace/libkworkspace.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/plasma-workspace/libkworkspace.patch b/user/plasma-workspace/libkworkspace.patch
new file mode 100644
index 000000000..e8e3d93b6
--- /dev/null
+++ b/user/plasma-workspace/libkworkspace.patch
@@ -0,0 +1,35 @@
+From 4717089b68c386446be240f463f2f13e7024468b Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Mon, 22 Oct 2018 10:35:10 +0200
+Subject: [PATCH] libkworkspace: Allow standalone build
+
+---
+ CMakeLists.txt | 6 +++-
+ 1 file changed, 5 insertions(+), 1 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e587a386..d1a63527 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -63,6 +63,7 @@ set_package_properties(KF5Baloo PROPERTIES DESCRIPTION "File Searching"
+
+ find_package(KF5TextEditor)
+ find_package(KWinDBusInterface CONFIG REQUIRED)
++find_package(LibKWorkspace 5.17.90)
+
+ find_package(KScreenLocker 5.17.90 REQUIRED)
+ find_package(ScreenSaverDBusInterface CONFIG REQUIRED)
+@@ -151,7 +151,10 @@ endif()
+ add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+
+ add_subdirectory(doc)
+-add_subdirectory(libkworkspace)
++if(NOT LibKWorkspace_FOUND)
++ message(STATUS "System LibKWorkspace not found, using bundled.")
++ add_subdirectory(libkworkspace)
++endif()
+ add_subdirectory(libdbusmenuqt)
+ add_subdirectory(appmenu)
+
+--
+2.19.1