summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Donenfeld <zx2c4@gentoo.org>2012-10-14 14:04:55 +0000
committerJason Donenfeld <zx2c4@gentoo.org>2012-10-14 14:04:55 +0000
commit8e4e97df403ad136a2e393a5a06d13c0c9b03d3d (patch)
tree55567e241197f9ee1c0949dd381a0fdba116b7ab /media-fonts
parentTests require numpy. (diff)
downloadhistorical-8e4e97df403ad136a2e393a5a06d13c0c9b03d3d.tar.gz
historical-8e4e97df403ad136a2e393a5a06d13c0c9b03d3d.tar.bz2
historical-8e4e97df403ad136a2e393a5a06d13c0c9b03d3d.zip
Source Code Pro is the monospace sister font of Source Sans Pro, from Adobe.
Package-Manager: portage-2.2.0_alpha137/cvs/Linux x86_64
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/source-code-pro/ChangeLog9
-rw-r--r--media-fonts/source-code-pro/Manifest5
-rw-r--r--media-fonts/source-code-pro/files/63-source-code-pro.conf16
-rw-r--r--media-fonts/source-code-pro/metadata.xml9
-rw-r--r--media-fonts/source-code-pro/source-code-pro-1.010.ebuild41
5 files changed, 80 insertions, 0 deletions
diff --git a/media-fonts/source-code-pro/ChangeLog b/media-fonts/source-code-pro/ChangeLog
new file mode 100644
index 000000000000..9747a9b65b9c
--- /dev/null
+++ b/media-fonts/source-code-pro/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-fonts/source-code-pro
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-code-pro/ChangeLog,v 1.1 2012/10/14 14:04:50 zx2c4 Exp $
+
+*source-code-pro-1.010 (14 Oct 2012)
+
+ 14 Oct 2012; Jason A. Donenfeld <zx2c4@gentoo.org>
+ +files/63-source-code-pro.conf, +metadata.xml, +source-code-pro-1.010.ebuild:
+ Source Code Pro is the monospace sister font of Source Sans Pro, from Adobe.
diff --git a/media-fonts/source-code-pro/Manifest b/media-fonts/source-code-pro/Manifest
new file mode 100644
index 000000000000..55275d8603c9
--- /dev/null
+++ b/media-fonts/source-code-pro/Manifest
@@ -0,0 +1,5 @@
+AUX 63-source-code-pro.conf 348 SHA256 c1db71482cf300f50f48cf74d6a2570e13e141271b3c3330581e30f0cc03fcea SHA512 cdeadde57705dc089834f72ffc37cf125b358e507b00712086a14929ba734584cc303084112ad17f525acec957aaabee1aaf1afd601d13a543d42cf35bcb6491 WHIRLPOOL 5e3d2af464cf2c0497fbd9ee355efe1b96a8c0a6dee0245e5ef10889bd251a716f78fcf4f17adeb38e98ccc434b345dfed854354745dff28e539a43b44928e5d
+DIST SourceCodePro_FontsOnly-1.010.zip 614267 SHA256 1d839a89a0910eb44f6e4512d68e020e191bec789f698674607d346559e589e9 SHA512 2aa315bfda8355bc09269ed7aa56dea703360a1dd4ac0fe20ed21d6e26ad331cd93ccea3759f410660c085939afa29e60843fed7fb42af0ee0d42496d5d91263 WHIRLPOOL 46fa0711da4591280b6781547c9f9ce48543bee408871d5ce111bf98b66732aaa1ee8e4818abd837b67c2902a1c978b6b9f09023bae0dbd398697551ebceef37
+EBUILD source-code-pro-1.010.ebuild 1110 SHA256 2ae6447ba74bd35ffbc92092dcd7eaca70847a7ff2899a07394870fcb5187e9c SHA512 129d9724623ad85bc91a1295b8b22b592832979586c47386783cc3262d7b1df6a5d35dfbac722dfb7847e48cf782feca6060d39443098cf5492b16d0b6e22e09 WHIRLPOOL 4cf8ccb2459199dc4ee343e393737f6a09503236ce95c8b06419eed321c2f04e9b8bcd14f989580ab77310b3adf94278a93e9ce68c1f83a6e7d05fe343c74f27
+MISC ChangeLog 476 SHA256 8f86d8ebf29d812413fb991f304907064f9e195af9d6946b8fb0830729da4099 SHA512 e86ca15030224091d9b8b27ce715fdba2bcd40a1eb59a74a004ab8e79171a79d4346084fc61241586a823eef2cc634ba5c19e01280cd43f333ebb691812b7dab WHIRLPOOL aae90b841b587cf633305eda38b961bbfccb89997dab9b8043158549068fe97801d6da99deb878383cfe74ec7b3451d86e092cabf007458795eb199710966011
+MISC metadata.xml 256 SHA256 2831c383ee6a9f22eb86551cad44845bd4313e93ca8904928de5c2718264b52b SHA512 64cb3079a7335ae3e52a1ce2a77775fe75ea602606e8b57d683bc49b0591d23031a74ff7d6cdd541a52e30f375a0f04761ef41fb3929759013bdad746fbf9f8a WHIRLPOOL bc01f76c38086da2c33089c6ca6f777e99248db0b073de56131229eb58aecf22f0a76bf831f80cf7b6efcffeec20e78bbf2837abe3f6e992f38025d81087363e
diff --git a/media-fonts/source-code-pro/files/63-source-code-pro.conf b/media-fonts/source-code-pro/files/63-source-code-pro.conf
new file mode 100644
index 000000000000..1faea90d64de
--- /dev/null
+++ b/media-fonts/source-code-pro/files/63-source-code-pro.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>Source Code Pro</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Source Code Pro</family>
+ </prefer>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/source-code-pro/metadata.xml b/media-fonts/source-code-pro/metadata.xml
new file mode 100644
index 000000000000..04a9bbee4fb1
--- /dev/null
+++ b/media-fonts/source-code-pro/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <maintainer>
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-fonts/source-code-pro/source-code-pro-1.010.ebuild b/media-fonts/source-code-pro/source-code-pro-1.010.ebuild
new file mode 100644
index 000000000000..4dd5085a16ad
--- /dev/null
+++ b/media-fonts/source-code-pro/source-code-pro-1.010.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-code-pro/source-code-pro-1.010.ebuild,v 1.1 2012/10/14 14:04:50 zx2c4 Exp $
+
+EAPI=4
+inherit font
+
+MY_P=SourceCodePro_FontsOnly-${PV}
+
+DESCRIPTION="Adobe Source Code Pro, an open source multi-lingual font family"
+HOMEPAGE="http://blogs.adobe.com/typblography/2012/09/source-code-pro.html"
+SRC_URI="mirror://sourceforge/sourcecodepro.adobe/${MY_P}.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+RDEPEND="media-libs/fontconfig"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+FONT_SUFFIX="otf ttf"
+FONT_S=${S}
+# From .spec of http://bugzilla.redhat.com/show_bug.cgi?id=845743
+FONT_CONF=( "${FILESDIR}"/63-${PN}.conf )
+
+src_prepare() {
+ # Put otf and ttf files in one directory so that font_src_install can
+ # actually find them.
+ mv -vf {OTF,TTF}/* . || die
+}
+
+src_install() {
+ font_src_install
+ dohtml *.html
+}