commit:     be86bf37062ce2843366a95c252c7b2a6724e216
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 19:02:48 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 19:10:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be86bf37

media-fonts/noto: add 20240229

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

 media-fonts/noto/Manifest             |  1 +
 media-fonts/noto/noto-20240229.ebuild | 43 +++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest
index f1d4be6bd3df..cd96ed691c8d 100644
--- a/media-fonts/noto/Manifest
+++ b/media-fonts/noto/Manifest
@@ -1,3 +1,4 @@
 DIST noto-20230930.tar.gz 1034822159 BLAKE2B 
25af396043c2639d31711357b44bbf588f2d8a156c1bd6c1fcbd130d42c80664f74a40c7f30be41c1fe82611d5e2b8587bae84497bef6381fea07374435eea02
 SHA512 
ce2e73e8cb179e6968d76241add907878d5f53de2923fa809957eef43fa030200a25f1aedf137f7c8c4daa6406e88fe9637c0d13e31bb41a8b3be6f2605c73ab
 DIST noto-20231128.tar.gz 1062692273 BLAKE2B 
adab3e85f0f744b1d37ea0877db14d399baff3dab3496a01181ac977a6e5b1fd04c6ab5a7ee3dfcb190583d18f585eae70cf244bfb993107b6a8e84b62f45bde
 SHA512 
ccc54993bc9651a2e6e654270c0c67f9eeb9659b60246cae407a11fe7d87d438a91250d2d96fd3f970b11d17386133375a1c66fbedf551344998ded89acb4835
 DIST noto-20240131.tar.gz 1065422681 BLAKE2B 
2774fb7a3152c989ed644b57a55524d0c4a3614d4fef3022a2df5fbabace6f3bddf0ef9812f328e75338442eecb67323e029f2f94c8e62a2ad0359fe7f69e0bb
 SHA512 
1e4a64ce11efd46278837b88e972ed02e593503276ae6ce5d5d77f042afb2f0e4f69d326597597ad9819e8d3ccfa878a115c1fb196880e06bdec0ee9fd417821
+DIST noto-20240229.tar.gz 1065887601 BLAKE2B 
32c4cd85a83c346bdf25cf0aa87c96500c261f501ec6e57549cefb2faf87183fb7e4a73c62fed491ab2779ee92af88474bff6829bfb5846c00585728376e2415
 SHA512 
5f878f0561732a8dc0efc4e7694d38254bc251660f1b8ead3a92cf7956219ffc481e36ffce40e1dff1dc25f435bfa90cc07aea53d5f2a39e0bd99e00cc2a0937

diff --git a/media-fonts/noto/noto-20240229.ebuild 
b/media-fonts/noto/noto-20240229.ebuild
new file mode 100644
index 000000000000..57d9d8c9f0e4
--- /dev/null
+++ b/media-fonts/noto/noto-20240229.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 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="3047dc456dd7f06b3dab582dca4f98386176f131"
+SRC_URI="https://github.com/notofonts/notofonts.github.io/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+
+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="cjk +extra"
+
+RDEPEND="cjk? ( media-fonts/noto-cjk )"
+
+RESTRICT="binchecks strip"
+
+S="${WORKDIR}/notofonts.github.io-${COMMIT}"
+
+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