Compare commits

...

No commits in common. 'i10ce' and 'c9' have entirely different histories.
i10ce ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/openal-soft-1.23.1.tar.bz2 SOURCES/openal-soft-1.19.1.tar.bz2

@ -1 +1 @@
2ba4eed6ec38b3f5c9b2fbdce6cfcfdf46bc232c SOURCES/openal-soft-1.23.1.tar.bz2 849db47ec3711f0181c4462b2d204c4a3d5937d2 SOURCES/openal-soft-1.19.1.tar.bz2

@ -0,0 +1,13 @@
Index: openal-soft-1.16.0/CMakeLists.txt
===================================================================
--- openal-soft-1.16.0.orig/CMakeLists.txt
+++ openal-soft-1.16.0/CMakeLists.txt
@@ -679,7 +679,7 @@ ENDIF()
# Check for ARM Neon support
OPTION(ALSOFT_REQUIRE_NEON "Require ARM Neon support" OFF)
CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H ${FPU_NEON_SWITCH})
-IF(HAVE_ARM_NEON_H)
+IF(HAVE_ARM_NEON_H AND CMAKE_SIZEOF_VOID_P EQUAL 4) # only 32-bit ARM
OPTION(ALSOFT_CPUEXT_NEON "Enable ARM Neon support" ON)
IF(ALSOFT_CPUEXT_NEON)
SET(HAVE_NEON 1)

@ -0,0 +1,16 @@
diff -up openal-soft-1.19.1/Alc/bformatdec.h~ openal-soft-1.19.1/Alc/bformatdec.h
--- openal-soft-1.19.1/Alc/bformatdec.h~ 2018-10-12 00:05:31.000000000 +0200
+++ openal-soft-1.19.1/Alc/bformatdec.h 2020-02-16 16:11:57.105035079 +0100
@@ -24,9 +24,9 @@
/* NOTE: These are scale factors as applied to Ambisonics content. Decoder
* coefficients should be divided by these values to get proper N3D scalings.
*/
-const ALfloat N3D2N3DScale[MAX_AMBI_COEFFS];
-const ALfloat SN3D2N3DScale[MAX_AMBI_COEFFS];
-const ALfloat FuMa2N3DScale[MAX_AMBI_COEFFS];
+extern const ALfloat N3D2N3DScale[MAX_AMBI_COEFFS];
+extern const ALfloat SN3D2N3DScale[MAX_AMBI_COEFFS];
+extern const ALfloat FuMa2N3DScale[MAX_AMBI_COEFFS];
struct AmbDecConf;

@ -1,32 +1,30 @@
%define __cmake_in_source_build 1
Name: openal-soft Name: openal-soft
Version: 1.23.1 Version: 1.19.1
Release: 6%{?dist} Release: 16%{?dist}
Summary: Open Audio Library Summary: Open Audio Library
License: LGPL-2.0-or-later AND BSD-3-Clause License: LGPLv2+
URL: https://openal-soft.org/ URL: http://openal-soft.org/
Source0: https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2 Source0: http://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
Patch0: openal-soft-arm_neon-only-for-32bit.patch
Patch1: openal-soft-fcommon-fix.patch
BuildRequires: make
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: ninja-build
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: fluidsynth-devel BuildRequires: fluidsynth-devel
BuildRequires: portaudio-devel BuildRequires: portaudio-devel
%endif %endif
%if 0%{?fedora} || 0%{?rhel} >= 9 %if 0%{?fedora} || 0%{?rhel} < 9
BuildRequires: pipewire-devel BuildRequires: SDL_sound-devel
%endif
%if 0%{?fedora}
BuildRequires: libmysofa-devel
%endif %endif
BuildRequires: libsndfile-devel
BuildRequires: pulseaudio-libs-devel BuildRequires: pulseaudio-libs-devel
%if 0%{?fedora} || 0%{?rhel} <= 9
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
%endif
BuildRequires: SDL2-devel BuildRequires: SDL2-devel
Obsoletes: openal <= 0.0.10 Obsoletes: openal <= 0.0.10
Provides: openal = %{version} Provides: openal = %{version}
@ -59,7 +57,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples %description examples
Sample applications for OpenAl Soft. Sample applications for OpenAl Soft.
%if 0%{?fedora} || 0%{?rhel} <= 9
%package qt %package qt
Summary: Qt frontend for configuring OpenAL Soft Summary: Qt frontend for configuring OpenAL Soft
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -67,34 +64,27 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description qt %description qt
The %{name}-qt package contains alsoft-config, a Qt-based tool The %{name}-qt package contains alsoft-config, a Qt-based tool
for configuring OpenAL features. for configuring OpenAL features.
%endif
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
%cmake -G Ninja \ %cmake -DALSOFT_CPUEXT_NEON:BOOL=OFF .
-DCMAKE_BUILD_TYPE=Release \ %make_build
-DALSOFT_CPUEXT_NEON:BOOL=OFF \
-DALSOFT_EXAMPLES:BOOL=ON \
-DALSOFT_UTILS:BOOL=ON \
-DALSOFT_INSTALL_CONFIG:BOOL=ON \
-DALSOFT_INSTALL_EXAMPLES:BOOL=ON \
-DALSOFT_INSTALL_HRTF_DATA:BOOL=ON \
-DALSOFT_INSTALL_UTILS:BOOL=ON
%cmake_build
%install %install
%cmake_install %make_install
find %{buildroot} -name '*.la' -exec rm -f {} ';'
install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
# Don't pin the pulseaudio stream to a specific output device # Don't pin the pulseaudio stream to a specific output device
sed -i 's/#allow-moves = false/allow-moves = true/' \ sed -i 's/#allow-moves = false/allow-moves = true/' \
%{buildroot}%{_sysconfdir}/openal/alsoft.conf %{buildroot}%{_sysconfdir}/openal/alsoft.conf
%ldconfig_scriptlets
%files %files
%license COPYING BSD-3Clause %doc COPYING
%doc README.md ChangeLog
%{_bindir}/openal-info %{_bindir}/openal-info
%{_libdir}/libopenal.so.* %{_libdir}/libopenal.so.*
%dir %{_sysconfdir}/openal %dir %{_sysconfdir}/openal
@ -104,15 +94,14 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \
%exclude %{_datadir}/openal/presets/presets.txt %exclude %{_datadir}/openal/presets/presets.txt
%files devel %files devel
%if 0%{?fedora} %{_bindir}/makehrtf
%{_bindir}/makemhr
%endif
%{_includedir}/* %{_includedir}/*
%{_libdir}/libopenal.so %{_libdir}/libopenal.so
%{_libdir}/pkgconfig/openal.pc %{_libdir}/pkgconfig/openal.pc
%{_libdir}/cmake/OpenAL %{_libdir}/cmake/OpenAL
%files examples %files examples
%if 0%{?fedora} || 0%{?rhel} < 9
%{_bindir}/alhrtf %{_bindir}/alhrtf
%{_bindir}/allatency %{_bindir}/allatency
%{_bindir}/alloopback %{_bindir}/alloopback
@ -120,75 +109,27 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \
%{_bindir}/alplay %{_bindir}/alplay
%{_bindir}/alreverb %{_bindir}/alreverb
%{_bindir}/alstream %{_bindir}/alstream
%endif
%{_bindir}/alrecord %{_bindir}/alrecord
%{_bindir}/altonegen %{_bindir}/altonegen
%if 0%{?fedora} || 0%{?rhel} <= 9
%files qt %files qt
%{_bindir}/alsoft-config %{_bindir}/alsoft-config
%endif
%changelog %changelog
* Mon Dec 23 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.23.1-6 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.1-16
- Rebuilt for MSVSphere 10 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 16 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.23.1-3
- Drop libmysofa and qt5 from RHEL builds
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Apr 12 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1.23.1-1
- Updated to version 1.23.1.
* Mon Feb 06 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1.23.0-1
- Updated to version 1.23.0.
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-6
- Fixed examples build on RHEL and ELN.
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-5
- Enabled PipeWire native backend also on RHEL 9+.
* Sun Dec 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-4
- Enabled PipeWire native backend on Fedora.
- Switched to SPDX.
* Fri Sep 30 2022 Troy Dawson <tdawson@redhat.com> - 1.22.2-3
- Fix ELN build failures
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 28 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 1.22.2-1
- Updated to version 1.22.2.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Sep 06 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.21.1-1
- Updated to version 1.21.1.
* Wed Aug 04 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-15 * Wed Aug 04 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-15
- Don't package some examples when SDL_sound is disabled - Don't package some examples when SDL_sound is disabled
* Mon Aug 02 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-14 * Mon Aug 02 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-14
- Only build SDL_sound support on Fedora and rhel < 9 - Only build SDL_sound support on Fedora and rhel < 9
- Resolves: rhbz#1989141
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-13 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.19.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-12 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save