nixpkgs/pkgs/development/libraries/mlt/default.nix
Lluís Batlle i Rossell 6ee6cd5ec9 Updates: kdenlive-0.9.4 mlt-0.8.8
Upstream kdenlive suggests mlt-0.8.8.
2013-02-14 20:06:54 +01:00

28 lines
816 B
Nix

{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
, libxml2 , pkgconfig, qt4, sox }:
stdenv.mkDerivation rec {
name = "mlt-${version}";
version = "0.8.8";
src = fetchurl {
url = "mirror://sourceforge/mlt/${name}.tar.gz";
sha256 = "0m4nzxli1pl8w59m4iwwhpmr1xdz7xfknmbl3a0mkkd1jzdiq3nc";
};
buildInputs =
[ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
sox
];
# 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+";
};
}