From 0fdac03363e109d4eabe1d9ff26d2720ff1084e1 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sun, 21 Apr 2024 16:40:21 +0800 Subject: gnu: font-recursive: Split outputs. * 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(+) (limited to 'gnu') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 4b109527ca..e40f60c7a9 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -3815,6 +3815,17 @@ characters to form contiguous lines. It contains several fonts: (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 -- cgit v1.2.3