svp: adapt to the new mpv wrapper
This commit is contained in:
parent
0a3717ab41
commit
238d981213
@ -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 ]}"
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user