diff options
-rw-r--r-- | media-fonts/source-pro/Manifest | 3 | ||||
-rw-r--r-- | media-fonts/source-pro/source-pro-20160608.ebuild | 44 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-fonts/source-pro/Manifest b/media-fonts/source-pro/Manifest index 03afa0d02ab1..e6a39a39e05c 100644 --- a/media-fonts/source-pro/Manifest +++ b/media-fonts/source-pro/Manifest @@ -2,5 +2,8 @@ DIST SourceCodePro_FontsOnly-1.013.zip 680506 SHA256 f819f8230b776b7080746ece444 DIST SourceCodePro_FontsOnly-1.017.zip 799805 SHA256 8136b4686309c428ef073356ab178c2f7e8f7b6fadd5a6c61b6a20646377b21f SHA512 70dacfb3a76a09fd58eb43b7257c68d79580d4b6b8a7ae52bee1ab148ac60e462d34837ac8353f31c47ed3c271c39b0676b6cac0266d2df8afc5c00754e157fe WHIRLPOOL 72567938bf7a638479af28942f08de143a420dc6146b79b607ca23b32f9b4adb90394ef4b1ac29d2c0c1de9420ff082ca2746d02e5bb34bf34627ea79821483c DIST SourceSansPro_FontsOnly-1.038.zip 1548271 SHA256 3b064a4330611da696644a46fe8f6cbb21279e259b15c109b953bcc01759aafd SHA512 2fe6543eebf07fc94c347c788a6f6d571f0382cba13be7edd46da059b322c4c018b95e71b8ac52f01db1481f6809b1105561c6aa593a1eb74c7d7a998fcbdfc7 WHIRLPOOL 5e98f754ab9950e62dd829d5cce706de651a4d79164976f2697a905ee2f471d90331a03f836ad0bf739b0ae5c48aa7b5be3e746d58614dd59340a28930be56fe DIST source-code-pro-20141211.tar.gz 2329732 SHA256 595aa593778beded801c12975f30ff1e78516654729afd2cfd8609121c50040f SHA512 85ec3768d72a56f2cab6ddfde01cf5c32871ec376c710d0dc3f7ac72e7bdfe9810c507b7ec8486d2802a30775e4bb87245d2dc00ee4b837956f9cd54f33811f0 WHIRLPOOL 4ca1af549e15b32b5693a77f16928b63dab680be9bb4ed2d5f4f34aea58b93294eedd5a0e6cf11c2b9a2c28f94bfdbcf3ed1213ab51d75c30dc3f261225b8c1d +DIST source-code-pro-20160608.tar.gz 8245124 SHA256 a4e4dd59b8e0a436b934f0f612c2e91b5932910c6d1c3b7d1a5a9f389c86302b SHA512 e4ff04ac926e07f4cfa824d3ff4c6c9475c5e0a4172ed055aac8c80378f79c0c5838214377a7ea3bc2bb3997804f5a1420abaae7bf13c6e4a4ffe6f82d01a2e3 WHIRLPOOL 171be8caf64e3c242fa4a57b0760863f64df9f989ce4fc4d35e04425a7d49154c973046eac072730a2878c9a551ff4ed0bc55200b62b602903b0b8fafcaeda88 DIST source-sans-pro-20141211.tar.gz 5503301 SHA256 e29660947d1a77bc2682b6036cfa4d644d9cdf00a272baaf60dda56e547c79e8 SHA512 9052a010e0635db84a3f09a3fa71a13db9c29c528b88f8a1f11d24f9a6f2be361d77fd902701e3fa674989034f01706cda1c600447c9f11db8c35c49c093d8e8 WHIRLPOOL 580743a724aad7371447cae09dddd1ae040d255035971942820f9c3ca17f719f77032c395efadb2b7ddeaf730ccd50052371a23e32ccfcf339f908bdbda3baf7 +DIST source-sans-pro-20160608.tar.gz 6735736 SHA256 bb45283fa9979c4821c99da3b54313012821aba0246e2ec0057f2b03ca24912c SHA512 877b47b203d6f8ee71e60ba612a25b5a1b707205b0a4aaf02cfe2c806466acc6d393c93ad2fd6e76d761150b2594fcd6abce7b3c0415b5b915b06c6c143b6b53 WHIRLPOOL 73bfca9c2d598aac9fa2786a6c2ff6216fc35d03dfb4948032526a26906f88c761387ac11afd84582d099e8a7ebc5f22fb74d7667c99aee37ab1b83b09fc530c DIST source-serif-pro-20141211.tar.gz 1528897 SHA256 2f4f75b53983a399472e6972829de4e9a4aac76ad70bd111688e50c97d240212 SHA512 d209ba66e0a16ff275ec11f322b940451b483f4295b1820f89e9895faa5271fc95e637d7c0e6b2a030b3438fa184de8076ba8e33fbcd9f7c36a6733c97bccf05 WHIRLPOOL 5f668190cdebc4d74562d8f4aa1c05048abce8b900c94600cf7611c455c6b73f569fa09951589045d6dda579433f0f027c945034d30cdc1b7f2ad2d4e2f30f46 +DIST source-serif-pro-20160608.tar.gz 1528897 SHA256 2f4f75b53983a399472e6972829de4e9a4aac76ad70bd111688e50c97d240212 SHA512 d209ba66e0a16ff275ec11f322b940451b483f4295b1820f89e9895faa5271fc95e637d7c0e6b2a030b3438fa184de8076ba8e33fbcd9f7c36a6733c97bccf05 WHIRLPOOL 5f668190cdebc4d74562d8f4aa1c05048abce8b900c94600cf7611c455c6b73f569fa09951589045d6dda579433f0f027c945034d30cdc1b7f2ad2d4e2f30f46 diff --git a/media-fonts/source-pro/source-pro-20160608.ebuild b/media-fonts/source-pro/source-pro-20160608.ebuild new file mode 100644 index 000000000000..5c6c135acbab --- /dev/null +++ b/media-fonts/source-pro/source-pro-20160608.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit font + +SANSV="2.020R-ro/1.075R-it" +SERIFV="1.017R" +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 +} |