diff options
Diffstat (limited to 'media-video/subtitlecomposer/files')
-rw-r--r-- | media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch new file mode 100644 index 000000000000..75d4f71a2ff7 --- /dev/null +++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-tests-optional.patch @@ -0,0 +1,27 @@ +From 6e25dd4670f0d14bdc8aff050bdacb050e0327ff Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Wed, 6 Oct 2021 20:30:03 +0200 +Subject: [PATCH] Make tests optional + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + src/CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 1cb7098..97d60a3 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -124,7 +124,9 @@ else() + message(STATUS "ICU Library not found. KEncodingProber fallback will be used for charset detection.") + endif() + ++if(BUILD_TESTING) + add_subdirectory(tests) ++endif() + add_subdirectory(scripting) + + add_executable(subtitlecomposer WIN32 main.cpp ${subtitlecomposer_RES_SRC}) +-- +2.33.0 + |