vapoursynthPlugins.ttempsmooth: init at r3.1

This commit is contained in:
Simon Bruder 2021-01-23 18:08:39 +01:00 committed by Tadeo Kondrak
parent e3c8a00053
commit 2c20d5e7b4
2 changed files with 30 additions and 0 deletions

View file

@ -41,6 +41,7 @@ in
sangnom = super.callPackage ./plugins/sangnom { }; sangnom = super.callPackage ./plugins/sangnom { };
tcanny = super.callPackage ./plugins/tcanny { }; tcanny = super.callPackage ./plugins/tcanny { };
tnlmeans = super.callPackage ./plugins/tnlmeans { }; tnlmeans = super.callPackage ./plugins/tnlmeans { };
ttempsmooth = super.callPackage ./plugins/ttempsmooth { };
wwxd = super.callPackage ./plugins/wwxd { }; wwxd = super.callPackage ./plugins/wwxd { };
znedi3 = super.callPackage ./plugins/znedi3 { }; znedi3 = super.callPackage ./plugins/znedi3 { };
}; };

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
stdenv.mkDerivation rec {
pname = "VapourSynth-TTempSmooth";
version = "r3.1";
src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = pname;
rev = version;
sha256 = "0h7wxqr3kpq92pr2kbzjljlkg57l1a40w662p322l4r7587x4zdz";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ vapoursynth ];
postPatch = ''
substituteInPlace meson.build \
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
'';
meta = with lib; {
description = "A TTempSmooth filter plugin for VapourSynth";
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TTempSmooth";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}