commit: 0ee207bbe1822294820758d6e948da16c50283d3 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Dec 14 07:51:44 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Dec 14 08:47:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee207bb
media-fonts/noto: add 20251201 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/noto-20251201.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index cbbc6bff27be..3dbb9ad6bed7 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,3 +1,4 @@ DIST noto-20250901.tar.gz 1094166775 BLAKE2B f3104a6c21b0c0bc28b115349e9860ca1b643ce5a4354ab702fb691340a14caec62e69e47af39d745d69954104ef21e22ed09c7df8dc39375a93e4936bae76ba SHA512 24217aa5c2fed9f360feb9dace30d6476352f1e35b8b20a494dccbc2889c67eba8ec1bf243d18cc1b43d49dc03f13f4bd10f60141fb374727e4e35aa8df03c90 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 diff --git a/media-fonts/noto/noto-20251201.ebuild b/media-fonts/noto/noto-20251201.ebuild new file mode 100644 index 000000000000..e306c30d1ece --- /dev/null +++ b/media-fonts/noto/noto-20251201.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="a58e44862e6921e1d01c0b32360fb54a4d2cfd45" +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] +}
