mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-23 01:12:25 +01:00
vapoursynthPlugins.dfttest: init at r7
This commit is contained in:
parent
1b90075a93
commit
b0944e0540
|
@ -13,6 +13,7 @@ self: super: {
|
||||||
dctfilter = super.callPackage ./plugins/dctfilter { };
|
dctfilter = super.callPackage ./plugins/dctfilter { };
|
||||||
deblock = super.callPackage ./plugins/deblock { };
|
deblock = super.callPackage ./plugins/deblock { };
|
||||||
descale = super.callPackage ./plugins/descale { };
|
descale = super.callPackage ./plugins/descale { };
|
||||||
|
dfttest = super.callPackage ./plugins/dfttest { };
|
||||||
eedi2 = super.callPackage ./plugins/eedi2 { };
|
eedi2 = super.callPackage ./plugins/eedi2 { };
|
||||||
eedi3m = super.callPackage ./plugins/eedi3m { };
|
eedi3m = super.callPackage ./plugins/eedi3m { };
|
||||||
f3kdb = super.callPackage ./plugins/f3kdb { };
|
f3kdb = super.callPackage ./plugins/f3kdb { };
|
||||||
|
|
37
plugins/dfttest/default.nix
Normal file
37
plugins/dfttest/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, meson, ninja, pkg-config, fftwFloat, vapoursynth }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "VapourSynth-DFTTest";
|
||||||
|
version = "r7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "HomeOfVapourSynthEvolution";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1a13lziplfn8czn0rzpdj8pki8hjs2j1450xki3j09lb2ql2fm6q";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# handle fftw3f_threads dependency
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest/commit/89034df3fa630cbc9d73fd3ed9bcc222468f3fee.diff";
|
||||||
|
sha256 = "0hm00wqqnb1f1kqbvyxyj37b5050dqzlb2cvp86qqiaai7fwq29y";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
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 DFTTest filter plugin for VapourSynth";
|
||||||
|
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue