mpv: Install all anime4k shaders

This commit is contained in:
2021-08-22 21:11:00 +02:00
parent 19dbc29559
commit b38ee5f22a
4 changed files with 30 additions and 8082 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv, lib }:
stdenv.mkDerivation rec {
pname = "Anime4k";
version = "4.0.0-RC";
src = builtins.fetchGit {
url = "https://github.com/bloc97/Anime4K.git";
ref = "cb56502ed429a5a3e48ed62c5245d6445a209c7c";
};
installPhase = ''
find ./glsl/ -type f -iname '*.glsl' -exec install -Dm 644 {} -t $out/usr/share/shaders/ \;
'';
meta = with lib; {
description = "A High-Quality Real Time Upscaler for Anime Video ";
homepage = "A High-Quality Real Time Upscaler for Anime Video ";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.linux;
};
}