2018-11-19 09:52:23 +00:00
|
|
|
{ stdenv, fetchurl, SDL2, eigen, epoxy, fftw, gtest, pkgconfig }:
|
2014-07-27 10:17:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "movit-${version}";
|
2018-11-19 09:52:23 +00:00
|
|
|
version = "1.6.2";
|
2014-07-27 10:17:10 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 05:04:25 +00:00
|
|
|
url = "https://movit.sesse.net/${name}.tar.gz";
|
2018-11-19 09:52:23 +00:00
|
|
|
sha256 = "1q9h086v6h3da4b9qyflcjx73cgnqjhb92rv6g4j90m34dndaa3l";
|
2014-07-27 10:17:10 +00:00
|
|
|
};
|
|
|
|
|
2016-10-02 17:22:29 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-11-19 09:52:23 +00:00
|
|
|
GTEST_DIR = "${gtest.src}/googletest";
|
2014-07-27 10:17:10 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ eigen epoxy ];
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-11-19 09:52:23 +00:00
|
|
|
buildInputs = [ SDL2 fftw gtest ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2014-07-27 10:17:10 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "High-performance, high-quality video filters for the GPU";
|
2018-05-01 03:03:23 +00:00
|
|
|
homepage = https://movit.sesse.net;
|
2014-07-27 10:17:10 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|