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