SHA256
1
0
forked from pool/soundtouch

Accepting request 1174176 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1174176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/soundtouch?expand=0&rev=37
This commit is contained in:
Ana Guerrero 2024-05-16 15:13:01 +00:00 committed by Git OBS Bridge
commit 0e893826e7
5 changed files with 33 additions and 25 deletions

BIN
2.3.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
2.3.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -4,34 +4,34 @@ is undesirable for shared libraries.
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
for details. for details.
Index: soundtouch/CMakeLists.txt Index: b/CMakeLists.txt
=================================================================== ===================================================================
--- soundtouch.orig/CMakeLists.txt --- a/CMakeLists.txt
+++ soundtouch/CMakeLists.txt +++ b/CMakeLists.txt
@@ -3,13 +3,6 @@ project(SoundTouch VERSION 2.3.2 LANGUAG @@ -9,12 +9,7 @@ set(COMPILE_OPTIONS)
if(MSVC)
set(COMPILE_DEFINITIONS /O2 /fp:fast)
else()
- list(APPEND COMPILE_OPTIONS -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas)
- if(EMSCRIPTEN)
- list(APPEND COMPILE_OPTIONS -O3)
- else()
- list(APPEND COMPILE_OPTIONS -Ofast)
- endif()
+ list(APPEND COMPILE_OPTIONS -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas -O2)
endif()
include(GNUInstallDirs)
-if(MSVC)
- set(COMPILE_DEFINITIONS /O2 /fp:fast)
- set(COMPILE_OPTIONS )
-else()
- set(COMPILE_OPTIONS -Ofast)
-endif()
-
##################### #####################
# SoundTouch library Index: b/configure.ac
Index: soundtouch/configure.ac
=================================================================== ===================================================================
--- soundtouch.orig/configure.ac --- a/configure.ac
+++ soundtouch/configure.ac +++ b/configure.ac
@@ -33,7 +33,7 @@ AC_LANG(C++) @@ -33,7 +33,7 @@ AC_LANG(C++)
# Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization # Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization
# generate effective SIMD code. # generate effective SIMD code.
-CXXFLAGS+=" -Ofast" -CXXFLAGS="${CXXFLAGS} -Ofast -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas"
+CXXFLAGS+=" -O2" +CXXFLAGS="${CXXFLAGS} -O2 -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas"
# Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')" # Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')"
AR_FLAGS='cr' AR_FLAGS='cr'

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue May 14 16:11:11 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
- Update to 2.3.3:
* Fixing compiler warnings, maintenance fixes to make/build files
for various systems
- Refresh disable-ffast-math.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 26 13:42:21 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Mon Feb 26 13:42:21 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package soundtouch # spec file for package soundtouch
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define sover 1 %define sover 1
Name: soundtouch Name: soundtouch
Version: 2.3.2 Version: 2.3.3
Release: 0 Release: 0
Summary: Audio Processing Library Summary: Audio Processing Library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later