obs-studio: 29.1.3 -> 30.0.2

Co-authored-by: Charles Hall <charles@computer.surgery>
This commit is contained in:
materus 2023-11-21 18:28:18 +01:00 committed by Charles Hall
parent e3ed881b30
commit 36e926f09b
No known key found for this signature in database
GPG Key ID: 7B8E0645816E07CF

View File

@ -48,6 +48,9 @@
, asio
, decklinkSupport ? false
, blackmagic-desktop-video
, libdatachannel
, libvpl
, qrcodegencpp
}:
let
@ -56,13 +59,13 @@ let
in
stdenv.mkDerivation rec {
pname = "obs-studio";
version = "29.1.3";
version = "30.0.2";
src = fetchFromGitHub {
owner = "obsproject";
repo = "obs-studio";
rev = version;
sha256 = "sha256-D0DPueMtopwz5rLgM8QcPT7DgTKcJKQHnst69EY9V6Q=";
sha256 = "sha256-8pX1kqibrtDIaE1+/Pey1A5bu6MwFTXLrBOah4rsF+4=";
fetchSubmodules = true;
};
@ -108,6 +111,9 @@ stdenv.mkDerivation rec {
nlohmann_json
websocketpp
asio
libdatachannel
libvpl
qrcodegencpp
]
++ optionals scriptingSupport [ luajit python3 ]
++ optional alsaSupport alsa-lib
@ -159,7 +165,7 @@ stdenv.mkDerivation rec {
addOpenGLRunpath $out/lib/obs-plugins/*.so
# Link libcef again after patchelfing other libs
ln -s ${libcef}/lib/libcef.so $out/lib/obs-plugins/libcef.so
ln -s ${libcef}/lib/* $out/lib/obs-plugins/
'';
meta = with lib; {