gnu: Add font-google-noto-emoji.

* gnu/packages/fonts.scm (font-google-noto-emoji): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Fredrik Salomonsson 2023-01-09 01:05:04 +00:00 committed by 宋文武
parent 3c075ffd82
commit f26c474dec
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -939,6 +939,37 @@ (define-public font-google-noto
display all Unicode symbols.")
(license license:silofl1.1)))
(define-public font-google-noto-emoji
(package
(name "font-google-noto-emoji")
(version "2.038")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googlefonts/noto-emoji")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1rgmcc6nqq805iqr8kvxxlk5cf50q714xaxk3ld6rjrd69kb8ix9"))))
(build-system font-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-unsupported
(lambda* _
(delete-file "fonts/NotoColorEmoji_WindowsCompatible.ttf")
(delete-file "fonts/Noto-COLRv1-noflags.ttf")
(delete-file "fonts/Noto-COLRv1.ttf"))))))
(home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji")
(synopsis "Font for rendering color emoji characters")
(description
"This package provides the color emoji font from the Google Noto font
family.")
(license license:silofl1.1)))
(define-public font-google-noto-sans-cjk
(package
(name "font-google-noto-sans-cjk")