gnu: kiconthemes: Use gexp.

* gnu/packages/kde-frameworks.scm (kiconthemes): Use gexp.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
Petr Hodina 2022-09-27 02:10:46 +02:00 committed by Marius Bakke
parent 9206921aa3
commit 5922ceabde
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2563,16 +2563,17 @@ (define-public kiconthemes
qtdeclarative-5
qtsvg-5))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda* (#:key inputs #:allow-other-keys)
(setenv "XDG_DATA_DIRS"
(string-append (assoc-ref inputs "shared-mime-info")
"/share"))
(setenv "HOME" (getcwd))
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
(list #:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda* (#:key inputs #:allow-other-keys)
(setenv "XDG_DATA_DIRS"
(string-append #$(this-package-native-input
"shared-mime-info")
"/share"))
(setenv "HOME" (getcwd))
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Icon GUI utilities")
(description "This library contains classes to improve the handling of icons