2016-08-27 04:38:57 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
|
2018-09-03 14:09:20 +01:00
|
|
|
vapoursynth, nasm, fftwFloat
|
2016-08-27 04:38:57 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vapoursynth-mvtools";
|
2019-04-03 08:58:20 +01:00
|
|
|
version = "21";
|
2016-08-27 04:38:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-09-03 14:09:20 +01:00
|
|
|
owner = "dubhater";
|
|
|
|
repo = "vapoursynth-mvtools";
|
2017-09-12 03:24:22 +01:00
|
|
|
rev = "v${version}";
|
2019-04-03 08:58:20 +01:00
|
|
|
sha256 = "0vjxpp4jmmjhcp8z81idsbgq6jyx0l4r4i32b8alnp6c9fahjh6p";
|
2016-08-27 04:38:57 +01:00
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-08-27 04:38:57 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
autoreconfHook
|
2018-09-03 14:09:20 +01:00
|
|
|
nasm vapoursynth fftwFloat
|
2016-08-27 04:38:57 +01:00
|
|
|
];
|
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--libdir=$(out)/lib/vapoursynth" ];
|
2016-08-27 04:38:57 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|