summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-08-12 14:31:13 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-08-12 14:31:13 +0000
commit37d9b45f8627c2746cc9cbce4c71f9e8c38c1682 (patch)
tree77a0187cdcde6ba5b10b4216031f6bb88473cc54 /media-fonts
parentInitial commit... of first open source adobe fonts (diff)
downloadgentoo-2-37d9b45f8627c2746cc9cbce4c71f9e8c38c1682.tar.gz
gentoo-2-37d9b45f8627c2746cc9cbce4c71f9e8c38c1682.tar.bz2
gentoo-2-37d9b45f8627c2746cc9cbce4c71f9e8c38c1682.zip
Version bump.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/source-sans-pro/ChangeLog8
-rw-r--r--media-fonts/source-sans-pro/files/63-source-sans-pro.conf16
-rw-r--r--media-fonts/source-sans-pro/source-sans-pro-1.033.ebuild41
3 files changed, 64 insertions, 1 deletions
diff --git a/media-fonts/source-sans-pro/ChangeLog b/media-fonts/source-sans-pro/ChangeLog
index 88b3d01c464f..a594ff74b0b8 100644
--- a/media-fonts/source-sans-pro/ChangeLog
+++ b/media-fonts/source-sans-pro/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/source-sans-pro
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-sans-pro/ChangeLog,v 1.1 2012/08/03 00:03:46 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-sans-pro/ChangeLog,v 1.2 2012/08/12 14:31:13 ssuominen Exp $
+
+*source-sans-pro-1.033 (12 Aug 2012)
+
+ 12 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +files/63-source-sans-pro.conf, +source-sans-pro-1.033.ebuild:
+ Version bump.
*source-sans-pro-2012.07.31 (03 Aug 2012)
diff --git a/media-fonts/source-sans-pro/files/63-source-sans-pro.conf b/media-fonts/source-sans-pro/files/63-source-sans-pro.conf
new file mode 100644
index 000000000000..0432c78e47da
--- /dev/null
+++ b/media-fonts/source-sans-pro/files/63-source-sans-pro.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <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-sans-pro/source-sans-pro-1.033.ebuild b/media-fonts/source-sans-pro/source-sans-pro-1.033.ebuild
new file mode 100644
index 000000000000..592364af6ba3
--- /dev/null
+++ b/media-fonts/source-sans-pro/source-sans-pro-1.033.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-sans-pro/source-sans-pro-1.033.ebuild,v 1.1 2012/08/12 14:31:13 ssuominen Exp $
+
+EAPI=4
+inherit font
+
+MY_P=SourceSansPro_FontsOnly-${PV}
+
+DESCRIPTION="Adobe Source Sans Pro, an open source multi-lingual font family"
+HOMEPAGE="http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html"
+SRC_URI="mirror://sourceforge/sourcesans.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
+}