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 E9A221581C1 for ; Fri, 5 Jul 2024 18:03:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C88A2BC11F; Fri, 5 Jul 2024 18:03:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB0092BC11F for ; Fri, 5 Jul 2024 18:03:43 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 383AE34309D for ; Fri, 5 Jul 2024 18:03:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6C431DCD for ; Fri, 5 Jul 2024 18:03:41 +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: <1720202610.9b9a008975728377c60deec7647d92976291fdf1.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-20240630.ebuild X-VCS-Directories: media-fonts/noto/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 9b9a008975728377c60deec7647d92976291fdf1 X-VCS-Branch: master Date: Fri, 5 Jul 2024 18:03:41 +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: eb83128c-f12b-497b-af41-0b484bc4d57d X-Archives-Hash: 996dc330ad567b93e9b2fada5d503552 commit: 9b9a008975728377c60deec7647d92976291fdf1 Author: Pacho Ramos gentoo org> AuthorDate: Fri Jul 5 18:03:30 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Jul 5 18:03:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9a0089 media-fonts/noto: add 20240630 Signed-off-by: Pacho Ramos gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/noto-20240630.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 4ebd275944b6..56f905f898b0 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,2 +1,3 @@ DIST noto-20240430.tar.gz 1067709428 BLAKE2B 068b49614efaf6136fb166d21cd01ed381a52b4677260b5382c8af6ccb45341518d1f135b1a27df4977580bac03119d85a54623ad25aeff2f13d72a9d06b479e SHA512 244dae7ff95be13e86932f59f5516174bd1d9c5bd7e27b97aa62e8321f61fbf95d66890663651dd7d5bb961c4335fec44ab536785b3c9ddcde971f4b955e3858 DIST noto-20240531.tar.gz 1067977032 BLAKE2B 769468b6232eab061703df8d8dc026fa82d6005c0c53ff0a483557fd33e6c52ac3dc7e65f5444390d9130e0b0f04e5ecb71109462bc985e17cbd7d4112a9ab0d SHA512 2be323d3eaf5db9598950148d3d89824f97f2fef5aeea323862e3ef430de4ebf24b942d71319fbdee711778e78810b28cf76f3d6f815dd404db660d276f3f4eb +DIST noto-20240630.tar.gz 1089432282 BLAKE2B 07984ab5deb385855122bd1688b237ef2c59956e7516db16f4ed2b683b1c04ae73c06bc4e5ba766077fb479e774a38a6ab97a318299b0581032dedb9ad7c3cc0 SHA512 eb0a0416c2a12b1a37f867d0f13a55d1d169466786fd367de246c67008c5def9c49eb942e81aaf9810f5c071cca076fa9019b92b11e169a48fe0b15dc7ce43aa diff --git a/media-fonts/noto/noto-20240630.ebuild b/media-fonts/noto/noto-20240630.ebuild new file mode 100644 index 000000000000..a5f606b6984f --- /dev/null +++ b/media-fonts/noto/noto-20240630.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="6934f8608dc8235a028a7b4b3d10888df74faf83" +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] +}