2012-06-05 18:52:11 +02:00
|
|
|
{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
|
2013-06-05 00:30:44 +02:00
|
|
|
, libxml2 , pkgconfig, qt4, sox, gtk2 }:
|
2010-04-30 15:12:07 +02:00
|
|
|
|
2012-06-05 18:52:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mlt-${version}";
|
2013-09-24 09:22:19 +02:00
|
|
|
version = "0.9.0";
|
2010-04-30 15:12:07 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-05 18:52:11 +02:00
|
|
|
url = "mirror://sourceforge/mlt/${name}.tar.gz";
|
2013-09-24 09:22:19 +02:00
|
|
|
sha256 = "1j8wbkwpa6k5anyf4nvf71l8251d7clzj6v09jl3vvfakaf6l37j";
|
2010-04-30 15:12:07 +02:00
|
|
|
};
|
|
|
|
|
2013-06-05 00:30:44 +02:00
|
|
|
buildInputs =
|
2012-06-05 18:52:11 +02:00
|
|
|
[ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
|
2013-06-05 00:30:44 +02:00
|
|
|
sox # gtk2 /*optional*/
|
2012-06-05 18:52:11 +02:00
|
|
|
];
|
2010-04-30 15:12:07 +02:00
|
|
|
|
|
|
|
# Mostly taken from:
|
|
|
|
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
2013-06-05 00:30:44 +02:00
|
|
|
configureFlags = [ "--enable-gpl" "--enable-gpl3" "--avformat-swscale" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-04-30 15:12:07 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.mltframework.org/;
|
|
|
|
description = "Open source multimedia framework, designed for television broadcasting";
|
2013-06-05 00:30:44 +02:00
|
|
|
license = "GPLv3";
|
2010-04-30 15:12:07 +02:00
|
|
|
};
|
|
|
|
}
|