gnu: font-google-noto-emoji: Update to 2.042.

* gnu/packages/fonts.scm (font-google-noto-emoji): Update to 2.042.
[arguments]<#:phases>: Remove 'remove-unsupported.
Replace install phase instead.

Change-Id: I76cfbf3f8d34c484ed59b99969da7d93aaf41d72
This commit is contained in:
Hilton Chain 2024-02-27 20:23:55 +08:00
parent 954ff7b302
commit 91f4193e74
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1147,7 +1147,7 @@ (define (install-font font)
(define-public font-google-noto-emoji (define-public font-google-noto-emoji
(package (package
(name "font-google-noto-emoji") (name "font-google-noto-emoji")
(version "2.038") (version "2.042")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1157,7 +1157,7 @@ (define-public font-google-noto-emoji
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1rgmcc6nqq805iqr8kvxxlk5cf50q714xaxk3ld6rjrd69kb8ix9")))) "17i7awyqz9jv0j2blcf0smmpas375c3pdhjv1zqzl861g8qm1lm2"))))
(build-system font-build-system) (build-system font-build-system)
(arguments (arguments
(list (list
@ -1167,11 +1167,10 @@ (define-public font-google-noto-emoji
(lambda _ (lambda _
;; Note this ensures the correct license file is installed. ;; Note this ensures the correct license file is installed.
(chdir "fonts"))) (chdir "fonts")))
(add-after 'enter-font-directory 'remove-unsupported (replace 'install
(lambda* _ (lambda _
(delete-file "NotoColorEmoji_WindowsCompatible.ttf") (let ((dir (string-append #$output "/share/fonts/truetype")))
(delete-file "Noto-COLRv1-noflags.ttf") (install-file "NotoColorEmoji.ttf" dir)))))))
(delete-file "Noto-COLRv1.ttf"))))))
(home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji") (home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji")
(synopsis "Font for rendering color emoji characters") (synopsis "Font for rendering color emoji characters")
(description (description