mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: kinfocenter: Update to 6.2.5.
* gnu/packages/kde-plasma.scm (kinfocenter): Update to 6.2.5. [inputs]: Add bash-minimal and fwupd. [arguments]<#:phases>: Adjust set-path phase. Change-Id: I37b1718d3dbeb97d0ff5f69f7695ed26963d7a4d * gnu/packages/kde-plasma.scm (kinfocenter): Update to 6.2.5. Change-Id: I18ae6638f49cab8a4ad903e7074d5b73ad494ebd
This commit is contained in:
parent
7473fba946
commit
ea80d51580
1 changed files with 21 additions and 6 deletions
|
@ -716,14 +716,14 @@ (define-public kglobalacceld
|
|||
(define-public kinfocenter
|
||||
(package
|
||||
(name "kinfocenter")
|
||||
(version "6.1.4")
|
||||
(version "6.2.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kde/stable/plasma/" version
|
||||
"/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1n904nn0jrrih9qk8cz2d2sp9pghr6qn0ra5jbbg2rpz4k1gv78p"))))
|
||||
"1yczcgq4rnfmg3g8sb83nym8jmglp0hwhyfwz24n29947bdpxn4y"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -742,7 +742,8 @@ (define-public kinfocenter
|
|||
(search-input-file
|
||||
inputs
|
||||
(string-append "/bin/" cmd))
|
||||
"\""))))))
|
||||
"\"")))))
|
||||
(dmidecode (search-input-file inputs "/sbin/dmidecode")))
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings")
|
||||
(search-input-file inputs
|
||||
|
@ -753,7 +754,20 @@ (define-public kinfocenter
|
|||
(substitute* "kcms/kwinsupportinfo/main.cpp"
|
||||
(("QLibraryInfo::path\\(QLibraryInfo::BinariesPath\\) \\+ QStringLiteral\\(\"/qdbus\"\\)")
|
||||
(string-append "QStringLiteral(\"" (search-input-file inputs "/bin/qdbus") "\")")))
|
||||
|
||||
(substitute* "kcms/memory/kcm_memory.json"
|
||||
(("pkexec dmidecode")
|
||||
(string-append
|
||||
"pkexec " dmidecode)))
|
||||
(substitute* "kcms/memory/main.cpp"
|
||||
(("dmidecode") dmidecode))
|
||||
(substitute* '("kcms/firmware_security/main.cpp"
|
||||
"kcms/firmware_security/fwupdmgr.sh"
|
||||
"kcms/firmware_security/kcm_firmware_security.json")
|
||||
(("aha") (search-input-file inputs "/bin/aha"))
|
||||
(("\"fwupdmgr\"") (string-append "\"" (search-input-file inputs "/bin/fwupdmgr") "\""))
|
||||
(("fwupdmgr security") (string-append (search-input-file inputs "/bin/fwupdmgr") " security"))
|
||||
(("sed") (search-input-file inputs "/bin/sed"))
|
||||
(("/bin/sh") (search-input-file inputs "/bin/sh")))
|
||||
(replace '("kcms/cpu/kcm_cpu.json"
|
||||
"kcms/cpu/main.cpp") "lscpu")
|
||||
(replace '("kcms/opencl/kcm_opencl.json"
|
||||
|
@ -771,8 +785,9 @@ (define-public kinfocenter
|
|||
(native-inputs (list aha extra-cmake-modules kdoctools pkg-config qttools))
|
||||
;; * vulkaninfo
|
||||
;; Wayland KCM
|
||||
(inputs (list dmidecode
|
||||
;; fwupdmgr ;; Packaged on master branch already
|
||||
(inputs (list bash-minimal
|
||||
dmidecode
|
||||
fwupd
|
||||
kauth
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
|
|
Loading…
Reference in a new issue