vapoursynthPlugins.fillborders: init at 2

This commit is contained in:
Simon Bruder 2021-05-16 10:36:52 +02:00 committed by Tadeo Kondrak
parent ed36a8a002
commit 29e467be9d
2 changed files with 31 additions and 0 deletions

View file

@ -25,6 +25,7 @@ in
f3kdb = super.callPackage ./plugins/f3kdb { };
ffms2 = super.ffms;
fft3dfilter = super.callPackage ./plugins/fft3dfilter { };
fillborders = super.callPackage ./plugins/fillborders { };
fluxsmooth = super.callPackage ./plugins/fluxsmooth { };
fmtconv = super.callPackage ./plugins/fmtconv { };
histogram = super.callPackage ./plugins/histogram { };

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vapoursynth-fillborders";
version = "2";
src = fetchFromGitHub {
owner = "dubhater";
repo = pname;
rev = "v${version}";
sha256 = "0c3y24796km382i6bn2ixqc6yfb87ipclvgp20b7h9rhg8sfhf9i";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ vapoursynth ];
postInstall = ''
# it installs the library in the wrong directory
mkdir $out/lib/vapoursynth
mv $out/lib/libfillborders.* $out/lib/vapoursynth/
'';
meta = with lib; {
description = "VapourSynth plugin to fill the borders of a clip";
homepage = "https://github.com/dubhater/vapoursynth-fillborders";
license = licenses.wtfpl;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}