From acf13a985987253a301f5ffd31d36a949320d910 Mon Sep 17 00:00:00 2001 From: Karn Kallio Date: Fri, 25 Mar 2011 22:40:55 +0000 Subject: [PATCH] Get kdenlive to compile with qt47. svn path=/nixpkgs/trunk/; revision=26518 --- pkgs/applications/video/kdenlive/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/video/kdenlive/default.nix b/pkgs/applications/video/kdenlive/default.nix index 38f843c447f5..5edae1b3e720 100644 --- a/pkgs/applications/video/kdenlive/default.nix +++ b/pkgs/applications/video/kdenlive/default.nix @@ -8,6 +8,11 @@ stdenv.mkDerivation { sha256 = "10bwmhh3kzdbq1nzq8s5ln7ydrzg41d1rihj5kdmf5hb91az8mvx"; }; + prePatch = '' + # For Qt47 compatibility. + sed -i 's@class QImage@#include @' src/colorcorrection/vectorscopegenerator.h + ''; + buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext shared_mime_info soprano ];