2011-06-22 23:23:45 +01:00
|
|
|
{ stdenv, fetchgit, sourceFromHead, autoconf, automake, libtool
|
2010-07-28 19:01:17 +01:00
|
|
|
, pkgconfig, faad2, faac, a52dec, alsaLib, fftw, lame, libavc1394
|
|
|
|
, libiec61883, libraw1394, libsndfile, libvorbis, libogg, libjpeg
|
2012-03-11 14:07:19 +00:00
|
|
|
, libtiff, freetype, mjpegtools, x264, gettext, openexr
|
2016-11-23 22:33:16 +00:00
|
|
|
, libXext, libXxf86vm, libXv, libXi, libX11, libXft, xextproto, libtheora, libpng
|
|
|
|
, libdv, libuuid, file, nasm, perl
|
|
|
|
, fontconfig, intltool }:
|
2014-12-04 14:57:16 +00:00
|
|
|
|
2010-07-28 19:01:17 +01:00
|
|
|
stdenv.mkDerivation {
|
2008-10-14 15:01:50 +01:00
|
|
|
name = "cinelerra-git";
|
|
|
|
|
2011-06-22 23:23:45 +01: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 15:01:50 +01:00
|
|
|
|
2011-06-22 23:23:45 +01:00
|
|
|
src = fetchgit {
|
2014-12-04 14:57:16 +00:00
|
|
|
url = "git://git.cinelerra-cv.org/j6t/cinelerra.git";
|
2016-11-23 22:33:16 +00:00
|
|
|
# 2.3
|
|
|
|
#rev = "58ef118e63bf2fac8c99add372c584e93b008bae";
|
|
|
|
#sha256 = "1wx8c9rvh4y7fgg39lb02cy3sanms8a4fayr70jbhcb4rp691lph";
|
|
|
|
# master 22 nov 2016
|
|
|
|
#rev = "dbc22e0f35a9e8c274b06d4075b51dc9bace34aa";
|
|
|
|
#sha256 = "0c76j98ws1x2s5hzcdlykxm2bi7987d9nanka428xj62id0grla5";
|
|
|
|
|
|
|
|
# j6t/cinelerra.git
|
|
|
|
rev = "454be60e201c18c1fc3f1f253a6d2184fcfc94c4";
|
|
|
|
sha256 = "1n4kshqhgnr7aivsi8dgx48phyd2nzvv4szbc82mndklvs9jfb7r";
|
2011-06-22 23:23:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# touch config.rpath: work around bug in automake 1.10 ?
|
2008-10-14 15:01:50 +01:00
|
|
|
preConfigure = ''
|
2010-07-28 19:01:17 +01:00
|
|
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
2009-12-11 13:58:23 +00:00
|
|
|
touch config.rpath
|
2008-10-14 15:01:50 +01:00
|
|
|
./autogen.sh
|
2011-06-22 23:23:50 +01:00
|
|
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
2010-07-28 19:01:17 +01:00
|
|
|
'';
|
2008-10-14 15:01:50 +01:00
|
|
|
|
2010-07-28 19:01:17 +01:00
|
|
|
buildInputs =
|
|
|
|
[ automake
|
2011-06-22 23:23:50 +01:00
|
|
|
autoconf libtool pkgconfig file
|
2009-04-18 13:47:11 +01:00
|
|
|
faad2 faac
|
2008-10-14 15:01:50 +01:00
|
|
|
a52dec alsaLib fftw lame libavc1394 libiec61883
|
|
|
|
libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype
|
2012-03-11 14:07:19 +00:00
|
|
|
mjpegtools x264 gettext openexr
|
2016-11-23 22:33:16 +00:00
|
|
|
libXext libXxf86vm libXv libXi libX11 libXft xextproto
|
2011-06-22 23:23:50 +01:00
|
|
|
libtheora libpng libdv libuuid
|
2008-10-14 15:01:50 +01:00
|
|
|
nasm
|
|
|
|
perl
|
2016-11-23 22:33:16 +00:00
|
|
|
fontconfig intltool
|
2010-07-28 19:01:17 +01:00
|
|
|
];
|
2008-10-14 15:01:50 +01:00
|
|
|
|
2016-11-23 22:33:16 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-12-04 14:57:16 +00:00
|
|
|
meta = {
|
2014-06-22 21:49:32 +01:00
|
|
|
description = "Video Editor";
|
2010-07-28 19:01:17 +01:00
|
|
|
homepage = http://www.cinelerra.org;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-10-14 15:01:50 +01:00
|
|
|
};
|
|
|
|
}
|