Skip to content

Commit 043df12

Browse files
authored
Upgrade: soundtouch version to 2.3.3 (#11835)
1 parent f09e6ee commit 043df12

3 files changed

Lines changed: 62 additions & 36 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"soundtouch-2.1.1.tar.gz": "09311b159e15b2f5ceec953ad711922b466642a3000449f17de1874ce7a3ac8a"
3+
"soundtouch-2.3.3.tar.gz": "43b23dfac2f64a3aff55d64be096ffc7b73842c3f5665caff44975633a975a99"
44
}
55
}

SPECS-EXTENDED/soundtouch/soundtouch.spec

Lines changed: 59 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Vendor: Microsoft Corporation
22
Distribution: Azure Linux
33
Name: soundtouch
4-
Version: 2.1.1
5-
Release: 5%{?dist}
4+
Version: 2.3.3
5+
Release: 2%{?dist}
66
Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
7-
License: LGPLv2+
8-
URL: http://www.surina.net/soundtouch/
9-
Source0: https://gitlab.com/soundtouch/soundtouch/-/archive/%{version}/%{name}-%{version}.tar.gz
7+
License: LGPL-2.1-or-later
8+
URL: https://www.surina.net/soundtouch/
9+
Source0: https://codeberg.org/soundtouch/soundtouch/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
1010
BuildRequires: gcc-c++
11-
BuildRequires: autoconf automake libtool
11+
BuildRequires: cmake
1212

1313
%description
1414
SoundTouch is a LGPL-licensed open-source audio processing library for
@@ -32,33 +32,16 @@ Libraries, include files, etc you can use to develop soundtouch applications.
3232

3333

3434
%prep
35-
%autosetup -p1
36-
# Remove -O3 because we have our default optimizations.
37-
sed -i 's|-O3||' source/SoundTouch/Makefile.*
38-
sed -i 's|-O3||' source/SoundStretch/Makefile.*
39-
autoreconf -iv
40-
# set correct version for .so build
41-
%define ltversion %(echo %{version} | tr '.' ':')
42-
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
43-
source/SoundTouch/Makefile.in
44-
# cleanup a bit
45-
sed -i 's|\r||g' README.html source/SoundTouch/RateTransposer.cpp
35+
%autosetup -p1 -n %{name}
4636

4737

4838
%build
49-
%configure --disable-dependency-tracking --disable-static --enable-shared
50-
# Don't use rpath!
51-
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
52-
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
53-
make V=1 %{?_smp_mflags}
39+
%cmake
40+
%cmake_build
5441

5542

5643
%install
57-
%make_install
58-
rm %{buildroot}%{_libdir}/*.la
59-
60-
# remove redundant installed docs
61-
rm -rf %{buildroot}%{_docdir}/%{name}
44+
%cmake_install
6245

6346
# pkgconfig compat links for compat with older (API compatible) releases
6447
# dunno why upstream keeps changing the pkgconfig name
@@ -73,9 +56,6 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
7356
# > %{buildroot}%{_includedir}/soundtouch/soundtouch_config.h
7457

7558

76-
%ldconfig_scriptlets
77-
78-
7959
%files
8060
%doc README.html
8161
%license COPYING.TXT
@@ -86,12 +66,58 @@ ln -s soundtouch.pc %{buildroot}%{_libdir}/pkgconfig/soundtouch-1.0.pc
8666
%{_libdir}/lib*.so
8767
%{_libdir}/pkgconfig/*.pc
8868
%{_includedir}/%{name}
89-
%{_datadir}/aclocal/%{name}.m4
69+
%{_libdir}/cmake/SoundTouch
9070

9171

9272
%changelog
93-
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.1.1-5
94-
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
73+
* Tue Jan 21 2025 Archana Shettigar <v-shettigara@microsoft.com> - 2.3.3-2
74+
- Initial Azure Linux import from Fedora 41 (license: MIT).
75+
- License Verified
76+
77+
* Sun Sep 29 2024 Sérgio Basto <sergio@serjux.com> - 2.3.3-1
78+
- Update soundtouch to 2.3.3 (#2293433)
79+
80+
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-7
81+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
82+
83+
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-6
84+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
85+
86+
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
87+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
88+
89+
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
90+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
91+
92+
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-3
93+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
94+
95+
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
96+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
97+
98+
* Thu Sep 09 2021 Uwe Klotz <uwe.klotz@gmail.com> - 2.3.1-1
99+
- Update to new upstream version 2.3.1
100+
Switch build from autotools to CMake
101+
102+
* Tue Aug 31 2021 Sérgio Basto <sergio@serjux.com> - 2.3.0-2
103+
- Continuing to use the autotools build instead of new CMake
104+
https://gitlab.com/soundtouch/soundtouch/-/issues/45
105+
106+
* Sun Aug 29 2021 Sérgio Basto <sergio@serjux.com> - 2.3.0-1
107+
- Update to 2.3.0 (#1998849)
108+
109+
* Sun Aug 29 2021 Uwe Klotz <uwe.klotz@gmail.com> - 2.1.2-1
110+
- Update to new upstream version 2.1.2
111+
Bump version to 2.1.2 to correct incorrect version info in configure.ac
112+
113+
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-7
114+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
115+
116+
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
117+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
118+
119+
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-5
120+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
95121

96122
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
97123
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28036,8 +28036,8 @@
2803628036
"type": "other",
2803728037
"other": {
2803828038
"name": "soundtouch",
28039-
"version": "2.1.1",
28040-
"downloadUrl": "https://gitlab.com/soundtouch/soundtouch/-/archive/2.1.1/soundtouch-2.1.1.tar.gz"
28039+
"version": "2.3.3",
28040+
"downloadUrl": "https://codeberg.org/soundtouch/soundtouch/archive/2.3.3.tar.gz"
2804128041
}
2804228042
}
2804328043
},

0 commit comments

Comments
 (0)