source_pro: bump version.

* include serif and code fonts.
* rename to fit gentoo naming.
This commit is contained in:
Jerome Duval
2016-11-01 21:41:49 +00:00
parent d665e167ab
commit 2678a2e363
2 changed files with 48 additions and 47 deletions

View File

@@ -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}
}

View File

@@ -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}
}