4 Commits

Author SHA256 Message Date
4a45399f06 Accepting request 1284318 from games
OBS-URL: https://build.opensuse.org/request/show/1284318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openal-soft?expand=0&rev=47
2025-06-11 14:20:16 +00:00
Dmitriy Perlow
c544aefc4a Accepting request 1281535 from home:VaiTon:branches:games
- Use the @TAG@~@VERSION@ format specifier in obs_scm service 

- Update to git version 1.24.3+git7f56dcdf. This includes the port
  to Qt6 added as a patch previously and also other fixes that
  let this build in Leap 15.6.
- Drop patch that's already included in this version:
  * 1132.patch

- Use %cmake_build instead of %make_jobs
- Add 1132.patch: port to Qt6
- Apply spec-cleaner -ki changes
- Replaced deprecated ALSOFT_CONFIG CMake option with
  ALSOFT_INSTALL_UTILS
- Update to version 1.24.3:

OBS-URL: https://build.opensuse.org/request/show/1281535
OBS-URL: https://build.opensuse.org/package/show/games/openal-soft?expand=0&rev=25
2025-06-10 06:31:25 +00:00
47215bb927 Accepting request 1250617 from games
OBS-URL: https://build.opensuse.org/request/show/1250617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openal-soft?expand=0&rev=46
2025-03-07 15:38:55 +00:00
a7a38dc1f6 - Update to version 1.24.2
* Implemented the AL_SOFT_bformat_hoa extension.
  * Implemented default device change events for the PulseAudio
    backend.
  * Implemented an option for WASAPI exclusive mode playback.
  * Fixed reverb being too quiet for sounds from different
    directions.
  * Fixed building alffplay on systems without pkg-config.
  * Improved output format detection for CoreAudio.
  * Changed the default resampler back to Cubic Spline.
  * Added an SDL3 playback backend. Disabled by default to avoid
    a runtime dependency and for compatibility; a single process
    can't safely use SDL2 and SDL3 together on some OSs, so enable
    with care.
  * Converted examples from SDL2 to SDL3.
  * Integrated fmtlib into the main library and router for logging
    and string formatting.
- Update to version 1.24.1
  * Fixed compilation on PowerPC.
  * Fixed compilation on some targets that lack lock-free 64-bit
    atomics.
  * Fixed a crash when parsing certain option values.
  * Improved compatibility when compiling as C++20 or later.
  * Integrated fmtlib for some examples and utilities.
- Update to version 1.24.0
  * Updated library codebase to C++17.
  * Implemented the ALC_SOFT_system_events extension.
  * Implemented the AL_EXT_debug extension.
  * Implemented the AL_EXT_direct_context extension.
  * Implemented speaker configuration and headphones detection on

OBS-URL: https://build.opensuse.org/package/show/games/openal-soft?expand=0&rev=23
2025-03-06 11:44:39 +00:00
7 changed files with 172 additions and 65 deletions

19
_service Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/kcat/openal-soft.git</param>
<param name="revision">7f56dcdfbce02bea96894c688d48be574a55a41d</param>
<param name="match-tag">[0-9]*.[0-9]*.[0-9]*</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="filename">openal-soft</param>
</service>
<service name="set_version" mode="manual" />
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
</services>

View File

@@ -1,25 +0,0 @@
From b5911219a2770c0ceb982ee8c98e954b8c5a5f0e Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Tue, 4 Feb 2020 15:24:47 +0100
Subject: [PATCH] Disable pulseaudio auto spawning
---
alc/backends/pulseaudio.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alc/backends/pulseaudio.cpp b/alc/backends/pulseaudio.cpp
index be4e742c..376af844 100644
--- a/alc/backends/pulseaudio.cpp
+++ b/alc/backends/pulseaudio.cpp
@@ -1449,7 +1449,7 @@ bool PulseBackendFactory::init()
#endif /* HAVE_DYNLOAD */
pulse_ctx_flags = PA_CONTEXT_NOFLAGS;
- if(!GetConfigValueBool(nullptr, "pulse", "spawn-server", 1))
+ if(!GetConfigValueBool(nullptr, "pulse", "spawn-server", 0))
pulse_ctx_flags |= PA_CONTEXT_NOAUTOSPAWN;
try {
--
2.16.4

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44d8d01e864192c0d62dbdea5a2d85faf97138cf6469d6c749dd7ab19fe6b136
size 5693453

View File

@@ -1,8 +1,109 @@
-------------------------------------------------------------------
Fri May 30 16:44:11 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Use the @TAG@~@VERSION@ format specifier in obs_scm service
-------------------------------------------------------------------
Thu May 29 11:57:51 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to git version 1.24.3+git7f56dcdf. This includes the port
to Qt6 added as a patch previously and also other fixes that
let this build in Leap 15.6.
- Drop patch that's already included in this version:
* 1132.patch
-------------------------------------------------------------------
Sun May 25 21:09:54 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Use %cmake_build instead of %make_jobs
- Add 1132.patch: port to Qt6
- Apply spec-cleaner -ki changes
- Replaced deprecated ALSOFT_CONFIG CMake option with
ALSOFT_INSTALL_UTILS
- Update to version 1.24.3:
* Fixed handling WASAPI enumerated device changes
* Fixed a crash with UWP builds when __wargv is null
* Fixed using AL_FORMAT_BFORMAT3D_I32
* Improved the bsinc resamplers' cutoff frequencies
* Slightly reduced the aliasing noise in the cubic spline
resampler
* Added new bsinc48 and fast_bsinc48 resampler options.
* Added support for using NFC filters with UHJ output.
-------------------------------------------------------------------
Mon Mar 3 09:33:21 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.24.2
* Implemented the AL_SOFT_bformat_hoa extension.
* Implemented default device change events for the PulseAudio
backend.
* Implemented an option for WASAPI exclusive mode playback.
* Fixed reverb being too quiet for sounds from different
directions.
* Fixed building alffplay on systems without pkg-config.
* Improved output format detection for CoreAudio.
* Changed the default resampler back to Cubic Spline.
* Added an SDL3 playback backend. Disabled by default to avoid
a runtime dependency and for compatibility; a single process
can't safely use SDL2 and SDL3 together on some OSs, so enable
with care.
* Converted examples from SDL2 to SDL3.
* Integrated fmtlib into the main library and router for logging
and string formatting.
- Update to version 1.24.1
* Fixed compilation on PowerPC.
* Fixed compilation on some targets that lack lock-free 64-bit
atomics.
* Fixed a crash when parsing certain option values.
* Improved compatibility when compiling as C++20 or later.
* Integrated fmtlib for some examples and utilities.
- Update to version 1.24.0
* Updated library codebase to C++17.
* Implemented the ALC_SOFT_system_events extension.
* Implemented the AL_EXT_debug extension.
* Implemented the AL_EXT_direct_context extension.
* Implemented speaker configuration and headphones detection on
CoreAudio.
* Fixed a crash that can occur when stopping playback with the
Oboe backend.
* Fixed calculating the reverb room rolloff.
* Fixed EAX occlusion, obstruction, and exclusion low-pass filter
strength.
* Fixed EAX distance factor calculations.
* Fixed querying AL_EFFECTSLOT_EFFECT on auxiliary effect slots.
* Fixed compilation on some macOS systems that lack libdispatch.
* Changed the context error state to be thread-local. This is
technically out of spec, but necessary to avoid race conditions
with multi-threaded use.
* Split the cubic resampler into 4-point spline and gaussian
variants. The latter prioritizing the suppression of aliasing
distortion and harmonics, the former not reducing high
frequencies as much.
* Improved timing precision of starting delayed sources.
* Improved ring modulator quality.
* Improved performance of convolution reverb.
* Added 'noexcept' to functions and function types when compiled
as C++. As a C API, OpenAL can't be expected to throw C++
exceptions, nor can it handle them if they leave a callback.
* Added an experimental config option for using WASAPI spatial
audio output.
* Added enumeration support to the PortAudio backend.
* Added compatibility options to override the AL_VENDOR,
AL_VERSION, and AL_RENDERER strings.
* Added an example to play LAF files.
* Disabled real-time mixing by default for PipeWire playback.
- Update to version 1.23.1
* https://github.com/kcat/openal-soft/releases/tag/1.23.1
- Drop patch:
* openal-no-autospawn.diff (not longer needed)
- Use ldconfig_scriptlets macro
-------------------------------------------------------------------
Tue Aug 16 19:42:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
- disable pipewire backend to avoid buildcycle
ffmpeg-4, libopenmpt, mpg123, openal-soft, pipewire
ffmpeg-4, libopenmpt, mpg123, openal-soft, pipewire
-------------------------------------------------------------------
Mon Aug 1 22:21:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
@@ -18,7 +119,7 @@ Mon Aug 1 22:21:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Added checks for the runtime PipeWire version.
* The same or newer version than is used for building will be needed at
runtime for the backend to work.
* Separated 3D7.1 into its own speaker configuration.
* Separated 3D7.1 into its own speaker configuration.
* Implemented the ALC_SOFT_reopen_device extension.
* This allows for moving devices to different outputs without losing object state.
* Implemented the ALC_SOFT_output_mode extension.
@@ -342,36 +443,36 @@ Thu Feb 11 18:28:22 UTC 2016 - mpluskal@suse.com
* Fixed building on FreeBSD.
* Fixed the ALSA backend's allow-resampler option.
* Fixed handling of inexact ALSA period counts.
* Altered device naming scheme on Windows backends to better
* Altered device naming scheme on Windows backends to better
match other drivers.
* Updated the CoreAudio backend to use the AudioComponent API.
This clears up deprecation warnings for OSX 10.11, although
* Updated the CoreAudio backend to use the AudioComponent API.
This clears up deprecation warnings for OSX 10.11, although
requires OSX 10.6 or newer.
- Changes for 1.17.0
* Implemented a JACK playback backend.
* Implemented the AL_EXT_BFORMAT and AL_EXT_MULAW_BFORMAT
* Implemented the AL_EXT_BFORMAT and AL_EXT_MULAW_BFORMAT
extensions.
* Implemented the ALC_SOFT_HRTF extension.
* Implemented C, SSE3, and SSE4.1 based 4- and 8-point Sinc
* Implemented C, SSE3, and SSE4.1 based 4- and 8-point Sinc
resamplers.
* Implemented a C and SSE based band-limited Sinc resampler.
This does 12- to 24-point Sinc resampling, and performs
* Implemented a C and SSE based band-limited Sinc resampler.
This does 12- to 24-point Sinc resampling, and performs
anti-aliasing.
* Implemented B-Format output support for the wave file writer.
This creates FuMa-style first-order Ambisonics wave files
This creates FuMa-style first-order Ambisonics wave files
(AMB format).
* Implemented a stereo-mode config option for treating stereo
* Implemented a stereo-mode config option for treating stereo
modes as either speakers or headphones.
* Implemented per-device configuration options.
* Fixed handling of PulseAudio and MMDevAPI devices that have
* Fixed handling of PulseAudio and MMDevAPI devices that have
identical descriptions.
* Fixed a potential lockup when stopping playback of suspended
* Fixed a potential lockup when stopping playback of suspended
PulseAudio devices.
* Fixed logging of Unicode characters on Windows.
* Fixed 5.1 surround sound channels. By default it will now
use the side channels for the surround output. A
use the side channels for the surround output. A
configuration using rear channels is still available.
* Fixed the QSA backend potentially altering the capture
* Fixed the QSA backend potentially altering the capture
format.
- Update project and download url
- Dropped upstreamed fix-neon-build.patch
@@ -469,7 +570,7 @@ Tue Jan 8 12:31:06 UTC 2013 - reddwarf@opensuse.org
-------------------------------------------------------------------
Mon Jan 7 20:38:56 UTC 2013 - joop.boonen@opensuse.org
- Fixed SLES build
- Fixed SLES build
- Removed Requirements that are resolved automatically
- Added missing openal-soft-devel Requirement libopenal1
@@ -760,4 +861,3 @@ Thu Jun 5 16:05:20 CEST 2008 - lnussel@suse.de
Thu Jun 5 14:39:24 CEST 2008 - lnussel@suse.de
- new package version 1.4.272 based on b-s-a's and ickruis' work

4
openal-soft.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: openal-soft
version: 1.24.3~179
mtime: 1748325036
commit: 7f56dcdfbce02bea96894c688d48be574a55a41d

View File

@@ -1,7 +1,7 @@
#
# spec file for package openal-soft
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,33 @@
Name: openal-soft
Version: 1.22.2
Version: 1.24.3~179
Release: 0
Summary: Audio library with an OpenGL-resembling API
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Group: Development/Libraries/C and C++
URL: https://www.openal-soft.org/
Source0: https://www.openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
#Source0: https://www.openal-soft.org/openal-releases/openal-soft-%%{version}.tar.bz2
Source0: openal-soft-%{version}.tar.zst
Source1: libopenalcompat.c
Source3: baselibs.conf
# PATCH-FIX-UPSTREAM openal-no-autospawn.diff
Patch0: openal-no-autospawn.diff
BuildRequires: cmake >= 3.0
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(alsa)
# BuildRequires: pkgconfig(jack) # undefined reference to `jack_error_callback'
# BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libmysofa)
# BuildRequires: pkgconfig(jack) # undefined reference to `jack_error_callback'
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
%if 0%{?sle_version} >= 150600 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
BuildRequires: gcc13
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++
%endif
%description
OpenAL is an audio library designed in the spirit of the OpenGL API.
@@ -80,9 +84,9 @@ Summary: OpenAL Soft HRTF generation utility
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
Conflicts: openal-soft-devel < %{version}
Provides: makehrtf = %version-%release
Provides: makehrtf = %{version}-%{release}
Provides: openal-soft-devel:%{_bindir}/makehrtf
Obsoletes: makehrtf < %version
Obsoletes: makehrtf < %{version}
%description makemhr
OpenAL is an audio library designed in the spirit of the OpenGL API.
@@ -141,26 +145,29 @@ rm -v alc/backends/opensl.cpp
# ALSOFT_CPUEXT_SSE2 controls -msse2, the other configure flags do not seem
# lead to -m. And everything else (i.e. in source) seems CPUID-guarded.
#
%if 0%{?sle_version} >= 150600 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
export CC="gcc-13"
export CXX="g++-13"
%endif
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DALSOFT_CONFIG=ON \
-DALSOFT_DLOPEN=OFF \
%ifarch %ix86
-DALSOFT_UTILS=ON \
-DALSOFT_INSTALL_UTILS=ON \
%ifarch %{ix86}
-DALSOFT_CPUEXT_SSE2:BOOL=OFF \
%endif
-Wno-dev
%make_jobs
%cmake_build
gcc -Wall %{optflags} -fPIC -DPIC -Wl,-soname,libopenal.so.0 -shared -Wl,--no-as-needed -L. -lopenal -o libopenal.so.0 %{SOURCE1}
%install
%cmake_install
install -D -m 0644 build/libopenal.so.0 %{buildroot}%{_libdir}/libopenal.so.0
install -D -m 0755 build/libopenal.so.0 %{buildroot}%{_libdir}/libopenal.so.0
install -D -m 0644 /dev/null %{buildroot}/%{_sysconfdir}/openal/alsoft.conf
%post -n libopenal0 -p /sbin/ldconfig
%postun -n libopenal0 -p /sbin/ldconfig
%post -n libopenal1 -p /sbin/ldconfig
%postun -n libopenal1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libopenal0
%ldconfig_scriptlets -n libopenal1
%files tools
%license COPYING
@@ -168,7 +175,8 @@ install -D -m 0644 /dev/null %{buildroot}/%{_sysconfdir}/openal/alsoft.conf
%{_bindir}/alsoft-config
%{_bindir}/altonegen
%{_bindir}/alrecord
%{_bindir}/alloopback
%{_bindir}/aldebug
%{_bindir}/allafplay
%files makemhr
%{_bindir}/makemhr
@@ -184,6 +192,7 @@ install -D -m 0644 /dev/null %{buildroot}/%{_sysconfdir}/openal/alsoft.conf
%dir %{_datadir}/openal/presets
%{_datadir}/openal/presets/3D7.1.ambdec
%{_datadir}/openal/presets/hexagon.ambdec
%{_datadir}/openal/presets/hex-quad.ambdec
%{_datadir}/openal/presets/itu5.1.ambdec
%{_datadir}/openal/presets/itu5.1-nocenter.ambdec
%{_datadir}/openal/presets/presets.txt