xfce.xfce4-power-manager: 4.18.1 -> 4.18.2

https://gitlab.xfce.org/xfce/xfce4-power-manager/-/compare/xfce4-power-manager-4.18.1...xfce4-power-manager-4.18.2

- gio-unix-2.0 is now required upstream.
- Also dropped exo since we no longer run exo-csource during build.
This commit is contained in:
Bobby Rong 2023-05-31 14:13:52 +08:00
parent 4de1a60759
commit 64ef8aeabd
No known key found for this signature in database

View file

@ -1,21 +1,30 @@
{ lib, mkXfceDerivation, automakeAddFlags, exo, gtk3, libnotify { lib
, libxfce4ui, libxfce4util, upower, xfconf, xfce4-panel }: , mkXfceDerivation
, gtk3
, libnotify
, libxfce4ui
, libxfce4util
, upower
, xfconf
, xfce4-panel
}:
mkXfceDerivation { mkXfceDerivation {
category = "xfce"; category = "xfce";
pname = "xfce4-power-manager"; pname = "xfce4-power-manager";
version = "4.18.1"; version = "4.18.2";
sha256 = "sha256-H9tu94ZQLLQhXIDtIWL3qZJo/ux2xC2Y9m7uwwey8M8="; sha256 = "sha256-1+DP5CACzzj96FyRTeCdVEFORnpzFT49d9Uk1iijbFs=";
nativeBuildInputs = [ automakeAddFlags exo ]; buildInputs = [
buildInputs = [ gtk3 libnotify libxfce4ui libxfce4util upower xfconf xfce4-panel ]; gtk3
libnotify
postPatch = '' libxfce4ui
substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0 libxfce4util
automakeAddFlags src/Makefile.am xfce4_power_manager_CFLAGS GIO_CFLAGS upower
automakeAddFlags settings/Makefile.am xfce4_power_manager_settings_CFLAGS GIO_CFLAGS xfconf
''; xfce4-panel
];
meta = with lib; { meta = with lib; {
description = "A power manager for the Xfce Desktop Environment"; description = "A power manager for the Xfce Desktop Environment";