commit cff3ad958956289b4892890a275fc4ad683fc175
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Apr 1 14:38:57 2023 +0100
fix
audacity-freeworld.spec | 7 ++++---
audacity-non-x86.patch | 13 +++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/audacity-freeworld.spec b/audacity-freeworld.spec
index 86fb3d5..17e97c7 100644
--- a/audacity-freeworld.spec
+++ b/audacity-freeworld.spec
@@ -20,10 +20,11 @@ Source0:
https://github.com/audacity/audacity/archive/Audacity-%{version}.tar.gz
# Fix portmidi detection from cmake
Patch0: audacity-2.4.2-fix-portmidi-as-system.patch
# Fix libmp3lame detection from cmake
-Patch1: audacity-2.4.2-fix-libmp3lame-as-system.patch
+Patch1: audacity-2.4.2-fix-libmp3lame-as-system.patch
Patch2: audacity-install-rpath.patch
-Patch3: audacity-3.2.1-compile.patch
-Patch4:
https://github.com/audacity/audacity/commit/deaa833a4253699493443e2fee68e...
+Patch3: audacity-non-x86.patch
+Patch4: audacity-3.2.1-compile.patch
+Patch5:
https://github.com/audacity/audacity/commit/deaa833a4253699493443e2fee68e...
BuildRequires: cmake
BuildRequires: gettext-devel
diff --git a/audacity-non-x86.patch b/audacity-non-x86.patch
new file mode 100644
index 0000000..cb9fd72
--- /dev/null
+++ b/audacity-non-x86.patch
@@ -0,0 +1,13 @@
+diff -up audacity-sources-3.2.3/cmake-proxies/libsbsms/CMakeLists.txt.omv~
audacity-sources-3.2.3/cmake-proxies/libsbsms/CMakeLists.txt
+--- audacity-sources-3.2.3/cmake-proxies/libsbsms/CMakeLists.txt.omv~ 2022-12-27
22:49:32.131283387 +0000
++++ audacity-sources-3.2.3/cmake-proxies/libsbsms/CMakeLists.txt 2022-12-27
22:58:31.942425724 +0000
+@@ -37,7 +37,7 @@ if( Threads_FOUND AND CMAKE_USE_PTHREADS
+ set( MULTITHREADED 1 )
+ endif()
+
+-if(NOT APPLE OR MACOS_ARCHITECTURE STREQUAL "x86_64")
++if(CMAKE_SYSTEM_PROCESSOR MATCHES "(i.86|x86|X86|x86_64|X86_64|amd64|AMD64)")
+ set( ENABLE_SSE ${HAVE_SSE} )
+ endif()
+
+diff -up audacity-sources-3.2.3/lib-src/libsbsms/src/fft.h.omv~
audacity-sources-3.2.3/lib-src/libsbsms/src/fft.h