Revert "Revert "media-fonts/source-pro: bump sans and serif""

This reverts commit 1c90cbc1b5.
This commit is contained in:
Guillaume Castagnino 2019-05-08 08:14:55 +02:00
parent 1c90cbc1b5
commit 305af2c6ea
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DIST source-code-pro-20190508.tar.gz 8245124 BLAKE2B badf2cdf7e47c2ba338e6317408b5fc53e783494a9da5c8fcdb45f2c8d37fa6bce94e4acae83614ff90d6531d9c7d37a8b2346ee0780499c5b73c5a89d7e98a7 SHA512 e4ff04ac926e07f4cfa824d3ff4c6c9475c5e0a4172ed055aac8c80378f79c0c5838214377a7ea3bc2bb3997804f5a1420abaae7bf13c6e4a4ffe6f82d01a2e3
DIST source-sans-pro-20190508.tar.gz 11252790 BLAKE2B 0368e6e045e3b821d335ea15272deaa066e085783470610407c023417a5d9f9525bf675782f6cbcde09b030d717f1f6a1ca196d47ca393d9a9aa85f42a13db90 SHA512 f09cc7ba10b0f84705f41eb2d1932857dc6399cc77eb64ec5ce03297e3878fffb79697507fd44f230ad2ce95f4f265034e54d2269bf9a2941fd5c50f0e7b3ce0
DIST source-serif-pro-20190508.tar.gz 9396313 BLAKE2B 65d03f6bb0dd13915173594c9b94871f5749257c73e2dd0fed342ada613aab0a16eb1aeacb0914257976e26848dc8cafb84d8194a5eb9f744ed6e848a0d1f026 SHA512 9536f1dd1fe7e725f509917abef5e2796550c0c2e513ba21460cfdb8bd85508d0776f6ce9b08908ba4d88ad0ea5ad9e58b47a5f4837e1e70071d916705527628
EBUILD source-pro-20190508.ebuild 1338 BLAKE2B 6b282ec0677085a8d53a6d5000382bfcc9e3bc68c0c2452715f68b687239a00afd3c85e6aaef21022c10087e86162bcf403c15fae02e2a111538eb04d7a48b5e SHA512 fca3f68f9f63b813a3b51d9a4c8bdad2007cc5d43ec2985cf200be853af188be60ada54f07a588c97036168cd92f55875311897d6d223d95034dfb77a869f4d6
MISC metadata.xml 391 BLAKE2B c0bb16c63d4e035da05e7f72abeaadee956760bbd9b82b1363cb09db1eeebe11fac61b6345f1f19cfb76f30415c2bdadfaa4888f886b0600780434248ca22968 SHA512 dc4ad0cdc83213489305cf3c520eb181249496727c83635b2b6d5675043a91644e29e4ca7d3478e0453c74a0981f3d4e5c5a35c0d7631a808d5f2710b613bf28

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>fonts@gentoo.org</email>
<name>Fonts</name>
</maintainer>
<upstream>
<remote-id type="github">adobe-fonts/source-code-pro</remote-id>
<remote-id type="sourceforge">sourcesans.adobe</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,43 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit font
SANSV="2.045-ro/1.095-it"
SERIFV="2.010-ro/1.010-it"
CODEV="2.030R-ro/1.050R-it"
DESCRIPTION="Adobe's open source typeface family designed for UI environments"
HOMEPAGE="https://adobe-fonts.github.io/source-sans-pro/
https://adobe-fonts.github.io/source-serif-pro/
https://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 ~amd64-fbsd ~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
}