From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 513481388BF for ; Fri, 19 Feb 2016 03:11:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2827621C188; Fri, 19 Feb 2016 03:11:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2746221C188 for ; Fri, 19 Feb 2016 03:11:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E458933FD24 for ; Fri, 19 Feb 2016 03:11:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28BE41607 for ; Fri, 19 Feb 2016 03:11:00 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1455849809.69885d1fd77f8e3c35ff7a6c41b9a192837020af.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/source-han-sans/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/source-han-sans/source-han-sans-1.001-r1.ebuild X-VCS-Directories: media-fonts/source-han-sans/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 69885d1fd77f8e3c35ff7a6c41b9a192837020af X-VCS-Branch: master Date: Fri, 19 Feb 2016 03:11:00 +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-Archives-Salt: 7f57d2c4-3f47-4836-b05b-25cfaa336d55 X-Archives-Hash: 59ac00826e758a01c2d36f43144d533e commit: 69885d1fd77f8e3c35ff7a6c41b9a192837020af Author: bobbertson gmail com> AuthorDate: Thu Feb 18 04:07:25 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Fri Feb 19 02:43:29 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69885d1f media-fonts/source-han-sans: Adding use cjk to be consistent with rdep. Package-Manager: portage-2.2.26 .../source-han-sans-1.001-r1.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/media-fonts/source-han-sans/source-han-sans-1.001-r1.ebuild b/media-fonts/source-han-sans/source-han-sans-1.001-r1.ebuild new file mode 100644 index 0000000..b43edfd --- /dev/null +++ b/media-fonts/source-han-sans/source-han-sans-1.001-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit font + +# Note to maintainers: +# The upstream tarball is huge (over 780 MB), so we repackage the +# regional subset OTF fonts per region, for the user's convenience. + +DESCRIPTION="Pan-CJK OpenType/CFF font family" +HOMEPAGE="https://github.com/adobe-fonts/source-han-sans/" +SRC_URI="cjk? ( https://dev.gentoo.org/~yngwin/distfiles/${PN}-ja-${PV}.tar.xz + https://dev.gentoo.org/~yngwin/distfiles/${PN}-ko-${PV}.tar.xz + https://dev.gentoo.org/~yngwin/distfiles/${PN}-zh_CN-${PV}.tar.xz + https://dev.gentoo.org/~yngwin/distfiles/${PN}-zh_TW-${PV}.tar.xz ) + linguas_ja? ( https://dev.gentoo.org/~yngwin/distfiles/${PN}-ja-${PV}.tar.xz ) + linguas_ko? ( https://dev.gentoo.org/~yngwin/distfiles/${PN}-ko-${PV}.tar.xz ) + linguas_zh_CN? ( https://dev.gentoo.org/~yngwin/distfiles/${PN}-zh_CN-${PV}.tar.xz ) + linguas_zh_TW? ( https://dev.gentoo.org/~yngwin/distfiles/${PN}-zh_TW-${PV}.tar.xz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos" +IUSE="cjk linguas_ja linguas_ko +linguas_zh_CN linguas_zh_TW" +REQUIRED_USE="|| ( cjk linguas_ja linguas_ko linguas_zh_CN linguas_zh_TW )" + +S=${WORKDIR} +FONT_SUFFIX="otf" +RESTRICT="binchecks strip" + +src_install() { + for l in ja ko zh_CN zh_TW; do + ( use cjk || use linguas_${l} ) \ + && FONT_S="${S}/source-han-sans-${l}-${PV}" font_src_install + done + dodoc source-han-sans-*-${PV}/*md source-han-sans-*-${PV}/*pdf +}