2021-05-16 11:51:58 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libbluray, vapoursynth }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "VapourSynth-ReadMpls";
|
2022-05-27 22:44:08 +02:00
|
|
|
version = "4";
|
2021-05-16 11:51:58 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "HomeOfVapourSynthEvolution";
|
|
|
|
repo = pname;
|
2022-05-27 22:44:08 +02:00
|
|
|
rev = "r${version}";
|
2021-05-16 11:51:58 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|