nixpkgs-suyu/pkgs/development/libraries/mlt/default.nix
Lluís Batlle i Rossell a386398be6 Adding kdenlive, and as a side effect, mlt.
Kdenlive looks for some binaries in PATH, so some dependencies may be fulfilled
not by kdenlive nix expression.

svn path=/nixpkgs/trunk/; revision=21458
2010-04-30 13:12:07 +00:00

22 lines
679 B
Nix

{stdenv, fetchurl, SDL, qt, pkgconfig, ffmpeg, libdv}:
stdenv.mkDerivation {
name = "mlt-0.5.4";
src = fetchurl {
url = mirror://sourceforge/mlt/mlt-0.5.4.tar.gz;
sha256 = "12s5znbm6q45r33ymyw1bak3d41xhh72gh9i1pdsgvddr0pizshj";
};
buildInputs = [ qt SDL ffmpeg libdv ];
# Mostly taken from:
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
configureFlags = [ "--enable-gpl" "--avformat-swscale" ];
meta = {
homepage = http://www.mltframework.org/;
description = "Open source multimedia framework, designed for television broadcasting";
license = "GPLv2+";
};
}