mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-22 17:02:25 +01:00
vapoursynthPlugins.dctfilter: init at r2.1
This commit is contained in:
parent
883ba6026e
commit
76dcd1236d
|
@ -10,6 +10,7 @@ self: super: {
|
|||
bm3d = super.callPackage ./plugins/bm3d { };
|
||||
cnr2 = super.callPackage ./plugins/cnr2 { };
|
||||
continuityfixer = super.callPackage ./plugins/continuityfixer { };
|
||||
dctfilter = super.callPackage ./plugins/dctfilter { };
|
||||
descale = super.callPackage ./plugins/descale { };
|
||||
eedi2 = super.callPackage ./plugins/eedi2 { };
|
||||
eedi3m = super.callPackage ./plugins/eedi3m { };
|
||||
|
|
29
plugins/dctfilter/default.nix
Normal file
29
plugins/dctfilter/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, fftwFloat, vapoursynth }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "VapourSynth-DCTFilter";
|
||||
version = "r2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HomeOfVapourSynthEvolution";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "032l2dh28jznplh8ww8hzr0fmm6hx34f0k29gqyyjksmn3ympr00";
|
||||
};
|
||||
|
||||
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 = "Renewed DCTFilter filter plugin for VapourSynth";
|
||||
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue