2014-07-27 11:30:57 +01:00
|
|
|
{ stdenv, fetchurl, frei0r, lib, cmake, qt4, perl, kdelibs, automoc4
|
|
|
|
, phonon , makeWrapper, mlt, gettext , qimageblitz, qjson
|
|
|
|
, shared_mime_info, soprano, pkgconfig, shared_desktop_ontologies
|
2015-02-27 13:10:43 +00:00
|
|
|
, libv4l, oxygen_icons
|
2014-07-27 11:30:57 +01:00
|
|
|
}:
|
2011-08-21 00:26:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "kdenlive-${version}";
|
2014-10-08 18:52:29 +01:00
|
|
|
version = "0.9.10";
|
2010-04-30 14:12:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-14 19:06:54 +00:00
|
|
|
url = "mirror://kde/stable/kdenlive/${version}/src/${name}.tar.bz2";
|
2014-10-08 18:52:29 +01:00
|
|
|
sha256 = "0qxpxnfbr8g6xq0h32skgqqi2xylrv2bnmyx5x1cws9y2wwxp3zn";
|
2010-04-30 14:12:07 +01:00
|
|
|
};
|
|
|
|
|
2014-07-27 11:30:57 +01:00
|
|
|
buildInputs = [
|
2015-09-27 16:11:01 +01:00
|
|
|
frei0r kdelibs libv4l mlt phonon qimageblitz qjson qt4
|
|
|
|
shared_desktop_ontologies soprano
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
automoc4 cmake gettext makeWrapper perl pkgconfig shared_mime_info
|
2014-07-27 11:30:57 +01:00
|
|
|
];
|
2010-04-30 14:12:07 +01:00
|
|
|
|
2015-02-27 13:10:43 +00:00
|
|
|
propagatedUserEnvPkgs = [ oxygen_icons ];
|
|
|
|
|
2013-06-04 23:30:44 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-07-27 11:30:57 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/kdenlive --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
|
|
|
|
wrapProgram $out/bin/kdenlive_render --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
|
|
|
|
'';
|
|
|
|
|
2010-04-30 14:12:07 +01:00
|
|
|
meta = {
|
|
|
|
description = "Free and open source video editor";
|
2014-07-27 11:30:57 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-04-30 14:12:07 +01:00
|
|
|
homepage = http://www.kdenlive.org/;
|
2014-07-27 11:30:57 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ goibhniu viric ];
|
2010-04-30 14:12:07 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|