me
/
guix
Archived
1
0
Fork 0

gnu: libksysguard: Remove reference to '%outputs'.

* gnu/packages/kde-plasma.scm (libksysguard)[arguments]: Remove
reference to '%outputs' and use gexps.
master
Ludovic Courtès 2021-11-27 11:35:30 +01:00
parent 7fa47c0716
commit 54b0b96c5b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 17 additions and 15 deletions

View File

@ -25,6 +25,7 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix gexp)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
@ -269,21 +270,22 @@ basic needs and easy to configure for those who want special setups.")
("zlib" ,zlib))) ("zlib" ,zlib)))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
`(#:configure-flags (list #:configure-flags
`(,(string-append "-DKDE_INSTALL_DATADIR=" #~`(,(string-append "-DKDE_INSTALL_DATADIR="
(assoc-ref %outputs "out") "/share")) #$output "/share"))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'configure 'patch-cmakelists (add-before 'configure 'patch-cmakelists
(lambda _ (lambda _
;; TODO: Verify: This should no longer be necessary, since ;; TODO: Verify: This should no longer be necessary, since
;; KF5AuthConfig.cmake.in contains this already. ;; KF5AuthConfig.cmake.in contains this already.
(substitute* "processcore/CMakeLists.txt" (substitute* "processcore/CMakeLists.txt"
(("KAUTH_HELPER_INSTALL_DIR") "KDE_INSTALL_LIBEXECDIR")))) (("KAUTH_HELPER_INSTALL_DIR")
(replace 'check "KDE_INSTALL_LIBEXECDIR"))))
(lambda _ (replace 'check
;; TODO: Fix this failing test-case (lambda _
(invoke "ctest" "-E" "processtest")))))) ;; TODO: Fix this failing test-case
(invoke "ctest" "-E" "processtest"))))))
(home-page "https://userbase.kde.org/KSysGuard") (home-page "https://userbase.kde.org/KSysGuard")
(synopsis "Network enabled task and system monitoring") (synopsis "Network enabled task and system monitoring")
(description "KSysGuard can obtain information on system load and (description "KSysGuard can obtain information on system load and