SHA256
1
0
forked from pool/audacity
audacity/0001-Scope-libraries-required-by-the-optional-features.patch
Dave Plater fac9ee7869 Accepting request 914616 from home:plater
- Update to version 3.0.4
- Add git patches:
  0001-Adds-an-option-to-disable-Conan.patch,
  0001-Scope-libraries-required-by-the-optional-features.patch
  0001-Fixes-wxwidgets-fixup-script.patch
- Added patch adapted from git, Fixes-GCC11-compatibility.patch
- Removed obsolete patches, audacity-remove-wx-test.patch and
  b4b5cc8.patch
- Upstream changes:
  *This is a hotfix release that fixes a bug with envelope points,
   which could multiply uncontrollably and cause Audacity to crash.
  *In particular:
    #1476: Envelope points are multiplied when using 
    Filter Curve EQ or Graphic EQ
    #1477: Filter Curve EQ will crash if there is an envelope 
    point outside of the selection
  *This fix re-introduces an earlier, but way less destructive bug:
   bugzilla 208 / #1500: Some effects delete Envelope Control Points
   or do not move them when timeline changes
  *Other than that, this release is identical to Version 3.0.3.

OBS-URL: https://build.opensuse.org/request/show/914616
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=167
2021-08-27 13:14:25 +00:00

65 lines
1.4 KiB
Diff

From eb2df2c0f68f3086085001207ff17a12a2523e9f Mon Sep 17 00:00:00 2001
From: Dmitry Vedenko <vedenko@gmail.com>
Date: Fri, 18 Jun 2021 20:26:58 +0300
Subject: [PATCH] Scope libraries, required by the optional features
---
cmake-proxies/CMakeLists.txt | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
Index: b/cmake-proxies/CMakeLists.txt
===================================================================
--- a/cmake-proxies/CMakeLists.txt 2021-08-18 12:21:37.000000000 +0200
+++ b/cmake-proxies/CMakeLists.txt 2021-08-26 08:14:23.274727098 +0200
@@ -87,6 +87,7 @@ add_conan_lib(
REQUIRED
INTERFACE_NAME libmp3lame::libmp3lame
PKG_CONFIG "lame >= 3.100"
+ ALLOW_FIND_PACKAGE
)
add_conan_lib(
@@ -113,16 +114,16 @@ else()
set ( curl_ssl "openssl" )
endif ()
-add_conan_lib(
- ThreadPool
- threadpool/20140926
- REQUIRED
- ALWAYS_ALLOW_CONAN_FALLBACK
-)
-
if( ${_OPT}has_networking )
add_conan_lib(
+ ThreadPool
+ threadpool/20140926
+ REQUIRED
+ ALWAYS_ALLOW_CONAN_FALLBACK
+ )
+
+ add_conan_lib(
CURL
libcurl/7.75.0
REQUIRED
@@ -148,11 +149,13 @@ if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwi
)
endif()
-add_conan_lib(
- RapidJSON
- rapidjson/1.1.0
- REQUIRED
-)
+if( ${_OPT}has_sentry_reporting )
+ add_conan_lib(
+ RapidJSON
+ rapidjson/1.1.0
+ REQUIRED
+ )
+endif()
set_conan_vars_to_parent()