| 1 |
nirbheek |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI="4"
|
| 6 |
|
|
|
| 7 |
|
|
inherit font
|
| 8 |
|
|
|
| 9 |
|
|
DESCRIPTION="Adobe Source Sans Pro, an open source multi-lingual font family"
|
| 10 |
|
|
HOMEPAGE="http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html"
|
| 11 |
|
|
SRC_URI="mirror://sourceforge/sourcesans.adobe/SourceSansPro_FontsOnly.zip -> SourceSansPro_FontsOnly-2012.07.31.zip"
|
| 12 |
|
|
|
| 13 |
|
|
LICENSE="OFL-1.1"
|
| 14 |
|
|
SLOT="0"
|
| 15 |
|
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
| 16 |
|
|
IUSE=""
|
| 17 |
|
|
|
| 18 |
|
|
RDEPEND="media-libs/fontconfig"
|
| 19 |
|
|
DEPEND=""
|
| 20 |
|
|
|
| 21 |
|
|
# This ebuild does not install any binaries
|
| 22 |
|
|
RESTRICT="binchecks strip"
|
| 23 |
|
|
|
| 24 |
|
|
S="${WORKDIR}"
|
| 25 |
|
|
|
| 26 |
|
|
# Font eclass settings
|
| 27 |
|
|
DOCS="ReadMe.html SourceSansProReadMe.html"
|
| 28 |
|
|
FONT_S="${S}"
|
| 29 |
|
|
FONT_SUFFIX="otf ttf"
|
| 30 |
|
|
|
| 31 |
|
|
src_prepare() {
|
| 32 |
|
|
default
|
| 33 |
|
|
# Put otf and ttf files in one directory so that font_src_install can
|
| 34 |
|
|
# actually find them
|
| 35 |
|
|
mv OTF/* TTF/* . || die
|
| 36 |
|
|
}
|