2012-06-05 17:52:11 +01:00
|
|
|
{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
|
|
|
|
, libxml2 , pkgconfig, qt4, sox }:
|
2010-04-30 14:12:07 +01:00
|
|
|
|
2012-06-05 17:52:11 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mlt-${version}";
|
|
|
|
version = "0.8.0";
|
2010-04-30 14:12:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-05 17:52:11 +01:00
|
|
|
url = "mirror://sourceforge/mlt/${name}.tar.gz";
|
|
|
|
sha256 = "1pf61imb5xzgzf65g54kybjr67235rxi20691023mcv34qwppl3v";
|
2010-04-30 14:12:07 +01:00
|
|
|
};
|
|
|
|
|
2012-06-05 17:52:11 +01:00
|
|
|
buildInputs =
|
|
|
|
[ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
|
|
|
|
sox
|
|
|
|
];
|
2010-04-30 14:12:07 +01:00
|
|
|
|
|
|
|
# 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+";
|
|
|
|
};
|
|
|
|
}
|