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