[polari] flatpak: Include color emoji font



commit 3febd5251e2385bf1ca844636cdac9d3319ec285
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Aug 8 20:46:32 2017 +0200

    flatpak: Include color emoji font
    
    We want emoji support to work, independently from what fonts the user
    has installed on their system. So simply bundle an appropriate font
    and make sure fontconfig picks it up correctly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755579

 flatpak/org.gnome.Polari.json |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/org.gnome.Polari.json b/flatpak/org.gnome.Polari.json
index bfe8e19..f40d9c2 100644
--- a/flatpak/org.gnome.Polari.json
+++ b/flatpak/org.gnome.Polari.json
@@ -180,6 +180,25 @@
             ]
         },
         {
+            "name": "noto-emoji",
+            "buildsystem": "simple",
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/googlei18n/noto-emoji.git";
+                }
+            ],
+            "build-commands": [
+                "mkdir -p /app/share/fonts/google-noto-emoji",
+                "install -m 0644 fonts/*.ttf /app/share/fonts/google-noto-emoji"
+            ],
+            "cleanup-commands": [
+                "touch -d @0 /app/share/fonts",
+                "touch -d @0 /app/share/fonts/*",
+                "fc-cache -fs"
+            ]
+        },
+        {
             "name": "gspell",
             "config-opts": ["--disable-vala", "--disable-static"],
             "sources": [


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