vapoursynthPlugins.fft3dfilter: init at unstable-2020-08-05

This commit is contained in:
Simon Bruder 2021-01-23 12:40:10 +01:00 committed by Tadeo Kondrak
parent b0944e0540
commit d6fd1d9ee8
2 changed files with 30 additions and 0 deletions

View file

@ -18,6 +18,7 @@ self: super: {
eedi3m = super.callPackage ./plugins/eedi3m { }; eedi3m = super.callPackage ./plugins/eedi3m { };
f3kdb = super.callPackage ./plugins/f3kdb { }; f3kdb = super.callPackage ./plugins/f3kdb { };
ffms2 = super.ffms; ffms2 = super.ffms;
fft3dfilter = super.callPackage ./plugins/fft3dfilter { };
fmtconv = super.callPackage ./plugins/fmtconv { }; fmtconv = super.callPackage ./plugins/fmtconv { };
histogram = super.callPackage ./plugins/histogram { }; histogram = super.callPackage ./plugins/histogram { };
knlmeanscl = super.callPackage ./plugins/knlmeanscl { }; knlmeanscl = super.callPackage ./plugins/knlmeanscl { };

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, fftwFloat, vapoursynth }:
stdenv.mkDerivation rec {
pname = "VapourSynth-FFT3DFilter";
version = "unstable-2020-08-05"; # last version before requiring v4 api
src = fetchFromGitHub {
owner = "myrsloik";
repo = pname;
rev = "64323f0fdee4dd4fe429ee6287906dbae8e7571c";
sha256 = "0s2wf1i733srsqgz6fhs7kyra55pib9n5xkx9hpqjjv4sxlnfc9l";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ fftwFloat vapoursynth ];
postPatch = ''
substituteInPlace meson.build \
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
'';
meta = with lib; {
description = "A VapourSynth port of FFT3DFilter";
homepage = "https://github.com/myrsloik/VapourSynth-FFT3DFilter";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}