[arch-commits] Commit in noto-fonts-emoji/repos/extra-any (3 files)

Antonio Rojas arojas at archlinux.org
Thu Feb 13 11:00:02 UTC 2020


    Date: Thursday, February 13, 2020 @ 11:00:01
  Author: arojas
Revision: 375525

archrelease: copy trunk to extra-any

Added:
  noto-fonts-emoji/repos/extra-any/66-noto-color-emoji.conf
    (from rev 375524, noto-fonts-emoji/trunk/66-noto-color-emoji.conf)
  noto-fonts-emoji/repos/extra-any/PKGBUILD
    (from rev 375524, noto-fonts-emoji/trunk/PKGBUILD)
Deleted:
  noto-fonts-emoji/repos/extra-any/PKGBUILD

--------------------------+
 66-noto-color-emoji.conf |   16 +++++++++++++++
 PKGBUILD                 |   47 +++++++++++++++++++++++++--------------------
 2 files changed, 43 insertions(+), 20 deletions(-)

Copied: noto-fonts-emoji/repos/extra-any/66-noto-color-emoji.conf (from rev 375524, noto-fonts-emoji/trunk/66-noto-color-emoji.conf)
===================================================================
--- 66-noto-color-emoji.conf	                        (rev 0)
+++ 66-noto-color-emoji.conf	2020-02-13 11:00:01 UTC (rev 375525)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+
+<!--
+Set Noto Color Emoji as fallback for Noto family
+-->
+
+<fontconfig>
+    <match>
+        <test name="family" compare="contains"><string>Noto </string></test>
+        <edit name="family" mode="append" binding="strong">
+            <string>Noto Color Emoji</string>
+        </edit>
+    </match>
+</fontconfig>
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 10:59:30 UTC (rev 375524)
+++ PKGBUILD	2020-02-13 11:00:01 UTC (rev 375525)
@@ -1,20 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=noto-fonts-emoji
-pkgver=20191016
-_commit=f3b9faa83dedf51cd4d9d8ff30e13c17b8073211
-pkgrel=1
-pkgdesc="Google Noto emoji fonts"
-arch=(any)
-url="https://www.google.com/get/noto/"
-license=(custom:OFL)
-provides=(emoji-font)
-source=($pkgname-$pkgver.zip::"https://github.com/googlei18n/noto-emoji/archive/$_commit.zip")
-sha256sums=('50d3ae08c7ca4718774d6b04d50d788c7b6b858220792a2fc69ef9c24ed092c5')
-
-package() {
-  cd noto-emoji-*
-  mkdir -p "$pkgdir"/usr/share/fonts/noto
-  install -m644 fonts/NotoColorEmoji.ttf "$pkgdir"/usr/share/fonts/noto
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: noto-fonts-emoji/repos/extra-any/PKGBUILD (from rev 375524, noto-fonts-emoji/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 11:00:01 UTC (rev 375525)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=noto-fonts-emoji
+pkgver=20191016
+_commit=f3b9faa83dedf51cd4d9d8ff30e13c17b8073211
+pkgrel=2
+pkgdesc="Google Noto emoji fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(custom:OFL)
+provides=(emoji-font)
+source=($pkgname-$pkgver.zip::"https://github.com/googlei18n/noto-emoji/archive/$_commit.zip"
+        66-noto-color-emoji.conf)
+sha256sums=('50d3ae08c7ca4718774d6b04d50d788c7b6b858220792a2fc69ef9c24ed092c5'
+            '7e816e155744230a678dc4c5dc18d8ac0deb58804f67edc6c3b1d28e24743297')
+
+package() {
+  cd noto-emoji-*
+  mkdir -p "$pkgdir"/usr/share/fonts/noto
+  install -m644 fonts/NotoColorEmoji.ttf "$pkgdir"/usr/share/fonts/noto
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+# Install fontconfig files
+  mkdir -p "$pkgdir"/etc/fonts/conf.{avail,d}
+  install -m644 "$srcdir"/66-noto-color-emoji.conf -t "$pkgdir"/etc/fonts/conf.avail/
+  ln -rs "$pkgdir"/etc/fonts/conf.avail/* "$pkgdir"/etc/fonts/conf.d
+}



More information about the arch-commits mailing list