nixpkgs/pkgs/applications/video/kdenlive/default.nix
Karn Kallio acf13a9859 Get kdenlive to compile with qt47.
svn path=/nixpkgs/trunk/; revision=26518
2011-03-25 22:40:55 +00:00

27 lines
807 B
Nix

{stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon, mlt, gettext,
shared_mime_info, soprano}:
stdenv.mkDerivation {
name = "kdenlive-0.7.8";
src = fetchurl {
url = mirror://sourceforge/kdenlive/kdenlive-0.7.8.tar.gz;
sha256 = "10bwmhh3kzdbq1nzq8s5ln7ydrzg41d1rihj5kdmf5hb91az8mvx";
};
prePatch = ''
# For Qt47 compatibility.
sed -i 's@class QImage@#include <QImage>@' src/colorcorrection/vectorscopegenerator.h
'';
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext
shared_mime_info soprano ];
meta = {
description = "Free and open source video editor";
license = "GPLv2+";
homepage = http://www.kdenlive.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}