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 D991915ACFB for ; Mon, 17 Apr 2023 13:48:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04F22E09B4; Mon, 17 Apr 2023 13:48:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 E212DE09B4 for ; Mon, 17 Apr 2023 13:48:01 +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 349AC3406C0 for ; Mon, 17 Apr 2023 13:48:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF38FA39 for ; Mon, 17 Apr 2023 13:47:59 +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: <1681739273.bf97f145f1fa7f28a20606f403ff5e202188f2f5.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-20230331.ebuild X-VCS-Directories: media-fonts/noto/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: bf97f145f1fa7f28a20606f403ff5e202188f2f5 X-VCS-Branch: master Date: Mon, 17 Apr 2023 13:47:59 +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: 0e23ebfa-3716-4054-b115-403c22dda2ed X-Archives-Hash: f76f0771c288296809edcbbe884f8981 commit: bf97f145f1fa7f28a20606f403ff5e202188f2f5 Author: Pacho Ramos gentoo org> AuthorDate: Mon Apr 17 13:47:41 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Mon Apr 17 13:47:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf97f145 media-fonts/noto: add 20230331 Signed-off-by: Pacho Ramos gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/noto-20230331.ebuild | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index d3d040c7cb06..f5a0c5e4d7be 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,2 +1,3 @@ DIST noto-20201226.tar.gz 903613276 BLAKE2B b6ae0357a854b775ca43768609775624370d2f13ae65d05e699105cfacff4bb919ca19f757d4f2fbfde2d24fdfe6c5d6d3b5993a071b0d081948ef8ed6c5eb76 SHA512 240ae214729388e7000a4e12a1fc81b0b562ca6f3fcb4fcdef66a27c1b193825fbf2d0fd4cc8fbae4cd17f57e21fd1589150cb02b7b618d670742692b748f9ff DIST noto-20230201.tar.gz 1006343445 BLAKE2B 42d8c4777751f28d03ef45335e75f8c7b267f80a83dbddd9d6939a8e43f194bea95691d2d9e9977244a2e33fc9b29967db7fb1211c8ec1ca4a1a6232ed740ba6 SHA512 3884c89659823fa25d95c48edb89856068d506eec36645e2f0e06f7465d3feac28b68c71d584ed513c7ad1e1d2b322a6be5576ebf15963fe10c92d25461e2fa3 +DIST noto-20230331.tar.gz 1020818875 BLAKE2B 82df27ba94a15ba16fb7c47168ffd9684e030f478c91b98c7c99b97f9d0179f2124ffd68e662dab3edd1643ce032c35e4197d6f8c4f206a621a53b894b0c19a3 SHA512 e839a942e358b37acc47f57f9046a74b2370938b02de686d3dc89532d7ec0a664945f5010bada332466478b7b0d3b4866ce17ac568300ccee2bc27ee9da9e838 diff --git a/media-fonts/noto/noto-20230331.ebuild b/media-fonts/noto/noto-20230331.ebuild new file mode 100644 index 000000000000..87adb51bb31d --- /dev/null +++ b/media-fonts/noto/noto-20230331.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 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://www.google.com/get/noto/ https://github.com/notofonts/notofonts.github.io" + +COMMIT="021feeb29f58d54a45449c89f53d17b5bfa9fd56" +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://www.google.com/get/noto/ +IUSE="cjk +extra" + +RDEPEND="cjk? ( media-fonts/noto-cjk )" +DEPEND="" + +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] +}