diff mbox series

[meta-xfce,5/5] xfce4-power-manager: 4.18.2 -> 4.20.0

Message ID 20241217113434.2082270-5-kai.kang@windriver.com
State Accepted
Headers show
Series [meta-xfce,1/5] thunar: 4.19.0 -> 4.20.0 | expand

Commit Message

Kai Dec. 17, 2024, 11:34 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

Upgrade xfce4-power-manager from 4.18.2 to 4.20.0:

* remove configure option `--enable-network-manager` which has been
  removed from upstream
  https://gitlab.xfce.org/xfce/xfce4-power-manager/-/commit/cc9921a
* set variable GDBUS_CODEGEN for configure
* add PACKAGECONFIG wayland

The change log is at:

https://gitlab.xfce.org/xfce/xfce4-power-manager/-/blob/master/NEWS

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 ...r-manager_4.18.2.bb => xfce4-power-manager_4.20.0.bb} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-xfce/recipes-xfce/xfce4-power-manager/{xfce4-power-manager_4.18.2.bb => xfce4-power-manager_4.20.0.bb} (78%)
diff mbox series

Patch

diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.18.2.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb
similarity index 78%
rename from meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.18.2.bb
rename to meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb
index bb69f11e9..46f70e6e0 100644
--- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.18.2.bb
+++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb
@@ -11,15 +11,18 @@  REQUIRED_DISTRO_FEATURES = "x11"
 
 DEPENDS += "libnotify libxrandr virtual/libx11 libxext xfce4-panel upower libxscrnsaver"
 
-SRC_URI[sha256sum] = "e1608fd534b6b07529c0840ffc731cb93347ee6deb547a9933215b1816dcdf4d"
+SRC_URI[sha256sum] = "971391cef63352833bdd92df28957392e17e1f2b3d486c0f57294fd204d6ed29"
 
 EXTRA_OECONF = " \
-    --enable-network-manager \
+    GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
     --enable-panel-plugins \
 "
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \
+                   ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
+                   "
 PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
+PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native"
 
 PACKAGES += "xfce4-powermanager-plugin"