diff --git a/pkgs/applications/video/cinelerra/default.nix b/pkgs/applications/video/cinelerra/default.nix new file mode 100644 index 000000000000..501c7c33df11 --- /dev/null +++ b/pkgs/applications/video/cinelerra/default.nix @@ -0,0 +1,34 @@ +args: +args.stdenv.mkDerivation { + name = "cinelerra-git"; + + src = args.sourceByName "cinelerra"; + + perl = args.perl; + + preConfigure = '' + find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@$perl/bin/perl@" -i + ./autogen.sh + ''; + configureOptions = ["--enable-freetype2"]; + + buildInputs =(with args; [ + automake autoconf libtool pkgconfig + X11 faad2 faac + a52dec alsaLib fftw lame libavc1394 libiec61883 + libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype + mjpegtools x264 gettext openexr esound + # + libXxf86vm libXv + libtheora libpng libdv + nasm + perl + e2fsprogs + ]); + + meta = { + description = "Cinelerra - Video Editor"; + homepage = http://www.cinelerra.org; + license = "GPLv2"; + }; +} diff --git a/pkgs/misc/bleeding-edge-fetch-infos.nix b/pkgs/misc/bleeding-edge-fetch-infos.nix index b08b4630b293..11d75c10fcea 100644 --- a/pkgs/misc/bleeding-edge-fetch-infos.nix +++ b/pkgs/misc/bleeding-edge-fetch-infos.nix @@ -215,4 +215,8 @@ url = http://mawercer.de/~nix/repos/kdesupport_telepathy_qt.tar.gz; sha256 = "022599182ff629662bbd01acdea6ead9aec64b3e73e8da3eb58ef857803035f2"; }; + cinelerra = args: with args; fetchurl { # Tue Oct 14 12:36:49 UTC 2008 + url = "http://mawercer.de/~nix/repos/cinelerra-9f9adf2ad5472886d5bc43a05c6aa8077cabd967.tar.gz"; + sha256 = "1e84ff59dcd7a3c80343eb9be302f822e510c95398fd1a6c8f2e4b163fd51e45"; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6caeecc58885..8fbe4a0674a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6008,6 +6008,20 @@ let }; }; + cinelerra = import ../applications/video/cinelerra { + inherit fetchurl stdenv + automake autoconf libtool + a52dec alsaLib lame libavc1394 libiec61883 libraw1394 libsndfile + libvorbis libogg libjpeg libtiff freetype mjpegtools x264 + gettext X11 faad2 faac libtheora libpng libdv perl nasm e2fsprogs + pkgconfig; + openexr = openexr_1_6_1; + fftw = fftwSinglePrec; + inherit (xorg) libXxf86vm libXv; + inherit (bleedingEdgeRepos) sourceByName; + inherit (gnome) esound; + }; + compiz_050 = assert mesaSupported; import ../applications/window-managers/compiz/0.5.0.nix { inherit fetchurl stdenv pkgconfig libpng mesa; inherit (xorg) libXcomposite libXfixes libXdamage libXrandr