package/openal: bump to 1.24.3 to fix GCC 15.x build issues

openal 1.22.0 does not build with GCC 15.x, but the backport of the
fixes to 1.22.0 turns out to be too complicated, so let's bump to
1.24.3 instead.

Since 1.24.3 uses C++17, and after testing with GCC 7.x, then GCC 8.x
then GCC 9.x, we found out that GCC 9.x at least is
necessary. Therefore, reverse dependencies are updated accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni
2025-08-29 10:47:52 +02:00
committed by Peter Korsgaard
parent 5ce1d6f017
commit 3b5e1205dc
10 changed files with 27 additions and 32 deletions

View File

@@ -1,11 +1,10 @@
config BR2_PACKAGE_ALURE
bool "alure"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
depends on BR2_USE_WCHAR # use wchar_t
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
select BR2_PACKAGE_OPENAL
help
Alure is a C++ 3D audio API. It uses OpenAL for audio
@@ -50,12 +49,8 @@ config BR2_PACKAGE_ALURE_VORBIS_DECODER
endif
comment "alure needs a toolchain w/ C++, gcc >= 4.9, NPTL, wchar"
comment "alure needs a toolchain w/ C++, gcc >= 9, NPTL, wchar"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
comment "alure needs a toolchain not affected by GCC bug 64735"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735

View File

@@ -520,16 +520,16 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL
bool "openal"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
select BR2_PACKAGE_OPENAL
comment "openal plugin needs a toolchain w/ NPTL, C++, gcc >= 4.9"
comment "openal plugin needs a toolchain w/ NPTL, C++, gcc >= 9"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264
bool "openh264"

View File

@@ -4,7 +4,7 @@ config BR2_PACKAGE_LUGARU
depends on BR2_PACKAGE_HAS_LIBGL # libglu
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_PACKAGE_XORG7 # SDL2 OpenGL (GLX)
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # openal
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
depends on BR2_USE_MMU # SDL2 OpenGL (GLX)
depends on !BR2_STATIC_LIBS # SDL2
@@ -29,10 +29,10 @@ config BR2_PACKAGE_LUGARU
https://osslugaru.gitlab.io/
comment "lugaru needs X11 and a toolchain w/ C++, OpenGL backend, gcc >= 4.9, NPTL, dynamic library"
comment "lugaru needs X11 and a toolchain w/ C++, OpenGL backend, gcc >= 9, NPTL, dynamic library"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_PACKAGE_XORG7
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_LIBGL || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
BR2_STATIC_LIBS

View File

@@ -1,7 +1,7 @@
config BR2_PACKAGE_MINETEST
bool "minetest"
depends on BR2_INSTALL_LIBSTDCPP # irrlichtMt (bundled)
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_XORG7 # irrlichtMt (bundled)
depends on BR2_PACKAGE_HAS_LIBGL # irrlichtMt (bundled)
@@ -52,14 +52,14 @@ comment "sound support needs a toolchain w/ threads NPTL"
endif
comment "minetest needs a toolchain w/ C++, gcc >= 5.1, threads"
comment "minetest needs a toolchain w/ C++, gcc >= 9, threads"
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_5 \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
|| !BR2_TOOLCHAIN_HAS_THREADS
comment "minetest needs X11 and an OpenGL provider"
depends on (BR2_INSTALL_LIBSTDCPP \
&& BR2_TOOLCHAIN_GCC_AT_LEAST_5 \
&& BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
&& BR2_TOOLCHAIN_HAS_THREADS)
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7

View File

@@ -16,7 +16,7 @@ config BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
config BR2_PACKAGE_OPENAL
bool "openal"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 PR56019
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
help
@@ -27,8 +27,8 @@ config BR2_PACKAGE_OPENAL
http://kcat.strangesoft.net/openal.html
comment "openal needs a toolchain w/ NPTL, C++, gcc >= 4.9"
comment "openal needs a toolchain w/ NPTL, C++, gcc >= 7"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_7

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 814831a8013d7365dfd1917b27f1fb6e723f3be3fe1c6a7ff4516425d8392f68 openal-1.22.0.tar.gz
sha256 7e1fecdeb45e7f78722b776c5cf30bd33934b961d7fd2a11e0494e064cc631ce openal-1.24.3.tar.gz
sha256 d808ce217e5b611854da622b57ec29fe545584c48bc5352fae72a4b6e5074a15 COPYING

View File

@@ -4,7 +4,7 @@
#
################################################################################
OPENAL_VERSION = 1.22.0
OPENAL_VERSION = 1.24.3
OPENAL_SITE = $(call github,kcat,openal-soft,$(OPENAL_VERSION))
OPENAL_LICENSE = LGPL-2.0+
OPENAL_LICENSE_FILES = COPYING

View File

@@ -3,7 +3,7 @@ config BR2_PACKAGE_SOLARUS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # openal
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
depends on !BR2_STATIC_LIBS # SDL2
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
@@ -25,9 +25,9 @@ config BR2_PACKAGE_SOLARUS
http://www.solarus-games.org
https://github.com/solarus-games/solarus
comment "solarus needs OpenGL and a toolchain w/ C++, gcc >= 4.9, NPTL, dynamic library, and luajit or lua 5.1"
comment "solarus needs OpenGL and a toolchain w/ C++, gcc >= 9, NPTL, dynamic library, and luajit or lua 5.1"
depends on !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|| !BR2_PACKAGE_HAS_LIBGL

View File

@@ -4,7 +4,7 @@ config BR2_PACKAGE_SUPERTUX
depends on BR2_PACKAGE_HAS_LIBGL # libglew
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_PACKAGE_XORG7 # libglew, SDL2 OpenGL (GLX)
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
depends on BR2_USE_MMU # SDL2 OpenGL (GLX)
@@ -35,11 +35,11 @@ config BR2_PACKAGE_SUPERTUX
http://supertux.github.io/
comment "supertux needs OpenGL and a toolchain w/ C++, gcc >= 6, NPTL, dynamic library, wchar"
comment "supertux needs OpenGL and a toolchain w/ C++, gcc >= 9, NPTL, dynamic library, wchar"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_PACKAGE_XORG7
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_LIBGL || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_6 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_9 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
BR2_STATIC_LIBS || !BR2_USE_WCHAR

View File

@@ -4,7 +4,7 @@ config BR2_PACKAGE_SUPERTUXKART
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU # fork()
depends on BR2_INSTALL_LIBSTDCPP # openal
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz, openal
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # openal
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS # openal
depends on BR2_PACKAGE_HAS_LIBGL
@@ -33,7 +33,7 @@ config BR2_PACKAGE_SUPERTUXKART
http://supertuxkart.sourceforge.net/Main_Page
comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 4.9"
comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 9"
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU
@@ -41,6 +41,6 @@ comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NP
depends on BR2_PACKAGE_XORG7
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_9 \
|| !BR2_PACKAGE_HAS_LIBGL \
|| BR2_TOOLCHAIN_USES_MUSL