gnu: emacs-next: Add harfbuzz (text shaping engine) to inputs.

* gnu/packages/emacs.scm (emacs-next)[inputs]: Add harfbuzz.
[arguments]: Enable harfbuzz in #:configure-flags.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Alexey Abramov 2020-01-29 18:05:55 +01:00 committed by Marius Bakke
parent 2f6ad77b2f
commit 5b8a60ff5d
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -290,6 +290,8 @@ languages.")
#t)))) #t))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments emacs) (substitute-keyword-arguments (package-arguments emacs)
((#:configure-flags flags)
`(cons* "--with-harfbuzz" ,flags))
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases `(modify-phases ,phases
;; The 'reset-gzip-timestamps phase will throw a ;; The 'reset-gzip-timestamps phase will throw a
@ -318,6 +320,7 @@ languages.")
#t))))))) #t)))))))
(inputs (inputs
`(("jansson" ,jansson) `(("jansson" ,jansson)
("harfbuzz" ,harfbuzz)
,@(package-inputs emacs))) ,@(package-inputs emacs)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) ; needed when building from trunk `(("autoconf" ,autoconf) ; needed when building from trunk