commit: 54f95c82ba055fd5e1f9919431cbcb2fb0295740
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Jan 21 21:25:02 2015 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 22:52:41 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=54f95c82
[kde-apps/kwrite] Make tests optional
There are currently none for kwrite.
---
kde-apps/kwrite/files/kwrite-9999-tests-optional.patch | 11 +++++++++++
kde-apps/kwrite/kwrite-9999.ebuild | 2 ++
2 files changed, 13 insertions(+)
diff --git a/kde-apps/kwrite/files/kwrite-9999-tests-optional.patch
b/kde-apps/kwrite/files/kwrite-9999-tests-optional.patch
new file mode 100644
index 0000000..8d6f3f3
--- /dev/null
+++ b/kde-apps/kwrite/files/kwrite-9999-tests-optional.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2015-01-21 22:20:04.283180998 +0100
++++ b/CMakeLists.txt 2015-01-21 22:20:28.328951019 +0100
+@@ -30,7 +30,7 @@
+ include(KDECMakeSettings)
+ include(KDECompilerSettings)
+
+-find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Script
Sql Test)
++find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Script
Sql)
+
+ # Load the frameworks we need
+ find_package(KF5 REQUIRED COMPONENTS
diff --git a/kde-apps/kwrite/kwrite-9999.ebuild
b/kde-apps/kwrite/kwrite-9999.ebuild
index a8ff9e0..5ff01bb 100644
--- a/kde-apps/kwrite/kwrite-9999.ebuild
+++ b/kde-apps/kwrite/kwrite-9999.ebuild
@@ -38,6 +38,8 @@ RDEPEND="${DEPEND}
!kde-base/kwrite:4
"
+PATCHES=( "${FILESDIR}/${PN}-9999-tests-optional.patch" )
+
src_configure() {
local mycmakeargs=(
-DBUILD_addons=FALSE