2016-08-04 16:07:17 +02:00
|
|
|
{
|
2020-12-05 20:34:39 +01:00
|
|
|
mkDerivation, lib,
|
2017-02-26 13:49:15 +01:00
|
|
|
extra-cmake-modules, kdoctools,
|
2020-12-05 20:34:39 +01:00
|
|
|
qtbase,
|
2016-08-04 16:07:17 +02:00
|
|
|
kcmutils, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
|
2021-05-07 17:55:02 +02:00
|
|
|
kdeclarative, ki18n, kiconthemes, kio, kirigami2, kpackage, kservice,
|
|
|
|
kwayland, kwidgetsaddons, kxmlgui, solid, systemsettings,
|
|
|
|
libraw1394, libGLU, pciutils,
|
2016-04-21 18:01:22 +02:00
|
|
|
}:
|
|
|
|
|
2017-05-15 18:44:58 +02:00
|
|
|
mkDerivation {
|
2022-03-06 22:28:56 +01:00
|
|
|
pname = "kinfocenter";
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-05-22 20:49:07 +02:00
|
|
|
buildInputs = [
|
2016-08-04 16:07:17 +02:00
|
|
|
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
|
2021-05-07 17:55:02 +02:00
|
|
|
kdeclarative ki18n kiconthemes kio kirigami2 kpackage kservice kwayland
|
|
|
|
kwidgetsaddons kxmlgui solid systemsettings
|
|
|
|
|
|
|
|
libraw1394 libGLU pciutils
|
2016-04-21 18:01:22 +02:00
|
|
|
];
|
2021-01-03 23:24:59 +01:00
|
|
|
preFixup = ''
|
2021-05-07 17:55:02 +02:00
|
|
|
# fix wrong symlink of infocenter pointing to a 'systemsettings5' binary in
|
|
|
|
# the same directory, while it is actually located in a completely different
|
|
|
|
# store path
|
2021-01-03 23:24:59 +01:00
|
|
|
ln -sf ${lib.getBin systemsettings}/bin/systemsettings5 $out/bin/kinfocenter
|
|
|
|
'';
|
2016-04-21 18:01:22 +02:00
|
|
|
}
|