From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7D937138ACF for ; Wed, 21 Jan 2015 22:52:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C7D2E086D; Wed, 21 Jan 2015 22:52:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BE4AE086D for ; Wed, 21 Jan 2015 22:52:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DECB3403C1 for ; Wed, 21 Jan 2015 22:52:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A43810160 for ; Wed, 21 Jan 2015 22:52:53 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1421880761.1113ca15d1439bd3356275cf5dbcf135dba8cc0b.johu@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kate/files/, kde-apps/kate/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kate/files/kate-9999-tests-optional.patch kde-apps/kate/kate-9999.ebuild X-VCS-Directories: kde-apps/kate/files/ kde-apps/kate/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 1113ca15d1439bd3356275cf5dbcf135dba8cc0b X-VCS-Branch: master Date: Wed, 21 Jan 2015 22:52:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 35b3e52e-68e5-4fb6-ba6b-a52e7647b1c8 X-Archives-Hash: 6f592c61f9f7804075472143f703e478 commit: 1113ca15d1439bd3356275cf5dbcf135dba8cc0b Author: Andreas Sturmlechner gmail com> AuthorDate: Wed Jan 21 21:17:34 2015 +0000 Commit: Johannes Huber gentoo org> CommitDate: Wed Jan 21 22:52:41 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1113ca15 [kde-apps/kate] Make tests optional --- kde-apps/kate/files/kate-9999-tests-optional.patch | 15 +++++++++++++++ kde-apps/kate/kate-9999.ebuild | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/kde-apps/kate/files/kate-9999-tests-optional.patch b/kde-apps/kate/files/kate-9999-tests-optional.patch new file mode 100644 index 0000000..f7e29ef --- /dev/null +++ b/kde-apps/kate/files/kate-9999-tests-optional.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt 2015-01-21 21:44:44.786490427 +0100 ++++ b/CMakeLists.txt 2015-01-21 22:07:15.833138021 +0100 +@@ -30,7 +30,11 @@ + 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) ++ ++if(BUILD_TESTING) ++ find_package(Qt5Test ${QT_MIN_VERSION} CONFIG REQUIRED) ++endif() + + # Load the frameworks we need + find_package(KF5 REQUIRED COMPONENTS diff --git a/kde-apps/kate/kate-9999.ebuild b/kde-apps/kate/kate-9999.ebuild index af4c41b..6f556c7 100644 --- a/kde-apps/kate/kate-9999.ebuild +++ b/kde-apps/kate/kate-9999.ebuild @@ -4,7 +4,8 @@ EAPI=5 -KDE_HANDBOOK="optional" +KDE_HANDBOOK="true" +KDE_TEST="true" inherit kde5 DESCRIPTION="Kate is an advanced text editor" @@ -53,6 +54,8 @@ RDEPEND="${DEPEND} !kde-base/kate:4 " +PATCHES=( "${FILESDIR}/${PN}-9999-tests-optional.patch" ) + src_configure() { local mycmakeargs=( $(cmake-utils_use_build addons)