diff options
author | Zheng Junjie <873216071@qq.com> | 2023-07-12 23:10:21 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-08-02 22:27:40 +0800 |
commit | 78a38c5e54819235f70fbecc03138cd9c275a28d (patch) | |
tree | 0a6529b91e742837924accbaf60ceb10b24a7a4a /gnu/packages/kde-frameworks.scm | |
parent | f8c39387554135b6314eaa2a4f99c6e3e7d510ce (diff) |
gnu: kimageformats: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kimageformats)[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 | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index c28cf94b82..1dd1319c6f 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1811,29 +1811,31 @@ by applications to write metadata.") openexr-2 ; for OpenEXR high dynamic-range images qtbase-5)) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - (setenv "QT_PLUGIN_PATH" - (string-append (getcwd) "/bin:" - (getenv "QT_PLUGIN_PATH"))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "HOME" (getcwd)) - ;; FIXME: I guess kde's qt no this fail. - ;; see https://invent.kde.org/frameworks/kimageformats/-/jobs/1046283 - (invoke "ctest" "-E" "kimageformats-read-psd"))))) - ;; FIXME: The header files of ilmbase (propagated by openexr) are not - ;; found when included by the header files of openexr, and an explicit - ;; flag needs to be set. - #:configure-flags - (list (string-append "-DCMAKE_CXX_FLAGS=-I" - (assoc-ref %build-inputs "ilmbase") - "/include/OpenEXR")))) + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + ;; make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + (setenv "QT_PLUGIN_PATH" + (string-append (getcwd) "/bin:" + (getenv "QT_PLUGIN_PATH"))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" + (getcwd)) + ;; FIXME: I guess kde's qt no this fail. + ;; see https://invent.kde.org/frameworks/kimageformats/-/jobs/1046283 + (invoke "ctest" "-E" "kimageformats-read-psd"))))) + ;; FIXME: The header files of ilmbase (propagated by openexr) are not + ;; found when included by the header files of openexr, and an explicit + ;; flag needs to be set. + #:configure-flags #~(list (string-append "-DCMAKE_CXX_FLAGS=-I" + (assoc-ref %build-inputs + "ilmbase") + "/include/OpenEXR")))) (home-page "https://community.kde.org/Frameworks") (synopsis "Plugins to allow QImage to support extra file formats") (description "This framework provides additional image format plugins for |