gnu: terminology: Update build.

* gnu/packages/enlightenment.scm (terminology)[arguments]: Add to
configure-flags.  Add custom 'set-home-directory phase.
This commit is contained in:
Efraim Flashner 2019-05-08 19:44:35 +03:00
parent 3ec29587b5
commit 944bdb2afe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -203,7 +203,10 @@ (define-public terminology
#t))))
(build-system meson-build-system)
(arguments
`(#:configure-flags '("-Dtests=true")
`(#:configure-flags (list "-Dtests=true"
(string-append "-Dedje-cc="
(assoc-ref %build-inputs "efl")
"/bin/edje_cc"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-home-directory
@ -286,6 +289,7 @@ (define-public enlightenment
(modify-phases %standard-phases
(add-before 'configure 'set-system-actions
(lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" "/tmp")
(let ((xkeyboard (assoc-ref inputs "xkeyboard-config"))
(setxkbmap (assoc-ref inputs "setxkbmap"))
(utils (assoc-ref inputs "util-linux"))