2016-08-27 03:38:57 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
|
|
|
|
vapoursynth, yasm, fftwFloat
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vapoursynth-mvtools-${version}";
|
2017-09-12 02:24:22 +00:00
|
|
|
version = "19";
|
2016-08-27 03:38:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dubhater";
|
|
|
|
repo = "vapoursynth-mvtools";
|
2017-09-12 02:24:22 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1wjwf1lgfkqz87s0j251g625mw9xmx79zzgrjyhq3wlii73m6qwp";
|
2016-08-27 03:38:57 +00:00
|
|
|
};
|
|
|
|
|
2017-09-14 19:24:37 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-08-27 03:38:57 +00:00
|
|
|
buildInputs = [
|
2017-09-14 19:24:37 +00:00
|
|
|
autoreconfHook
|
2016-08-27 03:38:57 +00:00
|
|
|
yasm vapoursynth fftwFloat
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--libdir=$(out)/lib/vapoursynth";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A set of filters for motion estimation and compensation";
|
|
|
|
homepage = https://github.com/dubhater/vapoursynth-mvtools;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|