diff options
author | Zheng Junjie <873216071@qq.com> | 2023-07-13 22:23:28 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-08-02 22:27:40 +0800 |
commit | 013a7a8cf34fd9a118ecf5510f9de11146862a92 (patch) | |
tree | 2a5cfd795d0d33cdd0ca79baa6d121002d1323fc /gnu/packages/kde-frameworks.scm | |
parent | 78785cbd3f1cd3616e370430c5f9f7d53b19350e (diff) |
gnu: kdeclarative: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kdeclarative)[arguments]:
Rewrite as G-expressions.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 6e165a392c..88d9eda7bb 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -2338,22 +2338,24 @@ their settings.") qtdeclarative-5 solid)) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'start-xorg-server - (lambda* (#:key inputs #:allow-other-keys) - ;; The test suite requires a running X server, setting - ;; QT_QPA_PLATFORM=offscreen does not suffice. - (system "Xvfb :1 -screen 0 640x480x24 &") - (setenv "DISPLAY" ":1"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "HOME" (getcwd)) - (setenv "XDG_RUNTIME_DIR" (getcwd)) - (setenv "QT_QPA_PLATFORM" "offscreen") - (setenv "DBUS_FATAL_WARNINGS" "0") - (invoke "dbus-launch" "ctest"))))))) + (list #:phases + #~(modify-phases %standard-phases + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server, setting + ;; QT_QPA_PLATFORM=offscreen does not suffice. + (system "Xvfb :1 -screen 0 640x480x24 &") + (setenv "DISPLAY" ":1"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" + (getcwd)) + (setenv "XDG_RUNTIME_DIR" + (getcwd)) + (setenv "QT_QPA_PLATFORM" "offscreen") + (setenv "DBUS_FATAL_WARNINGS" "0") + (invoke "dbus-launch" "ctest"))))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Integration of QML and KDE work spaces") (description "KDeclarative provides integration of QML and KDE work spaces. |