media-fonts/noto: add 20260101

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2026-01-02 12:06:55 +01:00
parent 4ebe34d23a
commit 23f1ca9268
2 changed files with 41 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST noto-20251001.tar.gz 1094174045 BLAKE2B 47d2578a324eebfefe45bd48cc750f43bcbe350fd558534dbe937c72361286707844b53be601d2776a0a94f67c4bf5bd59d2df9f270c43ccfbd966e9ab96724f SHA512 5be89a46ba0c609b7850c00c1254ffe88d4ac2429666cc69252a76c46f252d845c23abe46bad54d15d1bf0eb943844e56d59c29bea8a64ce90120254985b09a3
DIST noto-20251101.tar.gz 1098334930 BLAKE2B 8280b20608e79069a0f95c2b0299413649a990a5ce32529d677f1f43da1f74b022693412e7a1717387dbe618db805a6bb3d59e6cc7b4e14d4ed74d8f47460e5b SHA512 af1497721c09b769a250292c59fd8cea89701999fdb325ebbcfdcaa40e48d75a294312663e74f4cc5e7ca54cc59b7d1340af7b86177f0db2f85d6633899c9cc7
DIST noto-20251201.tar.gz 1098285415 BLAKE2B 6d2759c5975b05407a73bfc54e8a82ea1bfaa3c7704e6d496b82386ecfa5c8ce625defa99e69eede2f7527107c3dd0ac9078fbcebbf2cac2eadbf200969ce2ee SHA512 24d39ff78f109e0f9dd5d36fa6c94fb847f15af4e4f3d79268dc73b6e41fe83f6eb1008232c8d4add17466aedf006e79a9bdd6eb80ce7cacccc17ece60e2afb1
DIST noto-20260101.tar.gz 1098541659 BLAKE2B da8b237e0b544bfc9588f042b26ca864fcc3790d71eaaa7a957a57464c736f140203e4ab57e0ea5d956c803c42c0b6d0b2418c7043fbcaef54218a854568eb91 SHA512 03d09047dc86b1c32b86824873de34380fd85ab7868fd5592f1dbb4cf3de1cfe65088f5c2e73fad2fc214e5de16c1e6c6d028506006a650172edab40b17ea7aa
+40
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="e3bdd5e75581e2b46d93343ec98594f3c89669c0"
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]
}