diff options
-rw-r--r-- | multimedia/obs-studio/Makefile | 3 | ||||
-rw-r--r-- | multimedia/obs-studio/files/patch-plugins_CMakeLists.txt | 7 | ||||
-rw-r--r-- | multimedia/obs-studio/pkg-plist | 53 |
3 files changed, 56 insertions, 7 deletions
diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile index 562b1dcc8976..d3847073e48e 100644 --- a/multimedia/obs-studio/Makefile +++ b/multimedia/obs-studio/Makefile @@ -1,6 +1,6 @@ PORTNAME= obs-studio DISTVERSION= 27.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org @@ -54,6 +54,7 @@ GH_TUPLE= obsproject:obs-browser:f1a61c5:obs_browser/plugins/obs-browser \ obsproject:obs-vst:aaa7b7f:obs_vst/plugins/obs-vst CMAKE_ON= UNIX_STRUCTURE +CMAKE_OFF= ENABLE_PIPEWIRE # beginning with 27.0.1 (PR#4287) the linux-capture plugin optionally requires the piperware library and in this case expects the linux/dma-buf.h header CMAKE_ARGS= -DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}" CFLAGS+= -D_WITH_GETLINE diff --git a/multimedia/obs-studio/files/patch-plugins_CMakeLists.txt b/multimedia/obs-studio/files/patch-plugins_CMakeLists.txt index 8fd2ea7d23c2..fa969c2e0925 100644 --- a/multimedia/obs-studio/files/patch-plugins_CMakeLists.txt +++ b/multimedia/obs-studio/files/patch-plugins_CMakeLists.txt @@ -1,11 +1,6 @@ --- plugins/CMakeLists.txt.orig 2021-06-11 14:20:50 UTC +++ plugins/CMakeLists.txt -@@ -47,11 +47,11 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") - add_subdirectory(vlc-video) - add_subdirectory(sndio) - elseif("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD") -- add_subdirectory(linux-capture) -+ #add_subdirectory(linux-capture) +@@ -51,7 +51,7 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD") add_subdirectory(linux-pulseaudio) add_subdirectory(linux-v4l2) add_subdirectory(linux-jack) diff --git a/multimedia/obs-studio/pkg-plist b/multimedia/obs-studio/pkg-plist index ae874e187263..304ba188eef0 100644 --- a/multimedia/obs-studio/pkg-plist +++ b/multimedia/obs-studio/pkg-plist @@ -123,6 +123,7 @@ lib/obs-plugins/decklink-captions.so lib/obs-plugins/decklink-ouput-ui.so lib/obs-plugins/frontend-tools.so lib/obs-plugins/image-source.so +lib/obs-plugins/linux-capture.so %%JACK%%lib/obs-plugins/linux-jack.so %%PULSEAUDIO%%lib/obs-plugins/linux-pulseaudio.so lib/obs-plugins/linux-v4l2.so @@ -293,6 +294,58 @@ share/obs/obs-plugins/image-source/locale/ur-PK.ini share/obs/obs-plugins/image-source/locale/vi-VN.ini share/obs/obs-plugins/image-source/locale/zh-CN.ini share/obs/obs-plugins/image-source/locale/zh-TW.ini +share/obs/obs-plugins/linux-capture/locale/ar-SA.ini +share/obs/obs-plugins/linux-capture/locale/az-AZ.ini +share/obs/obs-plugins/linux-capture/locale/ba-RU.ini +share/obs/obs-plugins/linux-capture/locale/bg-BG.ini +share/obs/obs-plugins/linux-capture/locale/bn-BD.ini +share/obs/obs-plugins/linux-capture/locale/ca-ES.ini +share/obs/obs-plugins/linux-capture/locale/cs-CZ.ini +share/obs/obs-plugins/linux-capture/locale/da-DK.ini +share/obs/obs-plugins/linux-capture/locale/de-DE.ini +share/obs/obs-plugins/linux-capture/locale/el-GR.ini +share/obs/obs-plugins/linux-capture/locale/en-PT.ini +share/obs/obs-plugins/linux-capture/locale/en-US.ini +share/obs/obs-plugins/linux-capture/locale/es-ES.ini +share/obs/obs-plugins/linux-capture/locale/et-EE.ini +share/obs/obs-plugins/linux-capture/locale/eu-ES.ini +share/obs/obs-plugins/linux-capture/locale/fa-IR.ini +share/obs/obs-plugins/linux-capture/locale/fi-FI.ini +share/obs/obs-plugins/linux-capture/locale/fil-PH.ini +share/obs/obs-plugins/linux-capture/locale/fr-FR.ini +share/obs/obs-plugins/linux-capture/locale/gd-GB.ini +share/obs/obs-plugins/linux-capture/locale/gl-ES.ini +share/obs/obs-plugins/linux-capture/locale/he-IL.ini +share/obs/obs-plugins/linux-capture/locale/hi-IN.ini +share/obs/obs-plugins/linux-capture/locale/hr-HR.ini +share/obs/obs-plugins/linux-capture/locale/hu-HU.ini +share/obs/obs-plugins/linux-capture/locale/id-ID.ini +share/obs/obs-plugins/linux-capture/locale/it-IT.ini +share/obs/obs-plugins/linux-capture/locale/ja-JP.ini +share/obs/obs-plugins/linux-capture/locale/ka-GE.ini +share/obs/obs-plugins/linux-capture/locale/kab-KAB.ini +share/obs/obs-plugins/linux-capture/locale/ko-KR.ini +share/obs/obs-plugins/linux-capture/locale/lo-LA.ini +share/obs/obs-plugins/linux-capture/locale/ms-MY.ini +share/obs/obs-plugins/linux-capture/locale/nb-NO.ini +share/obs/obs-plugins/linux-capture/locale/nl-NL.ini +share/obs/obs-plugins/linux-capture/locale/pl-PL.ini +share/obs/obs-plugins/linux-capture/locale/pt-BR.ini +share/obs/obs-plugins/linux-capture/locale/pt-PT.ini +share/obs/obs-plugins/linux-capture/locale/ro-RO.ini +share/obs/obs-plugins/linux-capture/locale/ru-RU.ini +share/obs/obs-plugins/linux-capture/locale/sk-SK.ini +share/obs/obs-plugins/linux-capture/locale/sl-SI.ini +share/obs/obs-plugins/linux-capture/locale/sr-CS.ini +share/obs/obs-plugins/linux-capture/locale/sr-SP.ini +share/obs/obs-plugins/linux-capture/locale/sv-SE.ini +share/obs/obs-plugins/linux-capture/locale/ta-IN.ini +share/obs/obs-plugins/linux-capture/locale/tl-PH.ini +share/obs/obs-plugins/linux-capture/locale/tr-TR.ini +share/obs/obs-plugins/linux-capture/locale/uk-UA.ini +share/obs/obs-plugins/linux-capture/locale/vi-VN.ini +share/obs/obs-plugins/linux-capture/locale/zh-CN.ini +share/obs/obs-plugins/linux-capture/locale/zh-TW.ini %%JACK%%share/obs/obs-plugins/linux-jack/locale/ar-SA.ini %%JACK%%share/obs/obs-plugins/linux-jack/locale/az-AZ.ini %%JACK%%share/obs/obs-plugins/linux-jack/locale/ba-RU.ini |