2017-05-26 20:44:36 +00:00
|
|
|
{
|
2020-06-27 17:40:02 +00:00
|
|
|
mkDerivation, fetchpatch,
|
2017-05-26 20:44:36 +00:00
|
|
|
extra-cmake-modules, kdoctools,
|
2021-05-11 20:39:00 +00:00
|
|
|
bluez-qt, kactivities, kauth, kconfig, kdbusaddons,
|
2017-05-26 20:44:36 +00:00
|
|
|
kglobalaccel, ki18n, kidletime, kio, knotifyconfig, kwayland, libkscreen,
|
2022-05-08 18:29:29 +00:00
|
|
|
networkmanager-qt, plasma-workspace, qtx11extras, solid, udev
|
2016-07-10 09:33:21 +00:00
|
|
|
}:
|
|
|
|
|
2017-05-15 16:44:58 +00:00
|
|
|
mkDerivation {
|
2022-03-06 21:28:56 +00:00
|
|
|
pname = "powerdevil";
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2022-06-16 08:17:54 +00:00
|
|
|
patches = [
|
|
|
|
# Backported fix for https://bugs.kde.org/show_bug.cgi?id=454161
|
|
|
|
# FIXME: remove for next release
|
|
|
|
(fetchpatch {
|
|
|
|
name = "brightness-overflow-fix";
|
|
|
|
url = "https://invent.kde.org/plasma/powerdevil/-/commit/2ebe655d220c9167b66893a823b2fff2e2b8a531.patch";
|
|
|
|
sha256 = "sha256-Sf2q0CImLYjy1fTp9AWbCeRG05liUkemhfEXL/0MIQI=";
|
|
|
|
})
|
|
|
|
];
|
2017-05-26 20:44:36 +00:00
|
|
|
buildInputs = [
|
2016-07-10 09:33:21 +00:00
|
|
|
kconfig kdbusaddons knotifyconfig solid udev bluez-qt kactivities kauth
|
2021-05-11 20:39:00 +00:00
|
|
|
kglobalaccel ki18n kio kidletime kwayland libkscreen
|
2016-07-10 09:33:21 +00:00
|
|
|
networkmanager-qt plasma-workspace qtx11extras
|
|
|
|
];
|
|
|
|
}
|