diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2013-03-16 07:13:57 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2013-03-16 07:13:57 +0000 |
commit | dae6dc4edc1030bb43bf73bb1b3366b1552d3ff5 (patch) | |
tree | d8bddac6129eb7bbf9d3e6f3c444a1469a873ef9 | |
parent | Add cloog/isl support for gcc 4.8 (bug # 434816, patch by Kacper Kowalik). (diff) | |
download | gentoo-2-dae6dc4edc1030bb43bf73bb1b3366b1552d3ff5.tar.gz gentoo-2-dae6dc4edc1030bb43bf73bb1b3366b1552d3ff5.tar.bz2 gentoo-2-dae6dc4edc1030bb43bf73bb1b3366b1552d3ff5.zip |
Update to source code pro: new weight (medium) and misc bug fixes
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 560FDD64)
-rw-r--r-- | media-fonts/source-pro/ChangeLog | 10 | ||||
-rw-r--r-- | media-fonts/source-pro/source-pro-20130316.ebuild | 45 |
2 files changed, 53 insertions, 2 deletions
diff --git a/media-fonts/source-pro/ChangeLog b/media-fonts/source-pro/ChangeLog index 99701fc04646..f3ab0c41d108 100644 --- a/media-fonts/source-pro/ChangeLog +++ b/media-fonts/source-pro/ChangeLog @@ -1,6 +1,12 @@ # 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.3 2012/12/16 05:46:44 zx2c4 Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-pro/ChangeLog,v 1.4 2013/03/16 07:13:57 nirbheek Exp $ + +*source-pro-20130316 (16 Mar 2013) + + 16 Mar 2013; Nirbheek Chauhan <nirbheek@gentoo.org> + +source-pro-20130316.ebuild: + Update to source code pro: new weight (medium) and misc bug fixes 16 Dec 2012; Jason A. Donenfeld <zx2c4@gentoo.org> -source-pro-20121014.ebuild: diff --git a/media-fonts/source-pro/source-pro-20130316.ebuild b/media-fonts/source-pro/source-pro-20130316.ebuild new file mode 100644 index 000000000000..55398b4ddb3f --- /dev/null +++ b/media-fonts/source-pro/source-pro-20130316.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-pro/source-pro-20130316.ebuild,v 1.1 2013/03/16 07:13:57 nirbheek Exp $ + +EAPI=4 +inherit font + +CODE_P=SourceCodePro_FontsOnly-1.017 +SANS_P=SourceSansPro_FontsOnly-1.038 + +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 +} |