Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2026 23:12:39 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Jamie Landeg-Jones <jamie@catflap.org>
Subject:   git: 510181b2b3b6 - main - audio/openal-soft: Optionally remove dependency on RTKIT/DBUS
Message-ID:  <699e3067.3c64a.31fca4d7@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

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

commit 510181b2b3b69d96f3ffc57c8a36eff2e99202b0
Author:     Jamie Landeg-Jones <jamie@catflap.org>
AuthorDate: 2026-02-24 23:07:04 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-02-24 23:07:04 +0000

    audio/openal-soft: Optionally remove dependency on RTKIT/DBUS
    
    The RTKIT functionality pulls in DBUS. As this functionallity doesn't
    even work on FreeBSD, add the option to remove it.
    Set the default value to "ON" to not affect the current state.
    
    PR:             292308
    Approved by:    multimedia (maintainer, timeout 6+ weeks)
---
 audio/openal-soft/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index dbab671cc79a..c16c60433049 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -10,8 +10,6 @@ WWW=		https://openal-soft.org/
 LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libdbus-1.so:devel/dbus
-
 USES=		cmake compiler:c++20-lang pkgconfig tar:bzip2
 USE_LDCONFIG=	yes
 
@@ -33,11 +31,11 @@ LDFLAGS_i386=	-Wl,-z,notext
 PLIST_SUB=	SOVERSION=${PORTVERSION}
 
 OPTIONS_DEFINE=		CONFIG EXAMPLES JACK OSS PIPEWIRE PORTAUDIO \
-			PULSEAUDIO SDL SNDIO UTILS
+			PULSEAUDIO RTKIT SDL SNDIO UTILS
 OPTIONS_DEFINE_aarch64=	SIMD
 OPTIONS_DEFINE_amd64=	SIMD
 OPTIONS_DEFINE_i386=	SIMD
-OPTIONS_DEFAULT=	OSS UTILS
+OPTIONS_DEFAULT=	OSS RTKIT UTILS
 OPTIONS_DEFAULT_aarch64=SIMD
 OPTIONS_DEFAULT_amd64=	SIMD
 OPTIONS_DEFAULT_i386=	SIMD
@@ -45,6 +43,7 @@ OPTIONS_DEFAULT_i386=	SIMD
 OPTIONS_SUB=		yes
 
 CONFIG_DESC=		Install configuration utility (needs Qt6)
+RTKIT_DESC=		Real-time priority support (Linux only, requires D-Bus)
 UTILS_DESC=		Build and install utility programs
 
 CONFIG_IMPLIES=		UTILS
@@ -67,6 +66,9 @@ PORTAUDIO_CMAKE_BOOL=	ALSOFT_BACKEND_PORTAUDIO ALSOFT_REQUIRE_PORTAUDIO
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 PULSEAUDIO_CMAKE_BOOL=	ALSOFT_BACKEND_PULSEAUDIO ALSOFT_REQUIRE_PULSEAUDIO
 
+RTKIT_LIB_DEPENDS=	libdbus-1.so:devel/dbus
+RTKIT_CMAKE_BOOL=	ALSOFT_RTKIT
+
 SDL_USES=		sdl
 SDL_USE=		SDL=sdl2
 SDL_CMAKE_BOOL=		ALSOFT_BACKEND_SDL2 ALSOFT_REQUIRE_SDL2


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699e3067.3c64a.31fca4d7>