mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
69 lines
1.1 KiB
Nix
69 lines
1.1 KiB
Nix
{ mkDerivation
|
|
, lib
|
|
, extra-cmake-modules
|
|
, kdoctools
|
|
, kconfig
|
|
, kcrash
|
|
, kguiaddons
|
|
, kiconthemes
|
|
, ki18n
|
|
, kinit
|
|
, kdbusaddons
|
|
, knotifications
|
|
, knewstuff
|
|
, karchive
|
|
, knotifyconfig
|
|
, kplotting
|
|
, ktextwidgets
|
|
, mlt
|
|
, shared-mime-info
|
|
, libv4l
|
|
, kfilemetadata
|
|
, ffmpeg
|
|
, phonon-backend-gstreamer
|
|
, qtdeclarative
|
|
, qtquickcontrols
|
|
, qtscript
|
|
, qtwebkit
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kdenlive";
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
kdoctools
|
|
];
|
|
buildInputs = [
|
|
kconfig
|
|
kcrash
|
|
kdbusaddons
|
|
kfilemetadata
|
|
kguiaddons
|
|
ki18n
|
|
kiconthemes
|
|
kinit
|
|
knotifications
|
|
knewstuff
|
|
karchive
|
|
knotifyconfig
|
|
kplotting
|
|
ktextwidgets
|
|
mlt
|
|
phonon-backend-gstreamer
|
|
qtdeclarative
|
|
qtquickcontrols
|
|
qtscript
|
|
qtwebkit
|
|
shared-mime-info
|
|
libv4l
|
|
ffmpeg
|
|
];
|
|
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 = {
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
};
|
|
}
|