From 2678a2e363810e36b8febe8f66fadb191302bb3e Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 1 Nov 2016 21:41:49 +0000 Subject: [PATCH] source_pro: bump version. * include serif and code fonts. * rename to fit gentoo naming. --- .../source_pro/source_pro-20160608.recipe | 48 +++++++++++++++++++ .../source_sans_pro-1.0.recipe | 47 ------------------ 2 files changed, 48 insertions(+), 47 deletions(-) create mode 100644 media-fonts/source_pro/source_pro-20160608.recipe delete mode 100644 media-fonts/source_sans_pro/source_sans_pro-1.0.recipe diff --git a/media-fonts/source_pro/source_pro-20160608.recipe b/media-fonts/source_pro/source_pro-20160608.recipe new file mode 100644 index 00000000000..13db2da4b9f --- /dev/null +++ b/media-fonts/source_pro/source_pro-20160608.recipe @@ -0,0 +1,48 @@ +SUMMARY="The Source Pro Font Family" +DESCRIPTION="Source Sans Pro is a set of OpenType fonts that have been \ +designed to work well in user interfaces (UI) environments. +Source Serif Pro is a set of OpenType fonts to complement the Source Sans \ +Pro family. +Source Code Pro is a set of OpenType monospaced fonts for user interface \ +and coding 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/" +SOURCE_URI="http://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it.tar.gz" +SOURCE_URI_2="http://github.com/adobe-fonts/source-serif-pro/archive/1.017R.tar.gz" +SOURCE_URI_3="http://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.tar.gz" +CHECKSUM_SHA256="bb45283fa9979c4821c99da3b54313012821aba0246e2ec0057f2b03ca24912c" +CHECKSUM_SHA256_2="2f4f75b53983a399472e6972829de4e9a4aac76ad70bd111688e50c97d240212" +CHECKSUM_SHA256_3="a4e4dd59b8e0a436b934f0f612c2e91b5932910c6d1c3b7d1a5a9f389c86302b" +SOURCE_FILENAME="source-sans-pro-$portVersion.tar.gz" +SOURCE_FILENAME_2="source-serif-pro-$portVersion.tar.gz" +SOURCE_FILENAME_3="source-code-pro-$portVersion.tar.gz" +SOURCE_DIR="source-sans-pro-2.020R-ro-1.075R-it" +SOURCE_DIR_2="source-serif-pro-1.017R" +SOURCE_DIR_3="source-code-pro-2.030R-ro-1.050R-it" +LICENSE="SIL Open Font License v1.1" +COPYRIGHT="2010, 2012, 2014-2016 Adobe Systems Incorporated" +REVISION="1" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES="source_pro = $portVersion" +REQUIRES="" +BUILD_REQUIRES="" +BUILD_PREREQUIRES="coreutils" + +BUILD() +{ + true +} + +INSTALL() +{ + FONTDIR=$fontsDir/ttfonts + mkdir -p ${FONTDIR} + cp TTF/*.ttf ${FONTDIR} + cp $sourceDir2/TTF/*.ttf ${FONTDIR} + cp $sourceDir3/TTF/*.ttf ${FONTDIR} +} diff --git a/media-fonts/source_sans_pro/source_sans_pro-1.0.recipe b/media-fonts/source_sans_pro/source_sans_pro-1.0.recipe deleted file mode 100644 index 67e2cc7937f..00000000000 --- a/media-fonts/source_sans_pro/source_sans_pro-1.0.recipe +++ /dev/null @@ -1,47 +0,0 @@ -SUMMARY="The Source Sans Pro Font" -DESCRIPTION="\ -Source Sans Pro was designed by Paul D. Hunt under the guidance of Robert Slimbach. \ -It is Adobe's first open source typeface family, conceived primarily as a typeface \ -for user interfaces. Source Sans Pro draws inspiration from the clarity and legibility \ -of twentieth-century American gothic typeface designs. Distilling the best \ -archetypical qualities of these models, Paul followed a rational design approach by \ -simplifying glyph shapes by paring them to their essential form. However, in order \ -to more easily differentiate similar letter shapes (such as uppercase I and lowercase L), \ -some additional details have been added. Besides providing such explicitly \ -clarity in short text strings, another fundamental design consideration was to create \ -a typeface that reads well in extended settings. This can be seen in the general \ -proportions: Source Sans Pro has been designed with a more generous width than many \ -other comparable gothics, and its shorter majuscule letters, combined with minuscule \ -letters with longer extenders, create a more pleasant reading texture in longer text passages. -" -HOMEPAGE="https://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1959" -# From Google fonts, -# http://www.google.com/fonts#UsePlace:use/Collection:Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic -# Leave out the checksum here as the file is generated on the fly. -SOURCE_URI="http://www.google.com/fonts/download?kit=oSlYq_wYbrV5L-loA5QUynXmVIqD4Rma_X5NukQ7EX0" -SOURCE_FILENAME="Source_Sans_Pro.zip" -LICENSE="SIL Open Font License v1.1" -COPYRIGHT="2010, 2012, 2014 Adobe Systems Incorporated" -REVISION="1" - -ARCHITECTURES="any" -DISABLE_SOURCE_PACKAGE=yes - -PROVIDES="source_sans_pro = $portVersion" -REQUIRES="" -BUILD_REQUIRES="" -BUILD_PREREQUIRES="coreutils" - -SOURCE_DIR="" - -BUILD() -{ - true -} - -INSTALL() -{ - FONTDIR=$fontsDir/ttfonts - mkdir -p ${FONTDIR} - cp *.ttf ${FONTDIR} -}