mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ stdenv, fetchurl, frei0r, lib, cmake, qt4, perl, kdelibs, automoc4
|
|
, phonon , makeWrapper, mlt, gettext , qimageblitz, qjson
|
|
, shared_mime_info, soprano, pkgconfig, shared_desktop_ontologies
|
|
, libv4l, oxygen_icons
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "kdenlive-${version}";
|
|
version = "0.9.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/kdenlive/${version}/src/${name}.tar.bz2";
|
|
sha256 = "0qxpxnfbr8g6xq0h32skgqqi2xylrv2bnmyx5x1cws9y2wwxp3zn";
|
|
};
|
|
|
|
buildInputs = [
|
|
frei0r kdelibs libv4l mlt phonon qimageblitz qjson qt4
|
|
shared_desktop_ontologies soprano
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
automoc4 cmake gettext makeWrapper perl pkgconfig shared_mime_info
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [ oxygen_icons ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/kdenlive --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
|
|
wrapProgram $out/bin/kdenlive_render --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
|
|
'';
|
|
|
|
meta = {
|
|
description = "Free and open source video editor";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
homepage = http://www.kdenlive.org/;
|
|
maintainers = with stdenv.lib.maintainers; [ goibhniu viric ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|