summary refs log tree commit diff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-06 14:49:52 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:09 +0800
commit3a422dd4173ad628f72fb459d5372986f3bbdd7c (patch)
treeaa8050e0087fe40aa77e4c27ad916e7c795db715
parent47e39b16692217658d8f46990b376e4fd857340c (diff)
downloadguix-3a422dd4173ad628f72fb459d5372986f3bbdd7c.tar.gz
gnu: powerdevil: Update to 6.1.2.
* gnu/packages/kde-plasma.scm (powerdevil): Update to 6.1.2.
[inputs]: Remove kactivities and qtx11extras; add plasma-activities, kxmlgui,
kitemmodels, layer-shell-qt, and libxkbcommon.
[native-inputs]: Remove qttools-5; add qttools.
[arguments]: Set #:qtbase to qtbase; Add setenv phase.

Change-Id: Ic5cdd9ccf3fc3ec24864156cc3d63cea380d169d
-rw-r--r--gnu/packages/kde-plasma.scm18
1 files changed, 13 insertions, 5 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 155160a036..41e8d4a893 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -2826,25 +2826,28 @@ UI for Plasma")
 (define-public powerdevil
   (package
     (name "powerdevil")
-    (version "5.27.7")
+    (version "6.1.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://kde/stable/plasma/" version
                                   "/" name "-" version ".tar.xz"))
               (sha256
                (base32
-                "151qhpf5j33jk3jhhxsr4zaf0z3f8xlnw8inmzf2a8lficiq9060"))))
+                "052hv22ps90sm44wrdf5f4x2iz633nypl75xjwv257pn6ravia6l"))))
     (build-system qt-build-system)
-    (native-inputs (list extra-cmake-modules qttools-5 pkg-config))
+    (native-inputs (list extra-cmake-modules qttools pkg-config))
     (inputs (list bluez-qt
                   glib
                   kauth
-                  kactivities
+                  plasma-activities
                   kcmutils
                   kscreen
                   kidletime
                   kconfig
                   kdbusaddons
+                  kxmlgui
+                  kitemmodels
+                  layer-shell-qt
                   solid
                   ki18n
                   kcrash
@@ -2861,7 +2864,12 @@ UI for Plasma")
                   network-manager
                   plasma-workspace
                   eudev
-                  qtx11extras))
+                  libxkbcommon))
+    (arguments (list #:qtbase qtbase
+                     #:phases #~(modify-phases %standard-phases
+                                  (add-before 'check 'setenv
+                                    (lambda _
+                                      (setenv "HOME" (getcwd)))))))
     (synopsis "Manage power consumption")
     (description "This package provides the power consumption settings
 of a Plasma shell.")