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 12FA3138334 for ; Sun, 2 Jun 2019 09:50:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE4D4E07F1; Sun, 2 Jun 2019 09:50:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 7365BE07F1 for ; Sun, 2 Jun 2019 09:50:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 BA51D345536 for ; Sun, 2 Jun 2019 09:50:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FDF5600 for ; Sun, 2 Jun 2019 09:50:31 +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: <1559469007.abfc589d745ac2b060c8f228612327b23abad95f.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/metadata.xml media-fonts/noto/noto-20190524.ebuild X-VCS-Directories: media-fonts/noto/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: abfc589d745ac2b060c8f228612327b23abad95f X-VCS-Branch: master Date: Sun, 2 Jun 2019 09:50:31 +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: de816aad-a3b2-473b-8cdd-ae4bcbd042e5 X-Archives-Hash: 1e24ae85a5db41bdfc9c55459e0571a4 commit: abfc589d745ac2b060c8f228612327b23abad95f Author: Pacho Ramos gentoo org> AuthorDate: Sun Jun 2 09:50:07 2019 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Jun 2 09:50:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfc589d media-fonts/noto: Version bump Also add an optional extra USE flag allowing people to drop some fonts to reduce disk space usage (#678432) Closes: https://bugs.gentoo.org/687094 Bug: https://bugs.gentoo.org/678432 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Pacho Ramos gentoo.org> media-fonts/noto/Manifest | 1 + media-fonts/noto/metadata.xml | 3 +++ media-fonts/noto/noto-20190524.ebuild | 43 +++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 4415b15114a..14689b730dd 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,2 +1,3 @@ DIST noto-20170403.tar.xz 11083152 BLAKE2B 8281cc19a100d1cbf7f57fba9cba077bb0005f7296f58d48247bef6c804b53597ff359dfab7b7d851e42c0294c757f311979b98dc9f1c22e2d3f3fabe4db77e7 SHA512 f8f1414b5b6f793e86ef3cc6a6320c4545f079b337c7672cb8cccc3c50d21d353d81557da4a555cdb6524c79be3e4c167f7d5aac102c38d64926f3b1887ca7f3 DIST noto-20181024.tar.gz 726721580 BLAKE2B d19d32d98419395df1bb3ca360bd67a50487d499aa3ea1612355b2f0fef09fe8236583fedc6d528668048ccbeee7139df704fc8e125c5eec7215708838aa09f4 SHA512 5df8266fab59a9ad5e6de6971c69d2761864c29e8d0e79e16a44177327b73527a37a9d148b63c862bfb5f7507793aab5c4319603f3b8b80e18eb9f203d7a7334 +DIST noto-20190524.tar.gz 740252290 BLAKE2B e169ee60c9a83c13656ebd5dbce32aad183bbebc057035c69723788725a1c14a016c37bea7ccf30fc9d776e421515c2fa03f929b5f7bf95d9e3abb1abbeccbbf SHA512 668f7d015da420b3c32f8c0313037bab731bd915875f476beb47e6c3e8d33a30cd608d2f351194607afbf28f8f3efc1eb5f8470c03fd88a83df33b478fa78147 diff --git a/media-fonts/noto/metadata.xml b/media-fonts/noto/metadata.xml index 4915e3a9657..0f42cde6883 100644 --- a/media-fonts/noto/metadata.xml +++ b/media-fonts/noto/metadata.xml @@ -13,4 +13,7 @@ pacho@gentoo.org Pacho Ramos + + Install full upstream font set + diff --git a/media-fonts/noto/noto-20190524.ebuild b/media-fonts/noto/noto-20190524.ebuild new file mode 100644 index 00000000000..e845a0f6746 --- /dev/null +++ b/media-fonts/noto/noto-20190524.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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="34e98229863e627d0f841e124a8657d5d0348b04" +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() { + # Don't install in separate subdirs + FONT_S="${S}/unhinted/" font_src_install + FONT_S="${S}/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 +}