nixpkgs/pkgs/applications/kde/kdenlive.nix

85 lines
1.3 KiB
Nix
Raw Normal View History

{ mkDerivation
, lib
, extra-cmake-modules
, breeze-icons
, breeze-qt5
, kdoctools
, kconfig
, kcrash
, kguiaddons
, kiconthemes
, ki18n
, kinit
, kdbusaddons
, knotifications
, knewstuff
, karchive
, knotifyconfig
, kplotting
, ktextwidgets
, mlt
, shared-mime-info
, libv4l
2016-08-12 09:38:37 +00:00
, kfilemetadata
, ffmpeg-full
, frei0r
, phonon-backend-gstreamer
2017-10-24 11:41:09 +00:00
, qtdeclarative
2016-08-12 10:23:26 +00:00
, qtquickcontrols
2017-10-24 11:41:09 +00:00
, qtscript
, qtwebkit
2019-04-22 21:25:18 +00:00
, rttr
, kpurpose
, kdeclarative
}:
2017-05-16 15:56:41 +00:00
mkDerivation {
name = "kdenlive";
nativeBuildInputs = [
extra-cmake-modules
kdoctools
];
buildInputs = [
breeze-icons
breeze-qt5
2016-08-12 09:38:37 +00:00
kconfig
kcrash
2017-05-17 19:26:11 +00:00
kdbusaddons
kfilemetadata
kguiaddons
2017-05-17 19:26:11 +00:00
ki18n
kiconthemes
2016-08-12 09:38:37 +00:00
kinit
knotifications
knewstuff
karchive
knotifyconfig
kplotting
ktextwidgets
mlt
2017-05-17 19:26:11 +00:00
phonon-backend-gstreamer
2017-10-24 11:41:09 +00:00
qtdeclarative
2017-05-17 19:26:11 +00:00
qtquickcontrols
qtscript
2017-10-24 11:41:09 +00:00
qtwebkit
shared-mime-info
libv4l
ffmpeg-full
frei0r
2019-04-22 21:25:18 +00:00
rttr
kpurpose
kdeclarative
];
patches = [ ./mlt-path.patch ];
inherit mlt;
2017-05-17 19:26:11 +00: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)|'
substituteAllInPlace src/kdenlivesettings.kcfg
2017-05-17 19:26:11 +00:00
'';
meta = {
2016-08-12 09:38:37 +00:00
license = with lib.licenses; [ gpl2Plus ];
};
}