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 CB3331382C5 for ; Fri, 11 May 2018 15:19:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB755E07C7; Fri, 11 May 2018 15:19:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 C2EF1E07C7 for ; Fri, 11 May 2018 15:19:44 +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 7277A335C85 for ; Fri, 11 May 2018 15:19:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFAD029 for ; Fri, 11 May 2018 15:19:41 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1526051922.225a03c0430e0214f363de9f2bbf19cdebc7860f.johu@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/sil-gentium/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild X-VCS-Directories: media-fonts/sil-gentium/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 225a03c0430e0214f363de9f2bbf19cdebc7860f X-VCS-Branch: master Date: Fri, 11 May 2018 15:19: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-Archives-Salt: b37d23c0-a702-4aa6-9742-c7d27f5024c4 X-Archives-Hash: d979ef383f1427d8132a6fbb59717b19 commit: 225a03c0430e0214f363de9f2bbf19cdebc7860f Author: Johannes Huber gentoo org> AuthorDate: Fri May 11 15:18:42 2018 +0000 Commit: Johannes Huber gentoo org> CommitDate: Fri May 11 15:18:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=225a03c0 media-fonts/sil-gentium: Revision bump 5.000-r1 EAPI 6. Package-Manager: Portage-2.3.36, Repoman-2.3.9 .../sil-gentium/sil-gentium-5.000-r1.ebuild | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild b/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild new file mode 100644 index 00000000000..6401bad6732 --- /dev/null +++ b/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit font + +MY_PN="GentiumPlus" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Gentium Plus unicode font for Latin and Greek languages" +HOMEPAGE="http://scripts.sil.org/gentium" +SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MY_P}.zip&filename=${MY_P}.zip -> ${P}.zip + compact? ( http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumPlusCompact-${PV}b.zip&filename=GentiumPlusCompact-${PV}.zip -> ${MY_PN}Compact-${PV}.zip )" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" +IUSE="compact doc" + +DEPEND="app-arch/unzip" +RDEPEND="" + +DOCS="GENTIUM-FAQ.txt OFL-FAQ.txt" +FONT_SUFFIX="ttf" + +S="${WORKDIR}/${MY_PN}-${PV}" +FONT_S="${S}" + +src_unpack() { + unpack ${A} + + if use compact; then + mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} "${FONT_S}" || die + fi +} + +src_install() { + font_src_install + use doc && dodoc -r "${S}"/documentation +}