Trying to fix the latest kdenlive

This commit is contained in:
Lluís Batlle i Rossell 2016-08-12 12:23:26 +02:00
parent 17f0cce445
commit 2045b40b10

View File

@ -1,4 +1,5 @@
{ kdeApp { kdeApp
, kdeWrapper
, lib , lib
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
@ -27,9 +28,11 @@
, kfilemetadata , kfilemetadata
, ffmpeg , ffmpeg
, phonon-backend-vlc , phonon-backend-vlc
, qtquickcontrols
}: }:
kdeApp { let
unwrapped = kdeApp {
name = "kdenlive"; name = "kdenlive";
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
@ -63,13 +66,16 @@ kdeApp {
kfilemetadata kfilemetadata
plasma-framework plasma-framework
phonon-backend-vlc phonon-backend-vlc
qtquickcontrols
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kdenlive" \
--prefix PATH : "${kinit}/bin"
'';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = {
license = with lib.licenses; [ gpl2Plus ]; license = with lib.licenses; [ gpl2Plus ];
}; };
};
in
kdeWrapper unwrapped
{
targets = [ "bin/kdenlive" ];
paths = [ kinit ];
} }