svp: adapt to the new mpv wrapper

This commit is contained in:
Anderson Torres 2024-05-22 17:13:48 -03:00
parent 0a3717ab41
commit 238d981213

View File

@ -1,24 +1,16 @@
{ lib
, mpv-unwrapped
, wrapMpv
, ocl-icd
, ...
}:
let
libraries = [
ocl-icd
];
in
wrapMpv
(mpv-unwrapped.override {
vapoursynthSupport = true;
})
{
mpv-unwrapped.wrapper {
mpv = mpv-unwrapped.override { vapoursynthSupport = true; };
extraMakeWrapperArgs = [
# Add paths to required libraries
"--prefix"
"LD_LIBRARY_PATH"
":"
"/run/opengl-driver/lib:${lib.makeLibraryPath libraries}"
"/run/opengl-driver/lib:${lib.makeLibraryPath [ ocl-icd ]}"
];
}