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:
parent
e7bb85e448
commit
ae16e892bb
@ -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 = {
|
||||
|
25
pkgs/development/libraries/movit/default.nix
Normal file
25
pkgs/development/libraries/movit/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -5695,6 +5695,8 @@ let
|
||||
|
||||
mps = callPackage ../development/libraries/mps { };
|
||||
|
||||
movit = callPackage ../development/libraries/movit { };
|
||||
|
||||
libmpeg2 = callPackage ../development/libraries/libmpeg2 { };
|
||||
|
||||
mpeg2dec = libmpeg2;
|
||||
|
Loading…
Reference in New Issue
Block a user