From f27712acc75bbc9a4fbc9bd2a19b02599adf86d5 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 6 Jul 2024 13:03:06 +0800 Subject: 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 --- gnu/packages/kde-plasma.scm | 18 ++++++++++++++++-- 1 file 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 -- cgit v1.2.3