commit:     fae2d66022f6a185091920208adc9939b92918c5
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  5 07:58:05 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 09:10:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae2d660

media-fonts/noto: add 20251001

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-fonts/noto/Manifest             |  1 +
 media-fonts/noto/noto-20251001.ebuild | 40 +++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest
index c8718349b6a5..1241ff1ed164 100644
--- a/media-fonts/noto/Manifest
+++ b/media-fonts/noto/Manifest
@@ -2,3 +2,4 @@ DIST noto-20250601.tar.gz 1086995752 BLAKE2B 
9474dd61df4ad0bbb09670859bb312e0278
 DIST noto-20250701.tar.gz 1087156586 BLAKE2B 
53506cb0666aae7f2c2c65a80e008573f39fa76d6d243f9921efbb91fccbf2df8c8b160605bb0e9c00bedfaf608b1353eb768b623ec976ef36055e39c3b66e7c
 SHA512 
8d2956328374154a2deb97f8cfdeaadd5e6e8864b47eac0b21de393b2e201e59bc7794a2244fb488d0e6df7ae5c2fd79cb2c78f6146f3525b80aee8b88d42455
 DIST noto-20250801.tar.gz 1094121262 BLAKE2B 
64d519dbec610857b6eec72701a305aa18c98f2baa3fc6f9952d3835af5b5aa25a6acdce1a2cfe54b6b2ddee7d1c18a3b7be309a1aee2d114a0dd78c735936f2
 SHA512 
183109ab2a2786b0f54ee87f6f049d6e37888df9df165fb15000960e617ea18289c692bdef4f872fff347ade72c4176344733a172c3b5a494ddfc09b59991917
 DIST noto-20250901.tar.gz 1094166775 BLAKE2B 
f3104a6c21b0c0bc28b115349e9860ca1b643ce5a4354ab702fb691340a14caec62e69e47af39d745d69954104ef21e22ed09c7df8dc39375a93e4936bae76ba
 SHA512 
24217aa5c2fed9f360feb9dace30d6476352f1e35b8b20a494dccbc2889c67eba8ec1bf243d18cc1b43d49dc03f13f4bd10f60141fb374727e4e35aa8df03c90
+DIST noto-20251001.tar.gz 1094174045 BLAKE2B 
47d2578a324eebfefe45bd48cc750f43bcbe350fd558534dbe937c72361286707844b53be601d2776a0a94f67c4bf5bd59d2df9f270c43ccfbd966e9ab96724f
 SHA512 
5be89a46ba0c609b7850c00c1254ffe88d4ac2429666cc69252a76c46f252d845c23abe46bad54d15d1bf0eb943844e56d59c29bea8a64ce90120254985b09a3

diff --git a/media-fonts/noto/noto-20251001.ebuild 
b/media-fonts/noto/noto-20251001.ebuild
new file mode 100644
index 000000000000..b34d8546325f
--- /dev/null
+++ b/media-fonts/noto/noto-20251001.ebuild
@@ -0,0 +1,40 @@
+# 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="312ea2e01e7b89ac52215e05ed9b18c4d506c9d6"
+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]
+}

Reply via email to