mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 08:52:25 +01:00
vapoursynthPlugins.ctmf: init at r5
This commit is contained in:
parent
ef973c870e
commit
ffb27277d6
|
@ -10,6 +10,7 @@ self: super: {
|
|||
bm3d = super.callPackage ./plugins/bm3d { };
|
||||
cnr2 = super.callPackage ./plugins/cnr2 { };
|
||||
continuityfixer = super.callPackage ./plugins/continuityfixer { };
|
||||
ctmf = super.callPackage ./plugins/ctmf { };
|
||||
dctfilter = super.callPackage ./plugins/dctfilter { };
|
||||
deblock = super.callPackage ./plugins/deblock { };
|
||||
descale = super.callPackage ./plugins/descale { };
|
||||
|
|
29
plugins/ctmf/default.nix
Normal file
29
plugins/ctmf/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vapoursynth }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "VapourSynth-CTMF";
|
||||
version = "r5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HomeOfVapourSynthEvolution";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "138gbag1m3cg2bizc5ncxgriz3aw7dkqh1fpky3grlkspn5jc9x5";
|
||||
};
|
||||
|
||||
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 CTMF filter plugin for VapourSynth";
|
||||
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-CTMF";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue