git: e6c0df4a1764 - main - audio/openal-soft: Update to 1.24.2

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Fri, 07 Feb 2025 06:56:36 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e6c0df4a17641a8090144f72f4ac5425aeadbd26

commit e6c0df4a17641a8090144f72f4ac5425aeadbd26
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-02-06 06:52:40 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-02-07 06:28:05 +0000

    audio/openal-soft: Update to 1.24.2
    
    https://github.com/kcat/openal-soft/releases/tag/1.24.0
    https://github.com/kcat/openal-soft/releases/tag/1.24.1
    https://github.com/kcat/openal-soft/releases/tag/1.24.2
---
 audio/openal-soft/Makefile  | 12 +++++++-----
 audio/openal-soft/distinfo  |  8 +++++---
 audio/openal-soft/pkg-plist |  5 ++++-
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index 305073c3463e..391d512a3e38 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	openal-soft
-PORTVERSION=	1.23.1
-PORTREVISION=	1
+PORTVERSION=	1.24.2
 CATEGORIES=	audio
 MASTER_SITES=	https://openal-soft.org/openal-releases/
 
+PATCH_SITES=	https://github.com/kcat/openal-soft/commit/
+PATCHFILES+=	9fdf662bcbd86cf26202f8718d6c5ca24655652e.patch:-p1 # Fix casts on 32-bit archs
+
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Software implementation of the OpenAL specification
 WWW=		https://openal-soft.org/
@@ -13,13 +15,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libdbus-1.so:devel/dbus
 
-USES=		cmake compiler:c++14-lang pkgconfig tar:bzip2
+USES=		cmake compiler:c++17-lang pathfix pkgconfig tar:bzip2
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DCMAKE_INSTALL_DATADIR:STRING="${PREFIX}/etc"
 CMAKE_ON=	ALSOFT_BACKEND_WAVE
 CMAKE_OFF=	ALSOFT_BACKEND_ALSA ALSOFT_DLOPEN ALSOFT_EXAMPLES \
-		ALSOFT_REQUIRE_QSA ALSOFT_REQUIRE_SOLARIS
+		ALSOFT_REQUIRE_SOLARIS
 
 # do not link with librt and libdl.
 LDFLAGS+=	-Wl,--as-needed
@@ -42,10 +44,10 @@ OPTIONS_SUB=		yes
 CONFIG_DESC=	Install configuration utility (needs Qt 5)
 UTILS_DESC=	Build and install utility programs
 
+CONFIG_IMPLIES=		UTILS
 CONFIG_USES=		qt:5
 CONFIG_USE=		QT=core,gui,widgets,buildtools:build,qmake:build
 CONFIG_CMAKE_BOOL_OFF=	ALSOFT_NO_CONFIG_UTIL
-CONFIG_CMAKE_ON=	-DALSOFT_NO_QT5:BOOL=OFF
 
 JACK_LIB_DEPENDS=	libjack.so:audio/jack
 JACK_CMAKE_BOOL=	ALSOFT_BACKEND_JACK ALSOFT_REQUIRE_JACK
diff --git a/audio/openal-soft/distinfo b/audio/openal-soft/distinfo
index fb737cc2c331..50ef810ffb29 100644
--- a/audio/openal-soft/distinfo
+++ b/audio/openal-soft/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1725772642
-SHA256 (openal-soft-1.23.1.tar.bz2) = 796f4b89134c4e57270b7f0d755f0fa3435b90da437b745160a49bd41c845b21
-SIZE (openal-soft-1.23.1.tar.bz2) = 699330
+TIMESTAMP = 1738821586
+SHA256 (openal-soft-1.24.2.tar.bz2) = cd4c88c9b7311cb6785db71c0ed64f5430c9d5b3454e0158314b2ef25ace3e61
+SIZE (openal-soft-1.24.2.tar.bz2) = 1020760
+SHA256 (9fdf662bcbd86cf26202f8718d6c5ca24655652e.patch) = 17bfa74ce960c74e5b9fb131caf38f319d10dfde7ec3822358488ca7139bf581
+SIZE (9fdf662bcbd86cf26202f8718d6c5ca24655652e.patch) = 965
diff --git a/audio/openal-soft/pkg-plist b/audio/openal-soft/pkg-plist
index 962b634ed5b0..2788e8ed9529 100644
--- a/audio/openal-soft/pkg-plist
+++ b/audio/openal-soft/pkg-plist
@@ -25,9 +25,11 @@ lib/libopenal.so.1
 lib/libopenal.so.%%SOVERSION%%
 libdata/pkgconfig/openal.pc
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alconvolve.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alstreamcb.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aldebug.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aldirect.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alffplay.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alhrtf.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/allafplay.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/allatency.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alloopback.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/almultireverb.c
@@ -35,6 +37,7 @@ libdata/pkgconfig/openal.pc
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alrecord.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alreverb.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/alstream.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alstreamcb.cpp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/altonegen.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/common/alhelpers.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/common/alhelpers.h