aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/kde-plasma.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-06 13:03:06 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:07 +0800
commitf27712acc75bbc9a4fbc9bd2a19b02599adf86d5 (patch)
treefae0fdb7899b96950e06209a31862f35ac97d679 /gnu/packages/kde-plasma.scm
parent57ac198c0e9cf97ecc62b3f063729b2058159b92 (diff)
downloadguix-f27712acc75bbc9a4fbc9bd2a19b02599adf86d5.tar.gz
guix-f27712acc75bbc9a4fbc9bd2a19b02599adf86d5.zip
gnu: plasma-disks: Update to 6.1.2.
* gnu/packages/kde-plasma.scm (plasma-disks): Update to 6.1.2. [inputs]: Add kcmutils. [arguments]: Set #:qtbase to qtbase. <#:phases>: Add set-smartctl-path phase. Change-Id: I50ff1af2094858b83209e82b638cf56295495cb4
Diffstat (limited to 'gnu/packages/kde-plasma.scm')
-rw-r--r--gnu/packages/kde-plasma.scm18
1 files changed, 16 insertions, 2 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index d2c881a458..f0a695ac49 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1849,7 +1849,7 @@ activities effectively, without being distracting.")
(define-public plasma-disks
(package
(name "plasma-disks")
- (version "5.27.7")
+ (version "6.1.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/"
@@ -1857,13 +1857,27 @@ activities effectively, without being distracting.")
version ".tar.xz"))
(sha256
(base32
- "0jwjv20ra1mhwl2cm7x2jz8pasmkc58fd57qxhzzf84l4sgbda9v"))))
+ "1rk8356fpy2vgfi79kz2xlkz032jb3cd9y6rsp9f875bik5j25hz"))))
(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
+ kcmutils
solid
kservice
kio