Add movit: High-performance, high-quality video filters for the GPU

NOTE: movit expected to be able to read source files from gtest, so I
also made them available.

squash
This commit is contained in:
Cillian de Róiste 2014-07-27 12:17:10 +02:00
parent e7bb85e448
commit ae16e892bb
3 changed files with 28 additions and 0 deletions

View File

@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
cp -v libgtest.a libgtest_main.a $out/lib
cp -v -r ../include $out
cp -v -r ../src $out
'';
meta = {

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, SDL, eigen, epoxy, fftw, gtest, pkgconfig }:
stdenv.mkDerivation rec {
name = "movit-${version}";
version = "1.1.1";
src = fetchurl {
url = "http://movit.sesse.net/${name}.tar.gz";
sha256 = "1k3qbkxapcplpsx22xh4m4ccp9fhsjfcj3pjzbcnrc51103aklag";
};
GTEST_DIR = "${gtest}";
propagatedBuildInputs = [ eigen epoxy ];
buildInputs = [ SDL fftw gtest pkgconfig ];
meta = with stdenv.lib; {
description = "High-performance, high-quality video filters for the GPU";
homepage = http://movits.sesse.net;
license = licenses.gpl2Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}

View File

@ -5695,6 +5695,8 @@ let
mps = callPackage ../development/libraries/mps { };
movit = callPackage ../development/libraries/movit { };
libmpeg2 = callPackage ../development/libraries/libmpeg2 { };
mpeg2dec = libmpeg2;