diff --git a/0001-soundtouch-2.3.2-aarch64-flags.patch b/0001-soundtouch-2.3.2-aarch64-flags.patch new file mode 100644 index 0000000000000000000000000000000000000000..101c22663ddb0ffcb03ad694eaf4542ae4d0f440 --- /dev/null +++ b/0001-soundtouch-2.3.2-aarch64-flags.patch @@ -0,0 +1,12 @@ +--- soundtouch/CMakeLists.txt.orig 2023-04-23 18:43:12.365385760 +0800 ++++ soundtouch/CMakeLists.txt 2023-04-23 18:46:31.301385760 +0800 +@@ -68,7 +68,9 @@ + option(NEON "Use ARM Neon SIMD instructions if in ARM CPU" ON) + if(${NEON} AND ${NEON_CPU}) + target_compile_definitions(SoundTouch PRIVATE SOUNDTOUCH_USE_NEON) ++ if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64.*$") + target_compile_options(SoundTouch PRIVATE -mfpu=neon) ++ endif() + endif() + + find_package(OpenMP) diff --git a/2.3.1.tar.gz b/2.3.1.tar.gz deleted file mode 100644 index fa28701ba4010ffdd399717bf8c42965433b22ac..0000000000000000000000000000000000000000 Binary files a/2.3.1.tar.gz and /dev/null differ diff --git a/soundtouch-2.3.2.tar.gz b/soundtouch-2.3.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0349d3c9a460302ad2defe9957bcfdf1b439938f Binary files /dev/null and b/soundtouch-2.3.2.tar.gz differ diff --git a/soundtouch.spec b/soundtouch.spec index a48978b47e095ea8a5b424a0e3b8f1cf883d9e68..3ba978d1de23809d02e3244cc4ce04d55ff3044c 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,16 +1,17 @@ -%define anolis_release 3 +%define anolis_release 1 Name: soundtouch -Version: 2.3.1 +Version: 2.3.2 Release: %{anolis_release}%{?dist} Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates License: LGPLv2+ URL: http://www.surina.net/soundtouch/ -Source0: https://codeberg.org/soundtouch/soundtouch/archive/%{version}.tar.gz +Source0: https://www.surina.net/soundtouch/%{name}-%{version}.tar.gz +Patch0: 0001-soundtouch-2.3.2-aarch64-flags.patch BuildRequires: gcc-c++ -BuildRequires: cmake +BuildRequires: cmake >= 3.1 %description SoundTouch is a LGPL-licensed open-source audio processing library for @@ -34,7 +35,6 @@ The %{name}-doc package contains documentation files for %{name}. %package devel Summary: Libraries, includes, etc to develop soundtouch applications Requires: %{name} = %{version}-%{release} -Requires: pkgconfig %description devel Libraries, include files, etc you can use to develop soundtouch applications. @@ -71,6 +71,10 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc %{_libdir}/cmake/SoundTouch %changelog +* Sun Apr 23 2023 Funda Wang - 2.3.2-1 +- New version 2.3.2 +- Disable neon flags on aarch64 + * Sat Mar 04 2023 Shawn Wang - 2.3.1-3 - add abi infos