2016-07-30 03:13:00 +01:00
|
|
|
{
|
2017-05-16 16:56:41 +01:00
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules, kdoctools,
|
2018-07-21 01:44:44 +01:00
|
|
|
baloo, baloo-widgets, kactivities, kbookmarks, kcmutils,
|
2021-05-11 20:35:50 +01:00
|
|
|
kcompletion, kconfig, kcoreaddons, kdbusaddons,
|
2016-07-30 22:16:36 +01:00
|
|
|
kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
|
2018-11-27 07:44:54 +00:00
|
|
|
kparts, ktexteditor, kwindowsystem, phonon, solid,
|
2021-01-31 16:17:53 +00:00
|
|
|
wayland, qtbase, qtwayland
|
2016-04-21 17:00:51 +01:00
|
|
|
}:
|
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
mkDerivation {
|
2020-12-24 23:05:07 +00:00
|
|
|
pname = "dolphin";
|
2017-05-16 16:56:41 +01:00
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
2021-01-31 16:17:53 +00:00
|
|
|
broken = lib.versionOlder qtbase.version "5.14";
|
2017-05-16 16:56:41 +01:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2019-09-22 22:36:14 +01:00
|
|
|
propagatedUserEnvPkgs = [ baloo ];
|
2017-05-16 16:56:41 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
|
2021-05-11 20:35:50 +01:00
|
|
|
kcoreaddons kdbusaddons kfilemetadata ki18n kiconthemes
|
2017-05-16 16:56:41 +01:00
|
|
|
kinit kio knewstuff knotifications kparts ktexteditor kwindowsystem
|
|
|
|
phonon solid
|
2018-11-27 07:44:54 +00:00
|
|
|
wayland qtwayland
|
2017-05-16 16:56:41 +01:00
|
|
|
];
|
2017-05-22 19:49:07 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2018-08-20 12:44:05 +01:00
|
|
|
# We need the RPATH for linking, because the `libkdeinit5_dolphin.so` links
|
|
|
|
# private against its dependencies and without the correct RPATH, these
|
|
|
|
# dependencies are not found.
|
|
|
|
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
|
2016-04-21 17:00:51 +01:00
|
|
|
}
|