summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-10-12 19:57:00 +0200
committerJohannes Huber <johu@gentoo.org>2017-10-12 19:57:00 +0200
commitd0cce997bcc505c6731389ccacf8c669205d2af7 (patch)
treea1eb7f85306ec55d702ad9bc46b9b0d297c13de9 /kde-plasma/kwin
parentkde5-functions.eclass: Require KF 5.38 for KDE Plasma 5.11 (diff)
downloadgentoo-d0cce997bcc505c6731389ccacf8c669205d2af7.tar.gz
gentoo-d0cce997bcc505c6731389ccacf8c669205d2af7.tar.bz2
gentoo-d0cce997bcc505c6731389ccacf8c669205d2af7.zip
kde-plasma/kwin: Add missing patch
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'kde-plasma/kwin')
-rw-r--r--kde-plasma/kwin/files/kwin-5.10.95-test-optional.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.10.95-test-optional.patch b/kde-plasma/kwin/files/kwin-5.10.95-test-optional.patch
new file mode 100644
index 000000000000..e52934b3ec52
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.10.95-test-optional.patch
@@ -0,0 +1,34 @@
+From 89db55c3983abee3dd42cef3cff2f83e94121be8 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Thu, 14 Sep 2017 10:02:04 +0200
+Subject: [PATCH] Put effectModelTest behind BUILD_TESTING conditional
+
+Qt5Test, so tests need to be too.
+---
+ kcmkwin/kwincompositing/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/kcmkwin/kwincompositing/CMakeLists.txt b/kcmkwin/kwincompositing/CMakeLists.txt
+index 350ef85de..75758a4a0 100644
+--- a/kcmkwin/kwincompositing/CMakeLists.txt
++++ b/kcmkwin/kwincompositing/CMakeLists.txt
+@@ -46,7 +46,7 @@ target_link_libraries(kwincompositing
+ kwin4_effect_builtins
+ )
+
+-
++if(BUILD_TESTING)
+ set(modelTest_SRC
+ model.cpp
+ effectconfig.cpp
+@@ -77,6 +77,7 @@ target_link_libraries(effectModelTest
+ kwineffects
+ kwin4_effect_builtins
+ )
++endif()
+
+ INSTALL(DIRECTORY qml DESTINATION ${DATA_INSTALL_DIR}/kwincompositing)
+ INSTALL(TARGETS kwincompositing DESTINATION ${PLUGIN_INSTALL_DIR})
+--
+2.13.5
+