2011-06-23 00:23:45 +02:00
|
|
|
{ stdenv, fetchgit, sourceFromHead, autoconf, automake, libtool
|
2010-07-28 20:01:17 +02:00
|
|
|
, pkgconfig, faad2, faac, a52dec, alsaLib, fftw, lame, libavc1394
|
|
|
|
, libiec61883, libraw1394, libsndfile, libvorbis, libogg, libjpeg
|
2012-03-11 15:07:19 +01:00
|
|
|
, libtiff, freetype, mjpegtools, x264, gettext, openexr
|
2011-06-23 00:23:50 +02:00
|
|
|
, libXext, libXxf86vm, libXv, libXi, libX11, xextproto, libtheora, libpng
|
|
|
|
, libdv, libuuid, file, nasm, perl }:
|
2010-07-28 20:01:17 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-10-14 16:01:50 +02:00
|
|
|
name = "cinelerra-git";
|
|
|
|
|
2011-06-23 00:23:45 +02:00
|
|
|
# # REGION AUTO UPDATE: { name="cinelerra"; type="git"; url="git://git.cinelerra.org/j6t/cinelerra.git"; }
|
|
|
|
# src= sourceFromHead "cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz"
|
|
|
|
# (fetchurl { url = "http://mawercer.de/~nix/repos/cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz"; sha256 = "0b264e2a770d2257550c9a23883a060afcaff12293fe43828954e7373f5f4fb4"; });
|
|
|
|
# # END
|
2008-10-14 16:01:50 +02:00
|
|
|
|
2011-06-23 00:23:45 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.cinelerra.org/j6t/cinelerra.git";
|
|
|
|
rev = "01dc4375a0fb65d10dd95151473d0e195239175f";
|
|
|
|
sha256 = "afb406a5637e4d0afad94e62ffd3af5b61e39f75aba9c08521523d00a0a5fec5";
|
|
|
|
};
|
|
|
|
|
|
|
|
# touch config.rpath: work around bug in automake 1.10 ?
|
2008-10-14 16:01:50 +02:00
|
|
|
preConfigure = ''
|
2010-07-28 20:01:17 +02:00
|
|
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
2009-12-11 14:58:23 +01:00
|
|
|
touch config.rpath
|
2008-10-14 16:01:50 +02:00
|
|
|
./autogen.sh
|
2011-06-23 00:23:50 +02:00
|
|
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
2010-07-28 20:01:17 +02:00
|
|
|
'';
|
2008-10-14 16:01:50 +02:00
|
|
|
|
2010-07-28 20:01:17 +02:00
|
|
|
buildInputs =
|
|
|
|
[ automake
|
2011-06-23 00:23:50 +02:00
|
|
|
autoconf libtool pkgconfig file
|
2009-04-18 14:47:11 +02:00
|
|
|
faad2 faac
|
2008-10-14 16:01:50 +02:00
|
|
|
a52dec alsaLib fftw lame libavc1394 libiec61883
|
|
|
|
libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype
|
2012-03-11 15:07:19 +01:00
|
|
|
mjpegtools x264 gettext openexr
|
2011-06-23 00:23:50 +02:00
|
|
|
libXext libXxf86vm libXv libXi libX11 xextproto
|
|
|
|
libtheora libpng libdv libuuid
|
2008-10-14 16:01:50 +02:00
|
|
|
nasm
|
|
|
|
perl
|
2010-07-28 20:01:17 +02:00
|
|
|
];
|
2008-10-14 16:01:50 +02:00
|
|
|
|
|
|
|
meta = {
|
2014-06-22 22:49:32 +02:00
|
|
|
description = "Video Editor";
|
2010-07-28 20:01:17 +02:00
|
|
|
homepage = http://www.cinelerra.org;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
license = "GPLv2";
|
2008-10-14 16:01:50 +02:00
|
|
|
};
|
|
|
|
}
|