gnu: font-google-noto-emoji: Install correct license file.

* gnu/packages/fonts.scm (font-google-noto-emoji)[arguments]<#:phases>: Add
"enter-font-directory" phase; remove now-superfluous prefix from paths in
"remove-unsupported" phase.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Simon South 2023-02-02 15:25:00 -05:00 committed by Christopher Baines
parent 48cda62fb0
commit 9a4dd01f1d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -982,11 +982,15 @@ (define-public font-google-noto-emoji
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-unsupported
(add-after 'unpack 'enter-font-directory
(lambda _
;; Note this ensures the correct license file is installed.
(chdir "fonts")))
(add-after 'enter-font-directory 'remove-unsupported
(lambda* _
(delete-file "fonts/NotoColorEmoji_WindowsCompatible.ttf")
(delete-file "fonts/Noto-COLRv1-noflags.ttf")
(delete-file "fonts/Noto-COLRv1.ttf"))))))
(delete-file "NotoColorEmoji_WindowsCompatible.ttf")
(delete-file "Noto-COLRv1-noflags.ttf")
(delete-file "Noto-COLRv1.ttf"))))))
(home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji")
(synopsis "Font for rendering color emoji characters")
(description