summaryrefslogtreecommitdiff
path: root/media-fonts/noto
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/noto')
-rw-r--r--media-fonts/noto/Manifest5
-rw-r--r--media-fonts/noto/noto-20211207.ebuild26
-rw-r--r--media-fonts/noto/noto-20231001.ebuild38
3 files changed, 42 insertions, 27 deletions
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest
index 83388dc..7013cb3 100644
--- a/media-fonts/noto/Manifest
+++ b/media-fonts/noto/Manifest
@@ -1 +1,4 @@
-DIST noto-fonts-29aa92a9a0768be2d58cf4c590adb5c18b8247c6.tar.xz 14477024 BLAKE2B 10952ddeab1a1a1da93b95247ee31aa6587b13fc1e3ead1118ef4d2fb7a33a4d060df0c7a58454eb1bc195e2df5888d75af03a590dca6fc6ceafdf318eec5517 SHA512 43ee8ecadbd1861341be423934c92828ad9ceeeff5f4bf6077ddfc9e4141ffcca6e10e4bb02843c64195c1f14286226232938e913561989d514ff5f42b082c18
+DIST NotoSans-Italic[wdth,wght]-8bcb8b16321f305a4fca87dcbdef453e19dfc987.ttf 2675320 BLAKE2B 763c2562ae44c74cd3889c9e9b222f5e8136d33c2382f9e2a4710a73d2f4675e49e30912458234bd7d799f9774fb7493dcd37b11bb7e84afa8efe1c21f59f448 SHA512 6c0a5a85f8ef0cdebd8d64b221f6fbfe1aff85ad21d518e8bc0acb8c59e78de495d58b013df53a9a26f6bbb056ee3876692308cdc9cf2459c5719387ece0e044
+DIST NotoSans[wdth,wght]-8bcb8b16321f305a4fca87dcbdef453e19dfc987.ttf 2493792 BLAKE2B a2c8904c841d553d129cc57f7b35828034f9825c7fb63929f7bfbc889c7ecebc16009d5b39c5d79b69addf2226d10f2eb4979a479857130ee5dd3b9cdc2ff968 SHA512 a4ebea5ec83d554b35bca70ac22a077a19dd41cafe0a23622ade62a278b4a5a8d9f3b453945bc128f2a27469f8d287c669a77a8aad5d9cb93bde5a20e76dc5cc
+DIST NotoSerif-Italic[wdth,wght]-8bcb8b16321f305a4fca87dcbdef453e19dfc987.ttf 2448496 BLAKE2B 853301c53445355fcd0be6f13aaebdc7cd5d5820dcd2972bb8521a94e9a4aa80f1e8dab264c202eeb41ba383968d94918869256883746c62dd1b2a043bc1ff80 SHA512 fa63eef7fa9f30bc9c48ed62038031bbbad3c9408aae6f9854fb93bceb18c8247f6c5de79dbbcf3a5082a188f37ec847452cf094a9411bacd2e747ebe24f630d
+DIST NotoSerif[wdth,wght]-8bcb8b16321f305a4fca87dcbdef453e19dfc987.ttf 2420628 BLAKE2B f19080179e54567a92edb576143940be99734e841479ba2fdea4c65862e637a5f3216082ca426f18354aadb962955a83dd47e89d1a24b4a8433fa825b10388d0 SHA512 c419f4d2777cd4c97038b97190eb50274bb9c2f2e508d5bdac53eb218c0b31ff7c7b8d0f4111fbd41ba866671f7224e3374f06e5b9179e8f0ab42eae6a077a38
diff --git a/media-fonts/noto/noto-20211207.ebuild b/media-fonts/noto/noto-20211207.ebuild
deleted file mode 100644
index 86a15b8..0000000
--- a/media-fonts/noto/noto-20211207.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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"
-)
diff --git a/media-fonts/noto/noto-20231001.ebuild b/media-fonts/noto/noto-20231001.ebuild
new file mode 100644
index 0000000..15104ae
--- /dev/null
+++ b/media-fonts/noto/noto-20231001.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit font
+
+DESCRIPTION="Google's font family that aims to support all the world's languages"
+HOMEPAGE="https://fonts.google.com/noto https://github.com/notofonts/notofonts.github.io"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMIT="8bcb8b16321f305a4fca87dcbdef453e19dfc987"
+SRC_URI="
+ https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSans/googlefonts/variable/NotoSans%5Bwdth%2Cwght%5D.ttf -> NotoSans[wdth,wght]-${COMMIT}.ttf
+ https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSans/googlefonts/variable/NotoSans-Italic%5Bwdth%2Cwght%5D.ttf -> NotoSans-Italic[wdth,wght]-${COMMIT}.ttf
+ https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSerif/googlefonts/variable/NotoSerif%5Bwdth%2Cwght%5D.ttf -> NotoSerif[wdth,wght]-${COMMIT}.ttf
+ https://github.com/notofonts/notofonts.github.io/raw/${COMMIT}/fonts/NotoSerif/googlefonts/variable/NotoSerif-Italic%5Bwdth%2Cwght%5D.ttf -> NotoSerif-Italic[wdth,wght]-${COMMIT}.ttf
+"
+
+S="${WORKDIR}"
+
+FONT_SUFFIX="ttf"
+FONT_CONF=(
+ # From ArchLinux
+ "${FILESDIR}/66-noto-serif.conf"
+ "${FILESDIR}/66-noto-mono.conf"
+ "${FILESDIR}/66-noto-sans.conf"
+)
+
+src_compile() {
+ for f in "${DISTDIR}"/*.ttf; do
+ fn=${f##*/}
+ cp "$f" "${fn/-$COMMIT}"
+ done
+}