mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
31976ed140
I don't think it will break kdenlive, but let's see.
30 lines
890 B
Nix
30 lines
890 B
Nix
{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
|
|
, libxml2 , pkgconfig, qt4, sox, gtk2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mlt-${version}";
|
|
version = "0.9.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/mlt/${name}.tar.gz";
|
|
sha256 = "1j8wbkwpa6k5anyf4nvf71l8251d7clzj6v09jl3vvfakaf6l37j";
|
|
};
|
|
|
|
buildInputs =
|
|
[ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
|
|
sox # gtk2 /*optional*/
|
|
];
|
|
|
|
# Mostly taken from:
|
|
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
|
configureFlags = [ "--enable-gpl" "--enable-gpl3" "--avformat-swscale" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = http://www.mltframework.org/;
|
|
description = "Open source multimedia framework, designed for television broadcasting";
|
|
license = "GPLv3";
|
|
};
|
|
}
|