2016-07-30 04:13:00 +02:00
|
|
|
{
|
2017-05-16 17:56:41 +02:00
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules, kdoctools,
|
2018-07-21 02:44:44 +02:00
|
|
|
baloo, baloo-widgets, kactivities, kbookmarks, kcmutils,
|
2021-05-11 21:35:50 +02:00
|
|
|
kcompletion, kconfig, kcoreaddons, kdbusaddons,
|
2016-07-30 23:16:36 +02:00
|
|
|
kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
|
2018-11-27 08:44:54 +01:00
|
|
|
kparts, ktexteditor, kwindowsystem, phonon, solid,
|
2021-01-31 17:17:53 +01:00
|
|
|
wayland, qtbase, qtwayland
|
2016-04-21 18:00:51 +02:00
|
|
|
}:
|
|
|
|
|
2017-05-16 17:56:41 +02:00
|
|
|
mkDerivation {
|
2020-12-25 00:05:07 +01:00
|
|
|
pname = "dolphin";
|
2017-05-16 17:56:41 +02:00
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
2021-01-31 17:17:53 +01:00
|
|
|
broken = lib.versionOlder qtbase.version "5.14";
|
2017-05-16 17:56:41 +02:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2019-09-22 23:36:14 +02:00
|
|
|
propagatedUserEnvPkgs = [ baloo ];
|
2017-05-16 17:56:41 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
|
2021-05-11 21:35:50 +02:00
|
|
|
kcoreaddons kdbusaddons kfilemetadata ki18n kiconthemes
|
2017-05-16 17:56:41 +02:00
|
|
|
kinit kio knewstuff knotifications kparts ktexteditor kwindowsystem
|
|
|
|
phonon solid
|
2018-11-27 08:44:54 +01:00
|
|
|
wayland qtwayland
|
2017-05-16 17:56:41 +02:00
|
|
|
];
|
2017-05-22 20:49:07 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
2018-08-20 13:44:05 +02: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 18:00:51 +02:00
|
|
|
}
|