From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28A36158064 for ; Sat, 4 May 2024 18:20:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67B04E2BA4; Sat, 4 May 2024 18:20:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F49BE2BA4 for ; Sat, 4 May 2024 18:20:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4263033BDF5 for ; Sat, 4 May 2024 18:20:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9581C1779 for ; Sat, 4 May 2024 18:20:24 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1714846794.4bc4241184b9a6e50020d8ea989cb1ee1a8d1cde.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/noto/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/noto/Manifest media-fonts/noto/noto-20240430.ebuild X-VCS-Directories: media-fonts/noto/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 4bc4241184b9a6e50020d8ea989cb1ee1a8d1cde X-VCS-Branch: master Date: Sat, 4 May 2024 18:20:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d7800466-7e18-497c-8796-ab1a76285d1a X-Archives-Hash: 73e31332da6276898de3a44612b5581a commit: 4bc4241184b9a6e50020d8ea989cb1ee1a8d1cde Author: Pacho Ramos gentoo org> AuthorDate: Sat May 4 18:19:54 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat May 4 18:19:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc42411 media-fonts/noto: add 20240430 Signed-off-by: Pacho Ramos gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/noto-20240430.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index eb7e7c489afc..7ed5720b41c4 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,3 +1,4 @@ DIST noto-20231128.tar.gz 1062692273 BLAKE2B adab3e85f0f744b1d37ea0877db14d399baff3dab3496a01181ac977a6e5b1fd04c6ab5a7ee3dfcb190583d18f585eae70cf244bfb993107b6a8e84b62f45bde SHA512 ccc54993bc9651a2e6e654270c0c67f9eeb9659b60246cae407a11fe7d87d438a91250d2d96fd3f970b11d17386133375a1c66fbedf551344998ded89acb4835 DIST noto-20240229.tar.gz 1065887601 BLAKE2B 32c4cd85a83c346bdf25cf0aa87c96500c261f501ec6e57549cefb2faf87183fb7e4a73c62fed491ab2779ee92af88474bff6829bfb5846c00585728376e2415 SHA512 5f878f0561732a8dc0efc4e7694d38254bc251660f1b8ead3a92cf7956219ffc481e36ffce40e1dff1dc25f435bfa90cc07aea53d5f2a39e0bd99e00cc2a0937 DIST noto-20240325.tar.gz 1067006253 BLAKE2B ea65c14ef0aca4f732e5ca7eb02b79756e124524b3f1bb0a3724a75fc2d503e13d264fcdaa39451a6171ea16e4cb2396d881921fc321e759410133a1bd7498df SHA512 039911249ed18d796850fccf6d181c82850d703606e28105eefd3bffeb250ef8c1b0ad155b6fbce2d95853a713a9d3eff512b0d1ad2f680b66b01a25f508e1b9 +DIST noto-20240430.tar.gz 1067709428 BLAKE2B 068b49614efaf6136fb166d21cd01ed381a52b4677260b5382c8af6ccb45341518d1f135b1a27df4977580bac03119d85a54623ad25aeff2f13d72a9d06b479e SHA512 244dae7ff95be13e86932f59f5516174bd1d9c5bd7e27b97aa62e8321f61fbf95d66890663651dd7d5bb961c4335fec44ab536785b3c9ddcde971f4b955e3858 diff --git a/media-fonts/noto/noto-20240430.ebuild b/media-fonts/noto/noto-20240430.ebuild new file mode 100644 index 000000000000..665fc27a1b93 --- /dev/null +++ b/media-fonts/noto/noto-20240430.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="1d9f081ebacd3382a050fdf8166eb491d716c462" +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] +}