media-fonts/noto: add 20250601

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2025-06-04 11:42:34 +02:00
parent 3321a6e8ac
commit 262c13c4e9
2 changed files with 45 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST noto-20250301.tar.gz 1086903090 BLAKE2B 3d7b3c792d88b3c0c690bdce08ab4522479aa74aa679e31014bd105e8ae738a721c9cd24799ad079a93369136eff8b39aeec302e5dbf155f6b4646e49b542fc0 SHA512 a399ba5d11a477f629d7f69a3706d48826710679f6c5a0235e115d1fb1214ab72a45695e5ba89faf887f20b14baa6e8c28d1b18ff5a26a0293f049327d474924
DIST noto-20250401.tar.gz 1087019502 BLAKE2B aa5b38883be46e325583f20a23743c9bb3edb8acdf678914f6667b45e8bc4c90fbd87c692a264622ab1d5f4c5bb125d7d74b09a2546ab41d2d02c7b63b23d3b8 SHA512 fcb20acc49f90d509a01bc81c2e14392d2aff02a7dc8c695eeceddb64a3dbe30f6aa7b01c89579327fc54585b3448aae774cc7a78df0cc34f108b86675d7b70a
DIST noto-20250501.tar.gz 1087039487 BLAKE2B b3bb2af4ee570d95c3aac71b91687c10ed49b017a4cd9c5a884ef493e65f4f8c5fc3c9e04930c2eb9ae82c3fb3d244f9065d745963cae3a0694d971aff04fb97 SHA512 e831e7705e76805edd4d1f7d0f74b0c318314655e2af239b5def7358de773b81b3b5044cd6c78fdb2a616bd40a9a45c749b83f9836624e9c6863555b1cb730f5
DIST noto-20250601.tar.gz 1086995752 BLAKE2B 9474dd61df4ad0bbb09670859bb312e02789b1d6465dd501ffc3c2bdff443ca20442cf4aa237ec70f648c0c2149f999b8f4e906a01d4eae0d9ea888f5bc0ca9b SHA512 bafd455461e967507d8297b0d590fa871375c155bdbaae9f1f51c3d5760293431442c31fd334a7431ffa0814047cf8bda0af582acdf3e916cb5abf9b92c019f4

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2025 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"
COMMIT="2d714757cbccdcf49ce0af61c9ef74f34b2722a5"
SRC_URI="https://github.com/notofonts/notofonts.github.io/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/notofonts.github.io-${COMMIT}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
# Extra allows to optionally reduce disk usage even returning to tofu
# issue as described in https://fonts.google.com/noto
IUSE="cjk +extra"
RDEPEND="
cjk? ( media-fonts/noto-cjk )
"
RESTRICT="binchecks strip"
FONT_SUFFIX="ttf"
FONT_CONF=(
# From ArchLinux
"${FILESDIR}/66-noto-serif.conf"
"${FILESDIR}/66-noto-mono.conf"
"${FILESDIR}/66-noto-sans.conf"
)
src_install() {
mkdir install-hinted || die
mv fonts/*/hinted/ttf/*.tt[fc] install-hinted/. || die
FONT_S="${S}/install-hinted/" font_src_install
# Allow to drop some fonts optionally for people that want to save
# disk space. Following ArchLinux options.
use extra || rm -rf "${ED}"/usr/share/fonts/noto/Noto*{Condensed,SemiBold,Extra}*.tt[f,c]
}