2015-11-22 15:31:42 +00:00
|
|
|
{ plasmaPackage, extra-cmake-modules, kconfig, kconfigwidgets
|
|
|
|
, kdbusaddons, kglobalaccel, ki18n, kwidgetsaddons, kxmlgui
|
2016-01-12 14:52:02 +00:00
|
|
|
, libkscreen, makeQtWrapper, qtdeclarative, qtgraphicaleffects
|
2015-11-22 15:31:42 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
plasmaPackage {
|
|
|
|
name = "kscreen";
|
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
makeQtWrapper
|
|
|
|
];
|
|
|
|
buildInputs = [
|
2015-12-09 22:19:37 +00:00
|
|
|
kconfig
|
|
|
|
kconfigwidgets
|
|
|
|
kdbusaddons
|
|
|
|
kwidgetsaddons
|
|
|
|
kxmlgui
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
kglobalaccel
|
|
|
|
ki18n
|
|
|
|
libkscreen
|
|
|
|
qtdeclarative
|
2016-01-12 14:52:02 +00:00
|
|
|
qtgraphicaleffects
|
2015-12-09 22:19:37 +00:00
|
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
libkscreen # D-Bus service
|
2016-01-12 14:52:02 +00:00
|
|
|
qtdeclarative # QML import
|
|
|
|
qtgraphicaleffects # QML import
|
2015-11-22 15:31:42 +00:00
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/kscreen-console"
|
|
|
|
'';
|
|
|
|
}
|