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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F10C51382C5 for ; Sun, 31 May 2020 12:42:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0421E093E; Sun, 31 May 2020 12:42:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB391E093E for ; Sun, 31 May 2020 12:42:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71E1534F06B for ; Sun, 31 May 2020 12:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DB4C287 for ; Sun, 31 May 2020 12:42: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: <1590928948.0f21212cc4efface2428a4880a71666537f7488c.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-20200521.ebuild X-VCS-Directories: media-fonts/noto/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0f21212cc4efface2428a4880a71666537f7488c X-VCS-Branch: master Date: Sun, 31 May 2020 12:42: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: 02853bf7-3ed3-4a21-82d0-1d5416ba6658 X-Archives-Hash: 402e8baf42409dc265f1b5fb357112fe commit: 0f21212cc4efface2428a4880a71666537f7488c Author: Pacho Ramos gentoo org> AuthorDate: Sun May 31 12:35:22 2020 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun May 31 12:42:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f21212c media-fonts/noto: Bump to a newer snapshot Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/noto-20200521.ebuild | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index fb584b2bbf0..38abdcf1b74 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,2 +1,3 @@ DIST noto-20190524.tar.gz 740252290 BLAKE2B e169ee60c9a83c13656ebd5dbce32aad183bbebc057035c69723788725a1c14a016c37bea7ccf30fc9d776e421515c2fa03f929b5f7bf95d9e3abb1abbeccbbf SHA512 668f7d015da420b3c32f8c0313037bab731bd915875f476beb47e6c3e8d33a30cd608d2f351194607afbf28f8f3efc1eb5f8470c03fd88a83df33b478fa78147 DIST noto-20200308.tar.gz 853685953 BLAKE2B 1f25bf1b763161fc246b0a1ed532d4755e4ef441055d92a8a17a05331bbbe47b4f604492e0403088d5aac9a86e42b27354eb7d4c9bc6286853ce1562b7940344 SHA512 9afec0c150beeb2bb27af58b9118da4bf86a21f25b573be3a01186c0295b9d5f51918d9237fafc76a0388c87a2b8fd780ba450fb8b4c3e65addad729e8f56a9f +DIST noto-20200521.tar.gz 861394318 BLAKE2B e30f7ec58130786414f2dd33acaf9c75f403718612270e346fe51df0cb74088ddc34b699d4af9a494446940aa58a4c2cd043f46208aa7a3004a194703efb464a SHA512 d1090eae56c74237da4e35989d3518dfcb163deee1eb4df64a6be0ccb7e6f2a2207f0602ee5f0156efa2bdb3d105073d2e9a65c8841dbab34207c89c05aeb8bc diff --git a/media-fonts/noto/noto-20200521.ebuild b/media-fonts/noto/noto-20200521.ebuild new file mode 100644 index 00000000000..8609c13783a --- /dev/null +++ b/media-fonts/noto/noto-20200521.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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/googlei18n/noto-fonts" + +COMMIT="49313785484cd4d1f4c0329ee3a8801f158f5ba1" +SRC_URI="https://github.com/googlei18n/noto-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~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}/${PN}-fonts-${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-unhinted install-hinted || die + mv unhinted/*/* install-unhinted/. || die + mv hinted/*/* install-hinted/. || die + + FONT_S="${S}/install-unhinted/" font_src_install + 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}*.ttf +}