diff options
author | Karol Grudziński <krlgrudzinski+gentoo@gmail.com> | 2017-03-11 15:56:04 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-03-17 13:48:39 +0100 |
commit | 381963291c396bfe064ca77cc9028d9b46d0eda1 (patch) | |
tree | 5527bbf642e9c2049c0709d15bac796e306f61d4 /media-fonts/source-pro/source-pro-20170111.ebuild | |
parent | app-forensics/openscap: bump to 1.2.13 (diff) | |
download | gentoo-381963291c396bfe064ca77cc9028d9b46d0eda1.tar.gz gentoo-381963291c396bfe064ca77cc9028d9b46d0eda1.tar.bz2 gentoo-381963291c396bfe064ca77cc9028d9b46d0eda1.zip |
media-fonts/source-pro: Version bump with new Source-Serif-Pro
- Add new ebuild with latest release of Source-Serif-Pro
(2.000R released on 2017-01-11)
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4185
Diffstat (limited to 'media-fonts/source-pro/source-pro-20170111.ebuild')
-rw-r--r-- | media-fonts/source-pro/source-pro-20170111.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-fonts/source-pro/source-pro-20170111.ebuild b/media-fonts/source-pro/source-pro-20170111.ebuild new file mode 100644 index 000000000000..7bbbff8eced7 --- /dev/null +++ b/media-fonts/source-pro/source-pro-20170111.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit font + +SANSV="2.020R-ro/1.075R-it" +SERIFV="2.000R" +CODEV="2.030R-ro/1.050R-it" + +DESCRIPTION="Adobe's open source typeface family designed for UI environments" +HOMEPAGE="http://adobe-fonts.github.io/source-sans-pro + http://adobe-fonts.github.io/source-serif-pro + http://adobe-fonts.github.io/source-code-pro" +SRC_URI="https://github.com/adobe-fonts/source-sans-pro/archive/${SANSV}.tar.gz -> source-sans-pro-${PV}.tar.gz + https://github.com/adobe-fonts/source-serif-pro/archive/${SERIFV}.tar.gz -> source-serif-pro-${PV}.tar.gz + https://github.com/adobe-fonts/source-code-pro/archive/${CODEV}.tar.gz -> source-code-pro-${PV}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos" +IUSE="cjk" + +RDEPEND="media-libs/fontconfig + cjk? ( media-fonts/source-han-sans )" + +S=${WORKDIR} +FONT_S="${S}" +FONT_SUFFIX="otf" +FONT_CONF=( "${FILESDIR}"/63-${PN}.conf ) +RESTRICT="binchecks strip" + +src_prepare() { + default + mv source-*/OTF/*.otf . || die +} + +src_install() { + font_src_install + for d in source-sans-pro-${SANSV/\//-} source-serif-pro-${SERIFV} source-code-pro-${CODEV/\//-}; do + newdoc ${d}/README.md README-${d}.md + done +} |