diff options
author | Boris A. Dekshteyn <boris.dekshteyn@gmail.com> | 2021-06-15 01:31:13 +1200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-06-21 08:46:50 +0300 |
commit | 3a67aafc557f37c7c224149168d7db77acfc1a37 (patch) | |
tree | 1a0d5ce69993d5e2992b88f91f21a131cc065e63 /gnu/packages/fonts.scm | |
parent | 8b9b707674bf0ad11e0d773ec6939685900f9683 (diff) | |
download | guix-3a67aafc557f37c7c224149168d7db77acfc1a37.tar.gz guix-3a67aafc557f37c7c224149168d7db77acfc1a37.zip |
gnu: font-terminus: Build Open Type Bitmap.
* gnu/packages/fonts.scm (font-terminus)[outputs]: Add otb.
[arguments]: Add 'build-otb, 'install-otb phases.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r-- | gnu/packages/fonts.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 4d57bbd514..9297256f8e 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -426,7 +426,7 @@ The unified Libertinus family consists of: (sha256 (base32 "0yggffiplk22lgqklfmd2c0rw8gwchynjh5kz4bz8yv2h6vw2qfr")))) (build-system gnu-build-system) - (outputs (list "out" "pcf-8bit")) + (outputs (list "out" "pcf-8bit" "otb")) (arguments `(#:tests? #f ; no test target in tarball #:phases @@ -441,6 +441,15 @@ The unified Libertinus family consists of: (let ((pcf-8bit (assoc-ref outputs "pcf-8bit"))) (apply invoke "make" "install-pcf-8bit" (string-append "prefix=" pcf-8bit) + make-flags)))) + (add-after 'build-more-bits 'build-otb + ;; Build Open Type Bitmap + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "otb" make-flags))) + (add-after 'install 'install-otb + (lambda* (#:key make-flags outputs #:allow-other-keys) + (let ((otb (assoc-ref outputs "otb"))) + (apply invoke "make" "install-otb" (string-append "prefix=" otb) make-flags))))))) (native-inputs `(("bdftopcf" ,bdftopcf) |