commit: 7dade8b1e88acd934355cc074e923536bc86403f Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Feb 8 11:53:00 2026 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Feb 8 12:34:10 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dade8b1
media-fonts/noto: add 20260201 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/noto-20260201.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 6c3fcf3706b3..b6e8fae3a916 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,3 +1,4 @@ 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 +DIST noto-20260201.tar.gz 1098592588 BLAKE2B d5de79995e9b21a73d77f702cdf4cd1a5dbb1cd42efa6253409c359fa2863e4ac7cb205e37566245313535b16b5f793700abba235316790a0ffce0305468a8b7 SHA512 d08c0ce277d12d510bd3545c4a97d0aef56adc05d97fe78c23fb14d15b359542bb442b87f97614b50b9b21f8d7608d7a8c16005a382dba93d8dcf6374062dba5 diff --git a/media-fonts/noto/noto-20260201.ebuild b/media-fonts/noto/noto-20260201.ebuild new file mode 100644 index 000000000000..f98c87799e5a --- /dev/null +++ b/media-fonts/noto/noto-20260201.ebuild @@ -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="0dd6225462349adf863bf50d1a69ead98342e14d" +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] +}
