media-fonts/noto: add 20260301

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2026-03-01 12:29:29 +01:00
parent 60d7432c2d
commit 28210e82fd
2 changed files with 41 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST noto-20251101.tar.gz 1098334930 BLAKE2B 8280b20608e79069a0f95c2b0299413649a990a5ce32529d677f1f43da1f74b022693412e7a1717387dbe618db805a6bb3d59e6cc7b4e14d4ed74d8f47460e5b SHA512 af1497721c09b769a250292c59fd8cea89701999fdb325ebbcfdcaa40e48d75a294312663e74f4cc5e7ca54cc59b7d1340af7b86177f0db2f85d6633899c9cc7
DIST noto-20260101.tar.gz 1098541659 BLAKE2B da8b237e0b544bfc9588f042b26ca864fcc3790d71eaaa7a957a57464c736f140203e4ab57e0ea5d956c803c42c0b6d0b2418c7043fbcaef54218a854568eb91 SHA512 03d09047dc86b1c32b86824873de34380fd85ab7868fd5592f1dbb4cf3de1cfe65088f5c2e73fad2fc214e5de16c1e6c6d028506006a650172edab40b17ea7aa
DIST noto-20260201.tar.gz 1098592588 BLAKE2B d5de79995e9b21a73d77f702cdf4cd1a5dbb1cd42efa6253409c359fa2863e4ac7cb205e37566245313535b16b5f793700abba235316790a0ffce0305468a8b7 SHA512 d08c0ce277d12d510bd3545c4a97d0aef56adc05d97fe78c23fb14d15b359542bb442b87f97614b50b9b21f8d7608d7a8c16005a382dba93d8dcf6374062dba5
DIST noto-20260301.tar.gz 1099206619 BLAKE2B 0b4424eab8e48427c4f9312472bf41b47a8459fc9854d2148c7d6c3392c2af5b636707787c5f4c4a03b69d0fed02c75ca2f71b99377d0c217836086d85456df7 SHA512 a36d4caca9705c81000ebf37f15ec86340a0079da2ceb234846f77652f8d922d79589c0a8bf46c3c233144234514764166da95e6159eab6c13f6372d28e10bc9

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="67b512485069e86f2e06413c46b8394d3358021d"
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]
}