depot/third_party/nixpkgs/pkgs/by-name/sv/svp/mpv.nix

17 lines
309 B
Nix
Raw Normal View History

{
lib,
mpv-unwrapped,
ocl-icd,
}:
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 [ ocl-icd ]}"
];
}