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>
This commit is contained in:
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

View File

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