Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
xfce4-power-manager


Commits:
0e5e0ee9 by Robin Candau at 2024-12-19T20:28:51+01:00
upgpkg: 4.20.0-2: Rebuild with Wayland support

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = xfce4-power-manager
        pkgdesc = Power Manager for Xfce
        pkgver = 4.20.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/xfce/xfce4-power-manager/start
        arch = x86_64
        groups = xfce4
@@ -11,12 +11,15 @@ pkgbase = xfce4-power-manager
        makedepends = intltool
        makedepends = xfce4-dev-tools
        makedepends = xfce4-panel
+       makedepends = wayland-protocols
        depends = libxfce4ui
        depends = upower
        depends = libnotify
        depends = xfce4-notifyd
        depends = hicolor-icon-theme
        source = 
git+https://gitlab.xfce.org/xfce/xfce4-power-manager.git#tag=xfce4-power-manager-4.20.0
+       source = git+https://gitlab.freedesktop.org/wlroots/wlr-protocols.git
        sha256sums = 
9798ac882a57b1752295d06151104b84741820d665dd0eab734279089bd912aa
+       sha256sums = SKIP
 
 pkgname = xfce4-power-manager


=====================================
PKGBUILD
=====================================
@@ -4,19 +4,26 @@
 
 pkgname=xfce4-power-manager
 pkgver=4.20.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Power Manager for Xfce"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/xfce4-power-manager/start";
 license=('GPL-2.0-or-later')
 groups=('xfce4')
 depends=('libxfce4ui' 'upower' 'libnotify' 'xfce4-notifyd' 
'hicolor-icon-theme')
-makedepends=('git' 'glib2-devel' 'intltool' 'xfce4-dev-tools' 'xfce4-panel')
-source=("git+https://gitlab.xfce.org/xfce/xfce4-power-manager.git#tag=$pkgname-$pkgver";)
-sha256sums=('9798ac882a57b1752295d06151104b84741820d665dd0eab734279089bd912aa')
+makedepends=('git' 'glib2-devel' 'intltool' 'xfce4-dev-tools' 'xfce4-panel' 
'wayland-protocols')
+source=("git+https://gitlab.xfce.org/xfce/xfce4-power-manager.git#tag=$pkgname-$pkgver";
+        git+https://gitlab.freedesktop.org/wlroots/wlr-protocols.git)
+sha256sums=('9798ac882a57b1752295d06151104b84741820d665dd0eab734279089bd912aa'
+            'SKIP')
 
 prepare() {
   cd $pkgname
+
+  git submodule init
+  git config submodule.mate-submodules.url "$srcdir/protocols/wlr-protocols"
+  git -c protocol.file.allow=always submodule update
+
   NOCONFIGURE=1 ./autogen.sh
 }
 
@@ -27,6 +34,8 @@ build() {
     --sysconfdir=/etc \
     --sbindir=/usr/bin \
     --localstatedir=/var \
+    --enable-x11 \
+    --enable-wayland \
     --disable-network-manager \
     --enable-polkit \
     --disable-debug \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-power-manager/-/commit/0e5e0ee9e3bd2dfbf3e932d92a3bed07ddbe1fe9

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-power-manager/-/commit/0e5e0ee9e3bd2dfbf3e932d92a3bed07ddbe1fe9
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to