From 713468b8ef754af900376e888aeb5b80e53a7b7b38c1082c4428105207bcc7db Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 23 Jan 2023 16:16:23 +0000 Subject: [PATCH] Accepting request 1060147 from home:dirkmueller:Factory - update to 2.3.2: * autotools improvements OBS-URL: https://build.opensuse.org/request/show/1060147 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/soundtouch?expand=0&rev=41 --- 2.3.1.tar.gz | 3 --- 2.3.2.tar.gz | 3 +++ disable-ffast-math.patch | 22 +++++++++++++--------- soundtouch.changes | 6 ++++++ soundtouch.spec | 21 +++++++++++++++++++-- 5 files changed, 41 insertions(+), 14 deletions(-) delete mode 100644 2.3.1.tar.gz create mode 100644 2.3.2.tar.gz diff --git a/2.3.1.tar.gz b/2.3.1.tar.gz deleted file mode 100644 index 745b08d..0000000 --- a/2.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42633774f372d8cb0a33333a0ea3b30f357c548626526ac9f6ce018c94042692 -size 524651 diff --git a/2.3.2.tar.gz b/2.3.2.tar.gz new file mode 100644 index 0000000..95016d9 --- /dev/null +++ b/2.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed714f84a3e748de87b24f385ec69d3bdc51ca47b7f4710d2048b84b2761e7ff +size 583375 diff --git a/disable-ffast-math.patch b/disable-ffast-math.patch index b4bd63c..2f0bf12 100644 --- a/disable-ffast-math.patch +++ b/disable-ffast-math.patch @@ -4,9 +4,11 @@ is undesirable for shared libraries. see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 for details. ---- soundtouch/CMakeLists.txt 2021-09-07 17:26:53.000000000 +0200 -+++ soundtouch/CMakeLists.txt 2022-09-11 10:52:23.945515340 +0200 -@@ -3,13 +3,6 @@ +Index: soundtouch/CMakeLists.txt +=================================================================== +--- soundtouch.orig/CMakeLists.txt ++++ soundtouch/CMakeLists.txt +@@ -3,13 +3,6 @@ project(SoundTouch VERSION 2.3.2 LANGUAG include(GNUInstallDirs) @@ -20,14 +22,16 @@ for details. ##################### # SoundTouch library ---- soundtouch/configure.ac 2021-09-07 17:26:53.000000000 +0200 -+++ soundtouch/configure.ac 2022-09-11 10:52:44.845868245 +0200 -@@ -33,7 +33,7 @@ +Index: soundtouch/configure.ac +=================================================================== +--- soundtouch.orig/configure.ac ++++ soundtouch/configure.ac +@@ -33,7 +33,7 @@ AC_LANG(C++) - # Compiler flags. Apply -ffast-math to allow gcc autovectorization + # Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization # generate effective SIMD code. --CXXFLAGS+=" -O3 -ffast-math" -+CXXFLAGS+=" -O3 " +-CXXFLAGS+=" -Ofast" ++CXXFLAGS+=" -O2" # Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')" AR_FLAGS='cr' diff --git a/soundtouch.changes b/soundtouch.changes index 86d9c3f..ecd78d6 100644 --- a/soundtouch.changes +++ b/soundtouch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 2 19:48:21 UTC 2023 - Dirk Müller + +- update to 2.3.2: + * autotools improvements + ------------------------------------------------------------------- Sun Sep 11 08:55:11 UTC 2022 - Dirk Müller diff --git a/soundtouch.spec b/soundtouch.spec index f1bb802..99057de 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,7 +1,7 @@ # # spec file for package soundtouch # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 1 Name: soundtouch -Version: 2.3.1 +Version: 2.3.2 Release: 0 Summary: Audio Processing Library License: LGPL-2.1-or-later @@ -56,6 +56,15 @@ SoundTouch is a C++ audio processing library that allows changing the sound tempo, pitch and playback rate parameters independently from each other. +%package -n libSoundTouchDll%{sover} +Summary: Audio Processing Library +Group: System/Libraries + +%description -n libSoundTouchDll%{sover} +SoundTouch is a C++ audio processing library that allows +changing the sound tempo, pitch and playback rate parameters +independently from each other. + %package devel Summary: Development files for the SoundTouch audio processing library Group: Development/Languages/C and C++ @@ -94,6 +103,9 @@ rm -fr %{buildroot}%{_datadir}/doc/%{name} %post -n libSoundTouch%{sover} -p /sbin/ldconfig %postun -n libSoundTouch%{sover} -p /sbin/ldconfig +%post -n libSoundTouchDll%{sover} -p /sbin/ldconfig +%postun -n libSoundTouchDll%{sover} -p /sbin/ldconfig + %files %{_bindir}/* %{_mandir}/man1/* @@ -102,9 +114,14 @@ rm -fr %{buildroot}%{_datadir}/doc/%{name} %license COPYING.TXT %{_libdir}/libSoundTouch.so.%{sover}* +%files -n libSoundTouchDll%{sover} +%license COPYING.TXT +%{_libdir}/libSoundTouchDll.so.%{sover}* + %files devel %{_datadir}/aclocal/*.m4 %{_includedir}/%{name} +%{_includedir}/SoundTouchDLL.h %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so