me
/
guix
Archived
1
0
Fork 0

gnu: plasma-framework: Use G-expressions.

* gnu/packages/kde-frameworks.scm (plasma-framework)[arguments]:
Rewrite as G-expressions.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
master
Zheng Junjie 2023-07-14 00:34:29 +08:00 committed by 宋文武
parent 9076e5421a
commit 7f300c37de
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 14 additions and 12 deletions

View File

@ -3363,18 +3363,20 @@ setUrl, setUserAgent and call.")
qtx11extras qtx11extras
solid)) solid))
(arguments (arguments
`(#:phases (list #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(setenv "HOME" (getcwd)) (setenv "HOME"
(setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail (getcwd))
(invoke "ctest" "-E" (string-append "(plasma-dialogstatetest" (setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail
"|plasma-iconitemtest" (invoke "ctest" "-E"
"|plasma-themetest" (string-append "(plasma-dialogstatetest"
"|iconitemhidpitest" "|plasma-iconitemtest"
"|dialognativetest)")))))))) "|plasma-themetest"
"|iconitemhidpitest"
"|dialognativetest)"))))))))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "Libraries, components and tools of Plasma workspaces") (synopsis "Libraries, components and tools of Plasma workspaces")
(description "The plasma framework provides QML components, libplasma and (description "The plasma framework provides QML components, libplasma and