summaryrefslogtreecommitdiff
path: root/media-fonts/noto
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-16 11:14:48 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-16 11:14:48 -0500
commitad54d7d5f1e6b7815a502c14785aa3f77b6eafab (patch)
tree943698ac2bab7c147e60d385ea5892314a022d51 /media-fonts/noto
parentf6d7a774dbddc42f02a719648b1003f36d3c9c96 (diff)
downloadgentoo-overlay-ad54d7d5f1e6b7815a502c14785aa3f77b6eafab.tar.xz
gentoo-overlay-ad54d7d5f1e6b7815a502c14785aa3f77b6eafab.zip
media-fonts/noto: import/new
Diffstat (limited to 'media-fonts/noto')
-rw-r--r--media-fonts/noto/Manifest1
-rw-r--r--media-fonts/noto/files/66-noto-mono.conf16
-rw-r--r--media-fonts/noto/files/66-noto-sans.conf16
-rw-r--r--media-fonts/noto/files/66-noto-serif.conf16
-rw-r--r--media-fonts/noto/metadata.xml4
-rw-r--r--media-fonts/noto/noto-20211207.ebuild26
6 files changed, 79 insertions, 0 deletions
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest
new file mode 100644
index 0000000..83388dc
--- /dev/null
+++ b/media-fonts/noto/Manifest
@@ -0,0 +1 @@
+DIST noto-fonts-29aa92a9a0768be2d58cf4c590adb5c18b8247c6.tar.xz 14477024 BLAKE2B 10952ddeab1a1a1da93b95247ee31aa6587b13fc1e3ead1118ef4d2fb7a33a4d060df0c7a58454eb1bc195e2df5888d75af03a590dca6fc6ceafdf318eec5517 SHA512 43ee8ecadbd1861341be423934c92828ad9ceeeff5f4bf6077ddfc9e4141ffcca6e10e4bb02843c64195c1f14286226232938e913561989d514ff5f42b082c18
diff --git a/media-fonts/noto/files/66-noto-mono.conf b/media-fonts/noto/files/66-noto-mono.conf
new file mode 100644
index 0000000..21d6c36
--- /dev/null
+++ b/media-fonts/noto/files/66-noto-mono.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Noto Sans Mono</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Noto Sans Mono</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/noto/files/66-noto-sans.conf b/media-fonts/noto/files/66-noto-sans.conf
new file mode 100644
index 0000000..012aebe
--- /dev/null
+++ b/media-fonts/noto/files/66-noto-sans.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Noto Sans</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Noto Sans</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/noto/files/66-noto-serif.conf b/media-fonts/noto/files/66-noto-serif.conf
new file mode 100644
index 0000000..036baf7
--- /dev/null
+++ b/media-fonts/noto/files/66-noto-serif.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Noto Serif</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Noto Serif</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/noto/metadata.xml b/media-fonts/noto/metadata.xml
new file mode 100644
index 0000000..7c900b1
--- /dev/null
+++ b/media-fonts/noto/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/media-fonts/noto/noto-20211207.ebuild b/media-fonts/noto/noto-20211207.ebuild
new file mode 100644
index 0000000..86a15b8
--- /dev/null
+++ b/media-fonts/noto/noto-20211207.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit font
+
+DESCRIPTION="Google's font family that aims to support all the world's languages"
+HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlefonts/noto-fonts"
+
+COMMIT="29aa92a9a0768be2d58cf4c590adb5c18b8247c6"
+SRC_URI="https://www.alxu.ca/noto-fonts-${COMMIT}.tar.xz"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~*"
+IUSE=""
+
+S="${WORKDIR}/${PN}-fonts-${COMMIT}"
+
+FONT_SUFFIX="ttf"
+FONT_CONF=(
+ # From ArchLinux
+ "${FILESDIR}/66-noto-serif.conf"
+ "${FILESDIR}/66-noto-mono.conf"
+ "${FILESDIR}/66-noto-sans.conf"
+)