* [gentoo-commits] proj/kde:master commit in: kde-plasma/kde-cli-tools/, kde-plasma/kde-cli-tools/files/
@ 2018-02-18 13:35 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2018-02-18 13:35 UTC (permalink / raw
To: gentoo-commits
commit: 9f9c8f1d1421c5259044c09146408a33cd83f669
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 13:34:21 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 13:34:21 2018 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9f9c8f1d
kde-plasma/kde-cli-tools: Fix build w/o tests
Thanks-to: Duncan <1i5t5.duncan <AT> cox.net>
Closes: https://bugs.gentoo.org/646264
Package-Manager: Portage-2.3.24, Repoman-2.3.6
.../files/kde-cli-tools-5.12.80-tests-optional.patch | 10 ++++++++++
kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild | 2 ++
2 files changed, 12 insertions(+)
diff --git a/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
new file mode 100644
index 0000000000..11e032847c
--- /dev/null
+++ b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
@@ -0,0 +1,10 @@
+--- a/keditfiletype/CMakeLists.txt 2018-02-14 22:09:07.341549164 -0700
++++ b/keditfiletype/CMakeLists.txt 2018-02-14 23:02:11.126749356 -0700
+@@ -1,4 +1,6 @@
+-add_subdirectory(tests)
++if(BUILD_TESTING)
++ add_subdirectory(tests)
++endif()
+
+ # KI18N Translation Domain for this library
+ add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_filetypes\")
diff --git a/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild b/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild
index 4877ef2a5d..2be7050d29 100644
--- a/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild
+++ b/kde-plasma/kde-cli-tools/kde-cli-tools-9999.ebuild
@@ -40,6 +40,8 @@ RDEPEND="${DEPEND}
!kde-apps/kdesu
"
+PATCHES=( "${FILESDIR}/${PN}-5.12.80-tests-optional.patch" )
+
# requires running kde environment
RESTRICT+=" test"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-18 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-18 13:35 [gentoo-commits] proj/kde:master commit in: kde-plasma/kde-cli-tools/, kde-plasma/kde-cli-tools/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox