summaryrefslogtreecommitdiff
path: root/multimedia/obs-studio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/obs-studio/Makefile')
-rw-r--r--multimedia/obs-studio/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile
index c8f39892e339..e64973e9052b 100644
--- a/multimedia/obs-studio/Makefile
+++ b/multimedia/obs-studio/Makefile
@@ -1,6 +1,5 @@
PORTNAME= obs-studio
-DISTVERSION= 31.1.1
-PORTREVISION= 1
+DISTVERSION= 31.1.2
CATEGORIES= multimedia
MASTER_SITES= https://github.com/obsproject/obs-studio/releases/download/${DISTVERSION}/
DISTFILES= OBS-Studio-${DISTVERSION}-Sources${EXTRACT_SUFX}
@@ -61,7 +60,6 @@ USE_GL= gl
USE_XORG= ice sm x11 xcb xcomposite xext xfixes xinerama xrandr
USE_LDCONFIG= yes
-CMAKE_ON= UNIX_STRUCTURE
CMAKE_ARGS= -DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}" \
-DQT_VERSION=6 \
-DPython_EXECUTABLE="${PYTHON_CMD}"
@@ -81,7 +79,7 @@ OPTIONS_SUB= yes
AUDIO_DESC= Audio backends
BROWSER_DESC= Build OSB browser
-BROWSER_CMAKE_BOOL= BUILD_BROWSER
+BROWSER_CMAKE_BOOL= BUILD_BROWSER # this also requires an additional git submodule
BROWSER_BROKEN= Needs CEF (Chromium Embedded Framework) which isn't yet ported
JACK_LIB_DEPENDS= libjack.so:audio/jack
@@ -93,9 +91,7 @@ PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
-PULSEAUDIO_CMAKE_ON= -DENABLE_PULSEAUDIO=TRUE
-PULSEAUDIO_CMAKE_OFF= -DDISABLE_PULSEAUDIO=TRUE
-PULSEAUDIO_BROKEN_OFF= https://github.com/obsproject/obs-studio/issues/4025
+PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CMAKE_ON= -DENABLE_SNDIO=TRUE
@@ -106,7 +102,7 @@ VLC_CMAKE_BOOL= ENABLE_VLC
VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc
VST_DESC= Build VST submodule
-VST_CMAKE_BOOL= BUILD_VST
+VST_CMAKE_BOOL= ENABLE_VST
WAYLAND_CATEGORIES= wayland
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
@@ -120,11 +116,4 @@ PLIST_SUB+= LUAJIT="@comment "
PLIST_SUB+= LUAJIT=""
.endif
-xpost-install:
- # https://github.com/obsproject/obs-studio/issues/2625
- ${INSTALL_DATA} ${WRKSRC}/UI/obs-frontend-api/obs-frontend-api.h ${STAGEDIR}${PREFIX}/include/obs
- # https://github.com/obsproject/obs-studio/issues/2647 (only for multimedia/obs-audio-spectralizer, should be removed later)
- ${INSTALL_DATA} ${WRKSRC}/cmake/Modules/ObsHelpers.cmake ${STAGEDIR}${PREFIX}/lib/cmake
- ${INSTALL_DATA} ${WRKSRC}/cmake/external/ObsPluginHelpers.cmake ${STAGEDIR}${PREFIX}/lib/cmake
-
.include <bsd.port.post.mk>