guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add font-google-noto-emoji.


From: guix-commits
Subject: branch master updated: gnu: Add font-google-noto-emoji.
Date: Fri, 27 Jan 2023 21:55:28 -0500

This is an automated email from the git hooks/post-receive script.

iyzsong pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f26c474dec gnu: Add font-google-noto-emoji.
f26c474dec is described below

commit f26c474dec2d3a32e2c5c9f869300faebffbfb01
Author: Fredrik Salomonsson <plattfot@posteo.net>
AuthorDate: Mon Jan 9 01:05:04 2023 +0000

    gnu: Add font-google-noto-emoji.
    
    * gnu/packages/fonts.scm (font-google-noto-emoji): New variable.
    
    Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
 gnu/packages/fonts.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 95e99d5a73..8bf88c403b 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -939,6 +939,37 @@ all languages with a consistent look and aesthetic.  Its 
goal is to properly
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]