2018-07-20 17:44:44 -07:00
|
|
|
{ stdenv, fetchgit, autoconf, automake, libtool
|
2010-07-28 11:01:17 -07:00
|
|
|
, pkgconfig, faad2, faac, a52dec, alsaLib, fftw, lame, libavc1394
|
|
|
|
, libiec61883, libraw1394, libsndfile, libvorbis, libogg, libjpeg
|
2012-03-11 07:07:19 -07:00
|
|
|
, libtiff, freetype, mjpegtools, x264, gettext, openexr
|
2018-12-30 19:40:47 -08:00
|
|
|
, libXext, libXxf86vm, libXv, libXi, libX11, libXft, xorgproto, libtheora, libpng
|
2016-11-23 14:33:16 -08:00
|
|
|
, libdv, libuuid, file, nasm, perl
|
|
|
|
, fontconfig, intltool }:
|
2014-12-04 06:57:16 -08:00
|
|
|
|
2010-07-28 11:01:17 -07:00
|
|
|
stdenv.mkDerivation {
|
2018-07-20 13:58:52 -07:00
|
|
|
name = "cinelerra-unstable-2016-01-12";
|
2008-10-14 07:01:50 -07:00
|
|
|
|
2011-06-22 15:23:45 -07:00
|
|
|
src = fetchgit {
|
2014-12-04 06:57:16 -08:00
|
|
|
url = "git://git.cinelerra-cv.org/j6t/cinelerra.git";
|
2016-11-23 14:33:16 -08:00
|
|
|
rev = "454be60e201c18c1fc3f1f253a6d2184fcfc94c4";
|
|
|
|
sha256 = "1n4kshqhgnr7aivsi8dgx48phyd2nzvv4szbc82mndklvs9jfb7r";
|
2011-06-22 15:23:45 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
# touch config.rpath: work around bug in automake 1.10 ?
|
2008-10-14 07:01:50 -07:00
|
|
|
preConfigure = ''
|
2010-07-28 11:01:17 -07:00
|
|
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
2009-12-11 05:58:23 -08:00
|
|
|
touch config.rpath
|
2008-10-14 07:01:50 -07:00
|
|
|
./autogen.sh
|
2011-06-22 15:23:50 -07:00
|
|
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
2010-07-28 11:01:17 -07:00
|
|
|
'';
|
2008-10-14 07:01:50 -07:00
|
|
|
|
2010-07-28 11:01:17 -07:00
|
|
|
buildInputs =
|
|
|
|
[ automake
|
2011-06-22 15:23:50 -07:00
|
|
|
autoconf libtool pkgconfig file
|
2009-04-18 05:47:11 -07:00
|
|
|
faad2 faac
|
2008-10-14 07:01:50 -07:00
|
|
|
a52dec alsaLib fftw lame libavc1394 libiec61883
|
|
|
|
libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype
|
2012-03-11 07:07:19 -07:00
|
|
|
mjpegtools x264 gettext openexr
|
2018-12-30 19:40:47 -08:00
|
|
|
libXext libXxf86vm libXv libXi libX11 libXft xorgproto
|
2011-06-22 15:23:50 -07:00
|
|
|
libtheora libpng libdv libuuid
|
2008-10-14 07:01:50 -07:00
|
|
|
nasm
|
|
|
|
perl
|
2016-11-23 14:33:16 -08:00
|
|
|
fontconfig intltool
|
2010-07-28 11:01:17 -07:00
|
|
|
];
|
2008-10-14 07:01:50 -07:00
|
|
|
|
2017-12-07 00:31:32 -08:00
|
|
|
# $ make -C cinelerra edl.o
|
2017-11-17 08:40:46 -08:00
|
|
|
# edl.C:50:25: fatal error: versioninfo.h: No such file or directory
|
2017-12-07 00:31:32 -08:00
|
|
|
enableParallelBuilding = false;
|
2016-11-23 14:33:16 -08:00
|
|
|
|
2014-12-04 06:57:16 -08:00
|
|
|
meta = {
|
2014-06-22 13:49:32 -07:00
|
|
|
description = "Video Editor";
|
2010-07-28 11:01:17 -07:00
|
|
|
homepage = http://www.cinelerra.org;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-10-14 07:01:50 -07:00
|
|
|
};
|
|
|
|
}
|