vapoursynthPlugins.readmpls: init at r4

pull/2/head
Simon Bruder 2021-05-16 11:51:58 +02:00 committed by Tadeo Kondrak
parent 3e60b93aab
commit 338ecf0f19
2 changed files with 30 additions and 0 deletions

View File

@ -38,6 +38,7 @@ in
nnedi3 = super.callPackage ./plugins/nnedi3 { };
nnedi3cl = super.callPackage ./plugins/nnedi3cl { };
placebo = super.callPackage ./plugins/placebo { };
readmpls = super.callPackage ./plugins/readmpls { };
remap = super.callPackage ./plugins/remap { };
retinex = super.callPackage ./plugins/retinex { };
sangnom = super.callPackage ./plugins/sangnom { };

View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libbluray, vapoursynth }:
stdenv.mkDerivation rec {
pname = "VapourSynth-ReadMpls";
version = "r4";
src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = pname;
rev = version;
sha256 = "0v1hs0wgpv9raacsslmwhsw81c49c52mhc6py2ydxb0b359rqg2n";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [ libbluray vapoursynth ];
postPatch = ''
substituteInPlace meson.build \
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
'';
meta = with lib; {
description = "ReadMpls filter for VapourSynth";
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-ReadMpls";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}