vapoursynthPlugins.miscfilters-obsolete: init at unstable-2022-01-24

This commit is contained in:
Simon Bruder 2022-05-26 14:01:10 +02:00 committed by Simon Bruder
parent 3446f34df4
commit 27a1d4b20d
2 changed files with 30 additions and 0 deletions

View file

@ -37,6 +37,7 @@ in
knlmeanscl = prev.callPackage ./plugins/knlmeanscl { };
lsmashsource = prev.callPackage ./plugins/lsmashsource { };
median = prev.callPackage ./plugins/median { };
miscfilters-obsolete = prev.callPackage ./plugins/miscfilters-obsolete { };
msmoosh = prev.callPackage ./plugins/msmoosh { };
mvtools = prev.vapoursynth-mvtools;
nnedi3 = prev.callPackage ./plugins/nnedi3 { };

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, tesseract, vapoursynth }:
stdenv.mkDerivation rec {
pname = "vs-miscfilters-obsolete";
version = "unstable-2022-01-24";
src = fetchFromGitHub {
owner = "vapoursynth";
repo = pname;
rev = "07e0589a381f7deb3bf533bb459a94482bccc5c7";
sha256 = "sha256-WEhpBTNEamNfrNXZxtpTGsOclPMRu+yBzNJmDnU0wzQ=";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ vapoursynth ];
postPatch = ''
substituteInPlace meson.build \
--replace "dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
'';
meta = with lib; {
description = "A collection of VapourSynth filters that mostly are useful for Avisynth compatibility";
homepage = "https://github.com/vapoursynth/vs-miscfilters-obsolete";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}