Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kde-cli-tools/files/
Date: Thu, 16 Sep 2021 17:06:11
Message-Id: 1631811945.0a71ca9df4a0eb403036cf7238653de78f2b0027.asturm@gentoo
1 commit: 0a71ca9df4a0eb403036cf7238653de78f2b0027
2 Author: Michal Privoznik <mprivozn <AT> redhat <DOT> com>
3 AuthorDate: Thu Sep 16 16:58:03 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 16 17:05:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a71ca9d
7
8 kde-plasma/kde-cli-tools: Bring kde-cli-tools-5.12.80-tests-optional.patch back
9
10 The kde-cli-tools-5.12.80-tests-optional.patch file was removed
11 prematurely. It's still in use by kde-cli-tools-5.22.5.ebuild.
12
13 Signed-off-by: Michal Privoznik <mprivozn <AT> redhat.com>
14 Closes: https://github.com/gentoo/gentoo/pull/22311
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 .../files/kde-cli-tools-5.12.80-tests-optional.patch | 10 ++++++++++
18 1 file changed, 10 insertions(+)
19
20 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
21 new file mode 100644
22 index 00000000000..11e032847c9
23 --- /dev/null
24 +++ b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch
25 @@ -0,0 +1,10 @@
26 +--- a/keditfiletype/CMakeLists.txt 2018-02-14 22:09:07.341549164 -0700
27 ++++ b/keditfiletype/CMakeLists.txt 2018-02-14 23:02:11.126749356 -0700
28 +@@ -1,4 +1,6 @@
29 +-add_subdirectory(tests)
30 ++if(BUILD_TESTING)
31 ++ add_subdirectory(tests)
32 ++endif()
33 +
34 + # KI18N Translation Domain for this library
35 + add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_filetypes\")