mirror of https://github.com/materusPL/Nixerus.git
obs-studio: fix decklink
This commit is contained in:
parent
0aac6c67a7
commit
6ec3246ae2
|
@ -47,11 +47,11 @@
|
||||||
, amf-headers
|
, amf-headers
|
||||||
, libGL
|
, libGL
|
||||||
, vulkan-loader
|
, vulkan-loader
|
||||||
#, decklinkSupport ? false
|
, decklinkSupport ? false
|
||||||
#, blackmagic-desktop-video
|
, blackmagic-desktop-video ? null
|
||||||
, libcef
|
, libcef
|
||||||
}:
|
}:
|
||||||
|
assert (!decklinkSupport || blackmagic-desktop-video!=null) || builtins.throw "decklinkSupport enabled but blackmagic-desktop-video is null";
|
||||||
let
|
let
|
||||||
inherit (lib) optional optionals;
|
inherit (lib) optional optionals;
|
||||||
in
|
in
|
||||||
|
@ -134,14 +134,13 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
preFixup = let
|
preFixup = let
|
||||||
wrapperLibraries = [
|
wrapperLibraries = [
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
libvlc
|
libvlc
|
||||||
]; /*++ optionals decklinkSupport [
|
] ++ optionals decklinkSupport [
|
||||||
blackmagic-desktop-video
|
blackmagic-desktop-video
|
||||||
];*/
|
];
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
#Remove libs from libcef, they are symlinks and can't be patchelfed
|
#Remove libs from libcef, they are symlinks and can't be patchelfed
|
||||||
|
|
Loading…
Reference in New Issue