nixpkgs/pkgs/applications/kde/kdenlive.nix

78 lines
1.2 KiB
Nix
Raw Normal View History

{ mkDerivation
, lib
, extra-cmake-modules
, kdoctools
, kactivities
, kconfig
, kcrash
, kguiaddons
, kiconthemes
, ki18n
, kinit
, kio
2016-08-12 11:38:37 +02:00
, kio-extras
, kwindowsystem
, kdbusaddons
, plasma-framework
, knotifications
, knewstuff
, karchive
, knotifyconfig
, kplotting
, ktextwidgets
, mlt
, shared_mime_info
, libv4l
2016-08-12 11:38:37 +02:00
, kfilemetadata
, ffmpeg
, phonon-backend-gstreamer
2017-10-24 13:41:09 +02:00
, qtdeclarative
2016-08-12 12:23:26 +02:00
, qtquickcontrols
2017-10-24 13:41:09 +02:00
, qtscript
, qtwebkit
}:
2017-05-16 17:56:41 +02:00
mkDerivation {
name = "kdenlive";
patches = [
./kdenlive-cmake-concurrent-module.patch
];
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
buildInputs = [
2016-08-12 11:38:37 +02:00
kconfig
kcrash
2017-05-17 21:26:11 +02:00
kdbusaddons
kfilemetadata
kguiaddons
2017-05-17 21:26:11 +02:00
ki18n
kiconthemes
2016-08-12 11:38:37 +02:00
kinit
knotifications
knewstuff
karchive
knotifyconfig
kplotting
ktextwidgets
mlt
2017-05-17 21:26:11 +02:00
phonon-backend-gstreamer
2017-10-24 13:41:09 +02:00
qtdeclarative
2017-05-17 21:26:11 +02:00
qtquickcontrols
qtscript
2017-10-24 13:41:09 +02:00
qtwebkit
shared_mime_info
libv4l
2016-08-12 11:38:37 +02:00
ffmpeg
];
2017-05-17 21:26:11 +02:00
postPatch =
# Module Qt5::Concurrent must be included in `find_package` before it is used.
''
sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|'
'';
meta = {
2016-08-12 11:38:37 +02:00
license = with lib.licenses; [ gpl2Plus ];
};
}