2d586b99cc
libkscreen provides a D-Bus service
32 lines
607 B
Nix
32 lines
607 B
Nix
{ plasmaPackage, extra-cmake-modules, kconfig, kconfigwidgets
|
|
, kdbusaddons, kglobalaccel, ki18n, kwidgetsaddons, kxmlgui
|
|
, libkscreen, makeQtWrapper, qtdeclarative
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "kscreen";
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
makeQtWrapper
|
|
];
|
|
buildInputs = [
|
|
kconfig
|
|
kconfigwidgets
|
|
kdbusaddons
|
|
kwidgetsaddons
|
|
kxmlgui
|
|
];
|
|
propagatedBuildInputs = [
|
|
kglobalaccel
|
|
ki18n
|
|
libkscreen
|
|
qtdeclarative
|
|
];
|
|
propagatedUserEnvPkgs = [
|
|
libkscreen # D-Bus service
|
|
];
|
|
postInstall = ''
|
|
wrapQtProgram "$out/bin/kscreen-console"
|
|
'';
|
|
}
|