summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2021-09-16 18:58:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-09-16 19:05:45 +0200
commit0a71ca9df4a0eb403036cf7238653de78f2b0027 (patch)
treed5c80bdbfb3c0f071828af05f1ff6a1d5b86e958 /kde-plasma/kde-cli-tools/files
parentkde-apps/libkleo: Set VIRTUALX_REQUIRED="test" (diff)
downloadgentoo-0a71ca9df4a0eb403036cf7238653de78f2b0027.tar.gz
gentoo-0a71ca9df4a0eb403036cf7238653de78f2b0027.tar.bz2
gentoo-0a71ca9df4a0eb403036cf7238653de78f2b0027.zip
kde-plasma/kde-cli-tools: Bring kde-cli-tools-5.12.80-tests-optional.patch back
The kde-cli-tools-5.12.80-tests-optional.patch file was removed prematurely. It's still in use by kde-cli-tools-5.22.5.ebuild. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Closes: https://github.com/gentoo/gentoo/pull/22311 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kde-cli-tools/files')
-rw-r--r--kde-plasma/kde-cli-tools/files/kde-cli-tools-5.12.80-tests-optional.patch10
1 files changed, 10 insertions, 0 deletions
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 000000000000..11e032847c96
--- /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\")