vapoursynthPlugins.deblock: init at r6.1

This commit is contained in:
Simon Bruder 2021-01-23 11:53:56 +01:00 committed by Tadeo Kondrak
parent 76dcd1236d
commit 1b90075a93
2 changed files with 30 additions and 0 deletions

View file

@ -11,6 +11,7 @@ self: super: {
cnr2 = super.callPackage ./plugins/cnr2 { }; cnr2 = super.callPackage ./plugins/cnr2 { };
continuityfixer = super.callPackage ./plugins/continuityfixer { }; continuityfixer = super.callPackage ./plugins/continuityfixer { };
dctfilter = super.callPackage ./plugins/dctfilter { }; dctfilter = super.callPackage ./plugins/dctfilter { };
deblock = super.callPackage ./plugins/deblock { };
descale = super.callPackage ./plugins/descale { }; descale = super.callPackage ./plugins/descale { };
eedi2 = super.callPackage ./plugins/eedi2 { }; eedi2 = super.callPackage ./plugins/eedi2 { };
eedi3m = super.callPackage ./plugins/eedi3m { }; eedi3m = super.callPackage ./plugins/eedi3m { };

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
stdenv.mkDerivation rec {
pname = "VapourSynth-Deblock";
version = "r6.1";
src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = pname;
rev = version;
sha256 = "0s2aqfak8mxylkhfl350mm8abspp7sgfacnigf7qksvhdx232k2c";
};
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 Deblock filter plugin for VapourSynth.";
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}