xfce.xfce4-settings: add integration with colord and fix upower

See #323010 and #323159.
This commit is contained in:
jobs62 2024-06-28 15:02:19 +00:00 committed by GitHub
parent 3901dc7822
commit 8b864a7078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,8 +9,11 @@
, libxfce4util
, libxklavier
, upower
, withUpower ? true
, xfconf
, xf86inputlibinput
, colord
, withColord ? true
}:
mkXfceDerivation {
@ -29,15 +32,18 @@ mkXfceDerivation {
libxfce4ui
libxfce4util
libxklavier
upower
xf86inputlibinput
xfconf
];
]
++ lib.optionals withUpower [ upower ]
++ lib.optionals withColord [ colord ];
configureFlags = [
"--enable-pluggable-dialogs"
"--enable-sound-settings"
];
]
++ lib.optionals withUpower [ "--enable-upower-glib" ]
++ lib.optionals withColord [ "--enable-colord" ];
meta = with lib; {
description = "Settings manager for Xfce";