nixpkgs/pkgs/development/libraries/mlt/default.nix

28 lines
816 B
Nix
Raw Normal View History

{ 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+";
};
}