z572 pushed a commit to branch kde-team
in repository guix.
commit 3a8c4d2509c9eae4aa50336b52d9d09e41ae4a86
Author: Zheng Junjie <[email protected]>
AuthorDate: Thu May 2 23:56:12 2024 +0800
gnu: plasma-disks: Update to 6.0.4.
* gnu/packages/kde-plasma.scm (plasma-disks): Update to 6.0.4.
[arguments]: Set #:qtbase to qtbase.
<#:phases>: Add set-smartctl-path phase.
[inputs]: Add kcmutils-6. Use kcoreaddons-6, kdbusaddons-6,
knotifications-6,
ki18n-6, solid-6, kservice-6, kio-6, kauth-6 and kdeclarative-6 replace
kcoreaddons, kdbusaddons, knotifications, ki18n, solid, kservice, kio, kauth
and kdeclarative.
Change-Id: I50d6fbbea48bb47362663f6cb8077c21c7cc6f13
---
gnu/packages/kde-plasma.scm | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 1d299e9299..dcaf901586 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1859,7 +1859,7 @@ activities effectively, without being distracting.")
(define-public plasma-disks
(package
(name "plasma-disks")
- (version "5.27.7")
+ (version "6.0.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/"
@@ -1867,18 +1867,32 @@ activities effectively, without being distracting.")
version ".tar.xz"))
(sha256
(base32
- "0jwjv20ra1mhwl2cm7x2jz8pasmkc58fd57qxhzzf84l4sgbda9v"))))
+ "1h2grn3pydphgz8zk8crv1za6010s3r18xgh5v56w5630cimsbzx"))))
(build-system qt-build-system)
+ (arguments (list
+ #:qtbase qtbase
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-smartctl-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/helper.cpp"
+ (("\"smartctl\"")
+ (string-append
+ "\""
+ (search-input-file
+ inputs "/sbin/smartctl")
+ "\""))))))))
(native-inputs (list extra-cmake-modules))
- (inputs (list kcoreaddons
- kdbusaddons
- knotifications
- ki18n
- solid
- kservice
- kio
- kauth
- kdeclarative
+ (inputs (list kcoreaddons-6
+ kdbusaddons-6
+ knotifications-6
+ ki18n-6
+ kcmutils-6
+ solid-6
+ kservice-6
+ kio-6
+ kauth-6
+ kdeclarative-6
smartmontools))
(synopsis "Monitors S.M.A.R.T. capable devices for imminent failure")
(description "This package provides interface to S.M.A.R.T. data of
disks.")