summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Donenfeld <zx2c4@gentoo.org>2012-10-14 18:59:27 +0000
committerJason Donenfeld <zx2c4@gentoo.org>2012-10-14 18:59:27 +0000
commit0164631dc7d7d6fc5f6579fe6350be1d1888e30e (patch)
tree0b86de6ea89848972662904c1f88dfa0b4e01688 /media-fonts
parentalpha/arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #436592 (diff)
downloadhistorical-0164631dc7d7d6fc5f6579fe6350be1d1888e30e.tar.gz
historical-0164631dc7d7d6fc5f6579fe6350be1d1888e30e.tar.bz2
historical-0164631dc7d7d6fc5f6579fe6350be1d1888e30e.zip
Per discussion with nirbheek, source-code-pro and source-sans-pro are merging into one package, using date as the versioning scheme.
Package-Manager: portage-2.2.0_alpha137/cvs/Linux x86_64
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/source-pro/ChangeLog10
-rw-r--r--media-fonts/source-pro/Manifest6
-rw-r--r--media-fonts/source-pro/files/63-source-pro.conf28
-rw-r--r--media-fonts/source-pro/metadata.xml17
-rw-r--r--media-fonts/source-pro/source-pro-20121014.ebuild45
5 files changed, 106 insertions, 0 deletions
diff --git a/media-fonts/source-pro/ChangeLog b/media-fonts/source-pro/ChangeLog
new file mode 100644
index 000000000000..0b8a9102c6af
--- /dev/null
+++ b/media-fonts/source-pro/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-fonts/source-pro
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-pro/ChangeLog,v 1.1 2012/10/14 18:59:21 zx2c4 Exp $
+
+*source-pro-20121014 (14 Oct 2012)
+
+ 14 Oct 2012; Jason A. Donenfeld <zx2c4@gentoo.org> +files/63-source-pro.conf,
+ +metadata.xml, +source-pro-20121014.ebuild:
+ Per discussion with nirbheek, source-code-pro and source-sans-pro are merging
+ into one package, using date as the versioning scheme.
diff --git a/media-fonts/source-pro/Manifest b/media-fonts/source-pro/Manifest
new file mode 100644
index 000000000000..304fbfd2212b
--- /dev/null
+++ b/media-fonts/source-pro/Manifest
@@ -0,0 +1,6 @@
+AUX 63-source-pro.conf 588 SHA256 669b5de754e22604ab8180bc1911bf2229f356b2e84b97ec041bc7aa8dc0442e SHA512 e3c0bc4f324b1160e102b83df43d5dd453da25765fc4405187133c0c76411639033d120dc5b01cdd0e618bae347117f9688deada4cb48799490cfa5574a81d2a WHIRLPOOL 2f1577a0ca97a2ffe10b06790406406decec66fe4f3c320c7b982e8a2fbf6ad811c0803d3e126bbfd7f5ebd34faaa213de755fe77c748245233e2f404b0c41cb
+DIST SourceCodePro_FontsOnly-1.010.zip 614267 SHA256 1d839a89a0910eb44f6e4512d68e020e191bec789f698674607d346559e589e9 SHA512 2aa315bfda8355bc09269ed7aa56dea703360a1dd4ac0fe20ed21d6e26ad331cd93ccea3759f410660c085939afa29e60843fed7fb42af0ee0d42496d5d91263 WHIRLPOOL 46fa0711da4591280b6781547c9f9ce48543bee408871d5ce111bf98b66732aaa1ee8e4818abd837b67c2902a1c978b6b9f09023bae0dbd398697551ebceef37
+DIST SourceSansPro_FontsOnly-1.036.zip 1392120 SHA256 65e5aa92ae0f348329e447143e724c51b3c36a8d88aaecc581ecbc0ff131efda SHA512 bdec796455e1c22385798851ba41be47ec0951b67647d91c5d921de2b0aa4f55abf5a266f0c815144d26cf36b0a11fe5a50f57c0800edc77b093272b10dc3f67 WHIRLPOOL cd6312f1aa6ab286d407c688b9e3fbf13919dc495d1c373311ffbf4889252c75745e21c7ac4f1c8df934881b338f3af1f27cde62fa7eac7d02583fdef277bca7
+EBUILD source-pro-20121014.ebuild 1381 SHA256 cc89b7d0293489c153624dcdf5c206ae4ed002e63a2da58f6868e88d1e58a06a SHA512 7abc721987ab64f43545b772ecc27f10ebbd9e23a57bf00ee2aac7c3a857ae7247295c4a05faa7c73724b088daa1bb6d5513f818806e60fc9259cdc7ed491b04 WHIRLPOOL c683996297c04d3683eb2db0689267516da81966dca50589fd1754dde135bedb7c21bbce689e6de52b79f910190551a007ddb52fdc62ff865834d1c2bfca2f19
+MISC ChangeLog 515 SHA256 78ff7a458c16ce42c8ba4dbe64257408cae20e75bc209836931d67b59d0f2574 SHA512 e35c05fe506e75c6f2c711443d23f5aa73615c313ef176e4f839d35db9773638335c8125d961408337fe57453888d6383a3d4e52772d409614605dfacacbbb2f WHIRLPOOL e66ab99ad7b5a4513ecd614a7b5c42dc24f55a3f46acfb0fe641a005d2a5b26c2ab5afb410875452097039eac7fff4fbeabe51ae19bc0057b2be307e6718ae78
+MISC metadata.xml 452 SHA256 9e7a306a3b39fe46ba08e964a32a309d59da2ea8c756120995ab46c2b195936a SHA512 960bab77278134e335a9e29f5e2be1685f426f9ece786812733e27d23d16e1c060cc60172b178dae1222ce1d3bcce4af0f65d006e0ec8b04e3fecc5e397189a9 WHIRLPOOL cc475cbff09ce664bfd9f34f3052965682d7ae53bc672adeafe9c09f04b8d60bdc8cfd16ade7f64bc26efee74554f2216f0950f1f7ca830cc3db118078c859b9
diff --git a/media-fonts/source-pro/files/63-source-pro.conf b/media-fonts/source-pro/files/63-source-pro.conf
new file mode 100644
index 000000000000..ba5816e6cdd6
--- /dev/null
+++ b/media-fonts/source-pro/files/63-source-pro.conf
@@ -0,0 +1,28 @@
+<?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>
+ <alias>
+ <family>Source Sans Pro</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Source Sans Pro</family>
+ </prefer>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/source-pro/metadata.xml b/media-fonts/source-pro/metadata.xml
new file mode 100644
index 000000000000..753ea917484f
--- /dev/null
+++ b/media-fonts/source-pro/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <maintainer>
+ <email>nirbheek@gentoo.org</email>
+ <name>Nirbheek Chauhan</name>
+ </maintainer>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+ <maintainer>
+ <email>zx2c4@gentoo.org</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-fonts/source-pro/source-pro-20121014.ebuild b/media-fonts/source-pro/source-pro-20121014.ebuild
new file mode 100644
index 000000000000..dd91bf76e5f4
--- /dev/null
+++ b/media-fonts/source-pro/source-pro-20121014.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-pro/source-pro-20121014.ebuild,v 1.1 2012/10/14 18:59:21 zx2c4 Exp $
+
+EAPI=4
+inherit font
+
+CODE_P=SourceCodePro_FontsOnly-1.010
+SANS_P=SourceSansPro_FontsOnly-1.036
+
+DESCRIPTION="Adobe Source Pro, an open source multi-lingual font family"
+HOMEPAGE="http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html
+ http://blogs.adobe.com/typblography/2012/09/source-code-pro.html"
+SRC_URI="mirror://sourceforge/sourcecodepro.adobe/${CODE_P}.zip
+ mirror://sourceforge/sourcesans.adobe/${SANS_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}"
+FONT_SUFFIX="otf ttf"
+FONT_S=${S}
+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. We make this non-fatal because releases appear to be
+ # alternating between having OTF/TTF subdirs and not, so it's easier just to
+ # glob for everything.
+ mv -vf ${CODE_P}/{OTF,TTF,""}/* .
+ mv -vf ${SANS_P}/{OTF,TTF,""}/* .
+}
+
+src_install() {
+ font_src_install
+ dohtml *.html
+}