git: c028d2a4e9e2 - main - multimedia/obs-studio: enable NVENC only on amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Mar 2026 09:33:13 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c028d2a4e9e267677683e4b453b552057a516bf6
commit c028d2a4e9e267677683e4b453b552057a516bf6
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-03-24 09:08:15 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-03-24 09:32:57 +0000
multimedia/obs-studio: enable NVENC only on amd64
Fixes pkg-plist on !amd64.
In plugins/CMakeLists.txt:
add_obs_plugin(obs-nvenc PLATFORMS WINDOWS LINUX FREEBSD ARCHITECTURES x64 x86_64)
---
multimedia/obs-studio/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile
index b40e19c933dc..02d459f69477 100644
--- a/multimedia/obs-studio/Makefile
+++ b/multimedia/obs-studio/Makefile
@@ -76,7 +76,8 @@ LDFLAGS+= -fPIC # pending https://github.com/obsproject/obs-studio/issues/3436
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-sources
OPTIONS_DEFINE= BROWSER NVENC PIPEWIRE VLC VST WAYLAND
-OPTIONS_DEFAULT= NVENC PIPEWIRE VLC VST WAYLAND
+OPTIONS_DEFAULT= PIPEWIRE VLC VST WAYLAND
+OPTIONS_DEFAULT_amd64= NVENC
OPTIONS_MULTI= AUDIO
OPTIONS_MULTI_AUDIO= JACK PULSEAUDIO SNDIO
OPTIONS_DEFAULT+= ${OPTIONS_MULTI_AUDIO}