summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/sil-charis')
-rw-r--r--media-fonts/sil-charis/ChangeLog9
-rw-r--r--media-fonts/sil-charis/sil-charis-5.000.ebuild32
2 files changed, 39 insertions, 2 deletions
diff --git a/media-fonts/sil-charis/ChangeLog b/media-fonts/sil-charis/ChangeLog
index 18f935f917bf..1605c0e18a0a 100644
--- a/media-fonts/sil-charis/ChangeLog
+++ b/media-fonts/sil-charis/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/sil-charis
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/ChangeLog,v 1.13 2013/10/21 12:17:14 grobian Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/ChangeLog,v 1.14 2015/03/07 08:07:56 yngwin Exp $
+
+*sil-charis-5.000 (07 Mar 2015)
+
+ 07 Mar 2015; Ben de Groot <yngwin@gentoo.org> +sil-charis-5.000.ebuild:
+ version bump
21 Oct 2013; Fabian Groffen <grobian@gentoo.org> sil-charis-4.110.ebuild:
Marked ~x64-macos, bug #486818
diff --git a/media-fonts/sil-charis/sil-charis-5.000.ebuild b/media-fonts/sil-charis/sil-charis-5.000.ebuild
new file mode 100644
index 000000000000..30e5248efeda
--- /dev/null
+++ b/media-fonts/sil-charis/sil-charis-5.000.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/sil-charis-5.000.ebuild,v 1.1 2015/03/07 08:07:56 yngwin Exp $
+
+EAPI=5
+inherit font
+
+MY_PN="CharisSIL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Serif typeface for Roman and Cyrillic languages"
+HOMEPAGE="http://scripts.sil.org/CharisSILfont"
+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=CharisSILCompact-${PV}b.zip&filename=CharisSILCompact-${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 ~x64-macos"
+IUSE="compact"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+DOCS="OFL-FAQ.txt documentation/*"
+
+src_prepare() {
+ if use compact; then
+ mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} "${FONT_S}" || die
+ fi
+}