media-fonts/noto: add 20260701

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2026-07-02 12:26:53 +02:00
parent d0dc560983
commit 7fea01fd08
2 changed files with 41 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST noto-20260501.tar.gz 1099246713 BLAKE2B a90f279f394c5e0c05deb22482208b7924fffecca035f2062cb5ef91f32d1af8b22d7a536bcdd5f3ca64bea1965c37926c1b276e4b6a8e23c6313365dea2725f SHA512 d9596f7f83fa0ab5b82f3e1687e08483efc072e29f147aa86cd6b32ff9b630c3cc18600b4b98e13e89e18047659df8fe44f682b56cc8ea5b91a58566b398394f
DIST noto-20260601.tar.gz 1099286835 BLAKE2B bf90ef5554c4f48e992318b5bbd5ec1972d2988e62802e2aa673be37370e5b38b8e5c8a615b8595b8b4c3f5f9b2bb10e165e7d027370c3f835c02d7a67a5b004 SHA512 eb050536b4fcae5ab37e7a9b381fe0745b79d11b761ab6537511d67cd5c13c4b3083234a6f880f14242ba34c94195b310f9590ab40cf67e6e9363a541b809cbf
DIST noto-20260701.tar.gz 1099204620 BLAKE2B fb04b7fe36d78974e2983cdb0d6bb760d7b9e91d363a7815f48471759594b7302549800c972ef1a007a12355bae2197bb50daabeaa1ac24b48d40a3c55f6d6fe SHA512 24f1bb94d5e990b874ce0aaad97bbe0cc9c2eaafded96ea93b74cd46877ba86be741ad97e8323983603b895eafa4abf33d85cd0d6c07bc46719a37dc15fff127

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2026 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="7baf6d8e43c5d2613dcbcaacdeb114f633b86069"
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="+extra"
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]
}