Skip to content

Commit 95311ee

Browse files
committed
multimedia/obs-studio: update 31.1.1 → 31.1.2
1 parent 6f3c28c commit 95311ee

6 files changed

Lines changed: 99 additions & 18 deletions

File tree

multimedia/obs-studio/Makefile

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PORTNAME= obs-studio
2-
DISTVERSION= 31.1.1
3-
PORTREVISION= 1
2+
DISTVERSION= 31.1.2
43
CATEGORIES= multimedia
54
MASTER_SITES= https://github.com/obsproject/obs-studio/releases/download/${DISTVERSION}/
65
DISTFILES= OBS-Studio-${DISTVERSION}-Sources${EXTRACT_SUFX}
@@ -61,7 +60,6 @@ USE_GL= gl
6160
USE_XORG= ice sm x11 xcb xcomposite xext xfixes xinerama xrandr
6261
USE_LDCONFIG= yes
6362

64-
CMAKE_ON= UNIX_STRUCTURE
6563
CMAKE_ARGS= -DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}" \
6664
-DQT_VERSION=6 \
6765
-DPython_EXECUTABLE="${PYTHON_CMD}"
@@ -81,7 +79,7 @@ OPTIONS_SUB= yes
8179
AUDIO_DESC= Audio backends
8280

8381
BROWSER_DESC= Build OSB browser
84-
BROWSER_CMAKE_BOOL= BUILD_BROWSER
82+
BROWSER_CMAKE_BOOL= BUILD_BROWSER # this also requires an additional git submodule
8583
BROWSER_BROKEN= Needs CEF (Chromium Embedded Framework) which isn't yet ported
8684

8785
JACK_LIB_DEPENDS= libjack.so:audio/jack
@@ -93,9 +91,7 @@ PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
9391
PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE
9492

9593
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
96-
PULSEAUDIO_CMAKE_ON= -DENABLE_PULSEAUDIO=TRUE
97-
PULSEAUDIO_CMAKE_OFF= -DDISABLE_PULSEAUDIO=TRUE
98-
PULSEAUDIO_BROKEN_OFF= https://github.com/obsproject/obs-studio/issues/4025
94+
PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO
9995

10096
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
10197
SNDIO_CMAKE_ON= -DENABLE_SNDIO=TRUE
@@ -106,7 +102,7 @@ VLC_CMAKE_BOOL= ENABLE_VLC
106102
VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc
107103

108104
VST_DESC= Build VST submodule
109-
VST_CMAKE_BOOL= BUILD_VST
105+
VST_CMAKE_BOOL= ENABLE_VST
110106

111107
WAYLAND_CATEGORIES= wayland
112108
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
@@ -120,11 +116,4 @@ PLIST_SUB+= LUAJIT="@comment "
120116
PLIST_SUB+= LUAJIT=""
121117
.endif
122118

123-
xpost-install:
124-
# https://github.com/obsproject/obs-studio/issues/2625
125-
${INSTALL_DATA} ${WRKSRC}/UI/obs-frontend-api/obs-frontend-api.h ${STAGEDIR}${PREFIX}/include/obs
126-
# https://github.com/obsproject/obs-studio/issues/2647 (only for multimedia/obs-audio-spectralizer, should be removed later)
127-
${INSTALL_DATA} ${WRKSRC}/cmake/Modules/ObsHelpers.cmake ${STAGEDIR}${PREFIX}/lib/cmake
128-
${INSTALL_DATA} ${WRKSRC}/cmake/external/ObsPluginHelpers.cmake ${STAGEDIR}${PREFIX}/lib/cmake
129-
130119
.include <bsd.port.post.mk>

multimedia/obs-studio/distinfo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TIMESTAMP = 1752512332
2-
SHA256 (OBS-Studio-31.1.1-Sources.tar.gz) = 544d0af03129083a36fa244a9cad84db18c2149e8ca658370437fd2dd16f8577
3-
SIZE (OBS-Studio-31.1.1-Sources.tar.gz) = 16574184
1+
TIMESTAMP = 1754018307
2+
SHA256 (OBS-Studio-31.1.2-Sources.tar.gz) = 5d66d4fb0d3ea91bb16aed58843bf652cf5b0aa692480b3d37eb878333b74f97
3+
SIZE (OBS-Studio-31.1.2-Sources.tar.gz) = 16574313
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- cmake/common/helpers_common.cmake.orig 2025-08-01 04:18:14 UTC
2+
+++ cmake/common/helpers_common.cmake
3+
@@ -467,6 +467,9 @@ function(add_obs_plugin target)
4+
set(found_architecture TRUE)
5+
else()
6+
foreach(architecture IN LISTS _AOP_ARCHITECTURES)
7+
+ if (${architecture} STREQUAL x86_64)
8+
+ set(architecture "amd64")
9+
+ endif()
10+
if(OS_WINDOWS)
11+
if("${architecture}" STREQUAL CMAKE_VS_PLATFORM_NAME)
12+
set(found_architecture TRUE)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- plugins/CMakeLists.txt.orig 2025-08-01 04:15:57 UTC
2+
+++ plugins/CMakeLists.txt
3+
@@ -72,7 +72,7 @@ add_obs_plugin(
4+
add_obs_plugin(obs-transitions)
5+
add_obs_plugin(
6+
obs-vst
7+
- PLATFORMS WINDOWS MACOS LINUX
8+
+ PLATFORMS WINDOWS MACOS LINUX FREEBSD
9+
WITH_MESSAGE
10+
)
11+
add_obs_plugin(obs-webrtc)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- plugins/obs-vst/headers/VSTPlugin.h.orig 2025-08-01 04:32:45 UTC
2+
+++ plugins/obs-vst/headers/VSTPlugin.h
3+
@@ -73,7 +73,7 @@ class VSTPlugin : public QObject {
4+
CFBundleRef bundle = NULL;
5+
#elif WIN32
6+
HINSTANCE dllHandle = nullptr;
7+
-#elif __linux__
8+
+#elif __linux__ || __FreeBSD__
9+
void *soHandle = nullptr;
10+
#endif
11+

multimedia/obs-studio/pkg-plist

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ lib/obs-plugins/obs-ffmpeg.so
134134
lib/obs-plugins/obs-filters.so
135135
lib/obs-plugins/obs-outputs.so
136136
lib/obs-plugins/obs-transitions.so
137+
%%VST%%lib/obs-plugins/obs-vst.so
137138
lib/obs-plugins/obs-webrtc.so
138139
lib/obs-plugins/obs-websocket.so
139140
lib/obs-plugins/obs-x264.so
@@ -1017,6 +1018,63 @@ share/obs/obs-plugins/obs-transitions/luma_wipes/zigzag-v.png
10171018
share/obs/obs-plugins/obs-transitions/slide_transition.effect
10181019
share/obs/obs-plugins/obs-transitions/stinger_matte_transition.effect
10191020
share/obs/obs-plugins/obs-transitions/swipe_transition.effect
1021+
%%VST%%share/obs/obs-plugins/obs-vst/locale/af-ZA.ini
1022+
%%VST%%share/obs/obs-plugins/obs-vst/locale/an-ES.ini
1023+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ar-SA.ini
1024+
%%VST%%share/obs/obs-plugins/obs-vst/locale/be-BY.ini
1025+
%%VST%%share/obs/obs-plugins/obs-vst/locale/bg-BG.ini
1026+
%%VST%%share/obs/obs-plugins/obs-vst/locale/bn-BD.ini
1027+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ca-ES.ini
1028+
%%VST%%share/obs/obs-plugins/obs-vst/locale/cs-CZ.ini
1029+
%%VST%%share/obs/obs-plugins/obs-vst/locale/da-DK.ini
1030+
%%VST%%share/obs/obs-plugins/obs-vst/locale/de-DE.ini
1031+
%%VST%%share/obs/obs-plugins/obs-vst/locale/el-GR.ini
1032+
%%VST%%share/obs/obs-plugins/obs-vst/locale/en-GB.ini
1033+
%%VST%%share/obs/obs-plugins/obs-vst/locale/en-US.ini
1034+
%%VST%%share/obs/obs-plugins/obs-vst/locale/es-ES.ini
1035+
%%VST%%share/obs/obs-plugins/obs-vst/locale/et-EE.ini
1036+
%%VST%%share/obs/obs-plugins/obs-vst/locale/eu-ES.ini
1037+
%%VST%%share/obs/obs-plugins/obs-vst/locale/fa-IR.ini
1038+
%%VST%%share/obs/obs-plugins/obs-vst/locale/fi-FI.ini
1039+
%%VST%%share/obs/obs-plugins/obs-vst/locale/fil-PH.ini
1040+
%%VST%%share/obs/obs-plugins/obs-vst/locale/fr-FR.ini
1041+
%%VST%%share/obs/obs-plugins/obs-vst/locale/gd-GB.ini
1042+
%%VST%%share/obs/obs-plugins/obs-vst/locale/gl-ES.ini
1043+
%%VST%%share/obs/obs-plugins/obs-vst/locale/he-IL.ini
1044+
%%VST%%share/obs/obs-plugins/obs-vst/locale/hi-IN.ini
1045+
%%VST%%share/obs/obs-plugins/obs-vst/locale/hu-HU.ini
1046+
%%VST%%share/obs/obs-plugins/obs-vst/locale/hy-AM.ini
1047+
%%VST%%share/obs/obs-plugins/obs-vst/locale/id-ID.ini
1048+
%%VST%%share/obs/obs-plugins/obs-vst/locale/it-IT.ini
1049+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ja-JP.ini
1050+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ka-GE.ini
1051+
%%VST%%share/obs/obs-plugins/obs-vst/locale/kaa.ini
1052+
%%VST%%share/obs/obs-plugins/obs-vst/locale/kab-KAB.ini
1053+
%%VST%%share/obs/obs-plugins/obs-vst/locale/kmr-TR.ini
1054+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ko-KR.ini
1055+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ms-MY.ini
1056+
%%VST%%share/obs/obs-plugins/obs-vst/locale/nb-NO.ini
1057+
%%VST%%share/obs/obs-plugins/obs-vst/locale/nl-NL.ini
1058+
%%VST%%share/obs/obs-plugins/obs-vst/locale/pl-PL.ini
1059+
%%VST%%share/obs/obs-plugins/obs-vst/locale/pt-BR.ini
1060+
%%VST%%share/obs/obs-plugins/obs-vst/locale/pt-PT.ini
1061+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ro-RO.ini
1062+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ru-RU.ini
1063+
%%VST%%share/obs/obs-plugins/obs-vst/locale/si-LK.ini
1064+
%%VST%%share/obs/obs-plugins/obs-vst/locale/sk-SK.ini
1065+
%%VST%%share/obs/obs-plugins/obs-vst/locale/sl-SI.ini
1066+
%%VST%%share/obs/obs-plugins/obs-vst/locale/sr-CS.ini
1067+
%%VST%%share/obs/obs-plugins/obs-vst/locale/sr-SP.ini
1068+
%%VST%%share/obs/obs-plugins/obs-vst/locale/sv-SE.ini
1069+
%%VST%%share/obs/obs-plugins/obs-vst/locale/szl-PL.ini
1070+
%%VST%%share/obs/obs-plugins/obs-vst/locale/th-TH.ini
1071+
%%VST%%share/obs/obs-plugins/obs-vst/locale/tl-PH.ini
1072+
%%VST%%share/obs/obs-plugins/obs-vst/locale/tr-TR.ini
1073+
%%VST%%share/obs/obs-plugins/obs-vst/locale/ug-CN.ini
1074+
%%VST%%share/obs/obs-plugins/obs-vst/locale/uk-UA.ini
1075+
%%VST%%share/obs/obs-plugins/obs-vst/locale/vi-VN.ini
1076+
%%VST%%share/obs/obs-plugins/obs-vst/locale/zh-CN.ini
1077+
%%VST%%share/obs/obs-plugins/obs-vst/locale/zh-TW.ini
10201078
share/obs/obs-plugins/obs-webrtc/locale/af-ZA.ini
10211079
share/obs/obs-plugins/obs-webrtc/locale/ar-SA.ini
10221080
share/obs/obs-plugins/obs-webrtc/locale/be-BY.ini

0 commit comments

Comments
 (0)