svp: adapt to the new mpv wrapper
This commit is contained in:
parent
0a3717ab41
commit
238d981213
@ -1,24 +1,16 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, mpv-unwrapped
|
, mpv-unwrapped
|
||||||
, wrapMpv
|
|
||||||
, ocl-icd
|
, ocl-icd
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
libraries = [
|
mpv-unwrapped.wrapper {
|
||||||
ocl-icd
|
mpv = mpv-unwrapped.override { vapoursynthSupport = true; };
|
||||||
];
|
|
||||||
in
|
|
||||||
wrapMpv
|
|
||||||
(mpv-unwrapped.override {
|
|
||||||
vapoursynthSupport = true;
|
|
||||||
})
|
|
||||||
{
|
|
||||||
extraMakeWrapperArgs = [
|
extraMakeWrapperArgs = [
|
||||||
# Add paths to required libraries
|
# Add paths to required libraries
|
||||||
"--prefix"
|
"--prefix"
|
||||||
"LD_LIBRARY_PATH"
|
"LD_LIBRARY_PATH"
|
||||||
":"
|
":"
|
||||||
"/run/opengl-driver/lib:${lib.makeLibraryPath libraries}"
|
"/run/opengl-driver/lib:${lib.makeLibraryPath [ ocl-icd ]}"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user