MLT: 0.9.0 -> 0.9.2, add movit and frei0r plugins, add qt4 and qt5 variants
Shotcut segfaults on startup when compiled against an MLT which was built with qt4. Kdenlive seqfaults when compiled against an MLT which was built with qt5. Hence the need for the two variants. Also, I'm adopting MLT as a maintainer.
This commit is contained in:
parent
2723681a59
commit
1f9334cab3
2 changed files with 28 additions and 16 deletions
|
@ -1,29 +1,39 @@
|
|||
{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
|
||||
, libxml2 , pkgconfig, qt4, sox, gtk2 }:
|
||||
{ stdenv, fetchurl, SDL, frei0r, jack2, libav, libdv, libsamplerate
|
||||
, libvorbis, libxml2, makeWrapper, movit, pkgconfig, qt, sox
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mlt-${version}";
|
||||
version = "0.9.0";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mlt/${name}.tar.gz";
|
||||
sha256 = "1j8wbkwpa6k5anyf4nvf71l8251d7clzj6v09jl3vvfakaf6l37j";
|
||||
url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz";
|
||||
sha256 = "0vk1i2yrny6dbip4aha25ibgv4m2rdhpxmz6a74q9wz1cgzbb766";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
|
||||
sox # gtk2 /*optional*/
|
||||
];
|
||||
buildInputs = [
|
||||
SDL frei0r jack2 libav libdv libsamplerate libvorbis libxml2
|
||||
makeWrapper movit pkgconfig qt sox
|
||||
];
|
||||
|
||||
# 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" ];
|
||||
configureFlags = [
|
||||
"--avformat-swscale" "--enable-gpl" "--enable-gpl" "--enable-gpl3"
|
||||
"--enable-opengl"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.mltframework.org/;
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/melt --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open source multimedia framework, designed for television broadcasting";
|
||||
license = "GPLv3";
|
||||
homepage = http://www.mltframework.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5693,12 +5693,14 @@ let
|
|||
|
||||
mkvtoolnix = callPackage ../applications/video/mkvtoolnix { };
|
||||
|
||||
mlt = callPackage ../development/libraries/mlt { };
|
||||
mlt-qt4 = callPackage ../development/libraries/mlt { qt = qt4; };
|
||||
|
||||
mps = callPackage ../development/libraries/mps { };
|
||||
mlt-qt5 = callPackage ../development/libraries/mlt { qt = qt5; };
|
||||
|
||||
movit = callPackage ../development/libraries/movit { };
|
||||
|
||||
mps = callPackage ../development/libraries/mps { };
|
||||
|
||||
libmpeg2 = callPackage ../development/libraries/libmpeg2 { };
|
||||
|
||||
mpeg2dec = libmpeg2;
|
||||
|
@ -10527,7 +10529,7 @@ let
|
|||
|
||||
kdeconnect = callPackage ../applications/misc/kdeconnect { };
|
||||
|
||||
kdenlive = callPackage ../applications/video/kdenlive { };
|
||||
kdenlive = callPackage ../applications/video/kdenlive { mlt = mlt-qt4; };
|
||||
|
||||
kdesvn = callPackage ../applications/version-management/kdesvn { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue