commit: 9757d81546d349739813297ce7f66225c964c6aa Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Jul 24 11:41:11 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Jul 24 11:43:45 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9757d815
kde-plasma/libkworkspace: Fix libkworspace standalone.patch Thanks-to: Urmet Saar <urmet.saar <AT> gmail.com> Closes: https://bugs.gentoo.org/690098 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/libkworkspace-5.16.80-standalone.patch | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/kde-plasma/libkworkspace/files/libkworkspace-5.16.80-standalone.patch b/kde-plasma/libkworkspace/files/libkworkspace-5.16.80-standalone.patch index d27bb3b275..ed0d29d759 100644 --- a/kde-plasma/libkworkspace/files/libkworkspace-5.16.80-standalone.patch +++ b/kde-plasma/libkworkspace/files/libkworkspace-5.16.80-standalone.patch @@ -1,21 +1,21 @@ -From 74087723f0738f4a4a3a60ec72480e8bc4f1b53c Mon Sep 17 00:00:00 2001 +From 7e2bf26af99f5b242b2e4bb2ee5e62914d5d5861 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner <[email protected]> Date: Wed, 10 Jul 2019 11:38:44 +0200 Subject: [PATCH] libkworkspace: Allow standalone build --- - libkworkspace/CMakeLists.txt | 69 +++++++++++++++++++++++++++++++++--- - 1 file changed, 65 insertions(+), 4 deletions(-) + CMakeLists.txt | 70 +++++++++++++++++++++++++++++++++--- + 1 file changed, 66 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3c4c47870..cd41a54ce 100644 +index 3c4c47870..53bc780b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,56 @@ +project(libkworkspace) + +if(${CMAKE_SOURCE_DIR} STREQUAL ${libkworkspace_SOURCE_DIR}) -+ set(PROJECT_VERSION "5.16.80") ++ set(PROJECT_VERSION "GENTOO_PV") + set(PROJECT_VERSION_MAJOR 5) + + cmake_minimum_required(VERSION 3.0) @@ -97,12 +97,13 @@ index 3c4c47870..cd41a54ce 100644 qt5_add_dbus_interface( kworkspace_LIB_SRCS ${KWIN_INTERFACE} kwin_interface ) -@@ -101,3 +158,7 @@ if(BUILD_TESTING) +@@ -101,3 +158,8 @@ if(BUILD_TESTING) add_subdirectory(autotests) add_subdirectory(tests) endif() + +if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") ++ install( FILES sessionmanagementbackend.h DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kworkspace5 COMPONENT Devel ) + feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) +endif() --
