summaryrefslogtreecommitdiff
path: root/media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-16 05:29:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-16 05:29:50 +0000
commitf174ed40d3cca6ab6b3bb718e8b5fccca6b04b3f (patch)
treed5b82bd892cb75d60b0adf4c44305caa9f3fce7a /media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch
parent02f2811de683662c5c6f5f120de6b59898ed6b98 (diff)
gentoo auto-resync : 16:01:2024 - 05:29:50
Diffstat (limited to 'media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch')
-rw-r--r--media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch b/media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch
new file mode 100644
index 000000000000..63dd3b58f0f0
--- /dev/null
+++ b/media-sound/audacity/files/audacity-3.3.3-remove-conan-test-dependency.patch
@@ -0,0 +1,39 @@
+https://bugs.gentoo.org/916258
+https://github.com/audacity/audacity/discussions/5841
+https://github.com/matoro/audacity/commit/270be88a9390eb25c2f4b16030f6897f08a6a685
+
+From 270be88a9390eb25c2f4b16030f6897f08a6a685 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Mon, 15 Jan 2024 20:21:08 -0500
+Subject: [PATCH] Remove dependency on conan for unit tests
+
+These run fine with catch2 installed from system package manager; there
+is no reason to enforce conan dependency.
+---
+ CMakeLists.txt | 12 ++++--------
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cbe79a43b933..7b682c4e729d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -228,15 +228,11 @@ cmd_option( ${_OPT}has_url_schemes_support
+ "Build custom URL schemes support into Audacity"
+ Off)
+
+-include( CMakeDependentOption )
+-
+-cmake_dependent_option(
+- ${_OPT}has_tests
++cmd_option( ${_OPT}has_tests
+ "Enables automated testing support"
+- On
+- "${_OPT}conan_enabled"
+- Off
+-)
++ On)
++
++include( CMakeDependentOption )
+
+ cmake_dependent_option(
+ ${_OPT}has_audiocom_upload