[bug#70496,10/14] gnu: font-recursive: Split outputs.
Commit Message
From: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/fonts.scm (font-recurive)[outputs]: New field.
[arguments]: New field. Add 'remove-separate-statics' phase.
Change-Id: I4ab81efb12ded417724ed103339dac0125110592
---
gnu/packages/fonts.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
@@ -3746,6 +3746,17 @@ (define-public font-recursive
(base32
"00ns6zwizp0wyxyrf7fxqmxm4gl7ygarxq1mj952h78q1rxdzjyb"))))
(build-system font-build-system)
+ ;; Default to ttf, which has "Rec Mono" for code and variable font.
+ (outputs '("out" "otf" "woff"))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'remove-separate-statics
+ (lambda _
+ ;; Prefer otc/ttc collection over those seperate files.
+ (delete-file-recursively
+ "Recursive_Desktop/separate_statics/"))))))
(home-page "https://www.recursive.design/")
(synopsis "Variable font family for code & UI")
(description "Recursive Sans & Mono is a variable type family built for