nixpkgs-suyu/pkgs/applications/kde/kdenlive.nix
2017-06-18 08:42:20 -05:00

85 lines
1.2 KiB
Nix

{ mkDerivation
, kdeWrapper
, lib
, extra-cmake-modules
, kdoctools
, qtscript
, kactivities
, kconfig
, kcrash
, kguiaddons
, kiconthemes
, ki18n
, kinit
, kio
, kio-extras
, kwindowsystem
, kdbusaddons
, plasma-framework
, knotifications
, knewstuff
, karchive
, knotifyconfig
, kplotting
, ktextwidgets
, mlt
, shared_mime_info
, libv4l
, kfilemetadata
, ffmpeg
, phonon-backend-gstreamer
, qtquickcontrols
}:
let
unwrapped = mkDerivation {
name = "kdenlive";
patches = [
./kdenlive-cmake-concurrent-module.patch
];
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
buildInputs = [
qtscript
kconfig
kcrash
kguiaddons
kiconthemes
kinit
kdbusaddons
knotifications
knewstuff
karchive
knotifyconfig
kplotting
ktextwidgets
mlt
shared_mime_info
libv4l
ffmpeg
];
propagatedBuildInputs = [
kactivities
ki18n
kio
kio-extras
kwindowsystem
kfilemetadata
plasma-framework
phonon-backend-gstreamer
qtquickcontrols
];
enableParallelBuilding = true;
meta = {
license = with lib.licenses; [ gpl2Plus ];
};
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/kdenlive" ];
paths = [ kinit ];
}