mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
mlt-qt5: build with Qt 5.5
This commit is contained in:
parent
8d5b2be9ae
commit
50f76e0625
3 changed files with 42 additions and 1 deletions
39
pkgs/development/libraries/mlt/qt-5.5.nix
Normal file
39
pkgs/development/libraries/mlt/qt-5.5.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ stdenv, fetchurl, SDL, ffmpeg, frei0r, libjack2, libdv, libsamplerate
|
||||
, libvorbis, libxml2, makeWrapper, movit, pkgconfig, sox, qtbase, qtsvg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mlt-${version}";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz";
|
||||
sha256 = "0s8ypg0q50zfcmq527y8cbdvzxhiqidm1923k28ar8jqmjp45ssh";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
SDL ffmpeg frei0r libjack2 libdv libsamplerate libvorbis libxml2
|
||||
makeWrapper movit pkgconfig qtbase qtsvg sox
|
||||
];
|
||||
|
||||
# Mostly taken from:
|
||||
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
||||
configureFlags = [
|
||||
"--avformat-swscale" "--enable-gpl" "--enable-gpl" "--enable-gpl3"
|
||||
"--enable-opengl"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
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";
|
||||
homepage = http://www.mltframework.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -7604,7 +7604,7 @@ let
|
|||
qt = qt4;
|
||||
};
|
||||
|
||||
mlt-qt5 = callPackage ../development/libraries/mlt/qt5.nix { };
|
||||
mlt-qt5 = callPackage ../development/libraries/mlt/qt-5.4.nix { };
|
||||
|
||||
movit = callPackage ../development/libraries/movit { };
|
||||
|
||||
|
@ -7938,6 +7938,8 @@ let
|
|||
|
||||
libkeyfinder = callPackage ../development/libraries/libkeyfinder { };
|
||||
|
||||
mlt = callPackage ../development/libraries/mlt/qt-5.5.nix {};
|
||||
|
||||
openbr = callPackage ../development/libraries/openbr { };
|
||||
|
||||
phonon = callPackage ../development/libraries/phonon/qt5 { };
|
||||
|
|
Loading…
Reference in a new issue