New versions of DejaVu and Noto fonts

This commit is contained in:
Humdinger
2017-02-03 16:20:48 +01:00
parent f63ce99fee
commit 859a17f75a
2 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
SUMMARY="The DejaVu font family with improved Vera fonts"
DESCRIPTION="This package includes the DejaVu Serif, Sans (proportional), \
DejaVu Sans Mono (monospaced) fonts and DejaVu Math Tex Gyre.
The fonts are based on the Vera fonts open-sourced by Bitstream, and the Arev \
fonts."
HOMEPAGE="http://dejavu-fonts.org/"
COPYRIGHT="2003 Bitstream, Inc.
2006 Tavmjong Bah"
LICENSE="Bitstream Vera
Arev Fonts"
REVISION="1"
SOURCE_URI="https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_2_37/dejavu-fonts-ttf-$portVersion.tar.bz2"
CHECKSUM_SHA256="fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7"
SOURCE_DIR="dejavu-fonts-ttf-$portVersion/ttf"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
dejavu = $portVersion
"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}

View File

@@ -0,0 +1,97 @@
SUMMARY="The Noto font"
DESCRIPTION="The Noto fonts have superseded the Droid fonts, which were \
originally designed for the use in Google's Android. Noto's aim is to be a \
free for everyone, with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the 'sans-serif' and 'serif' typefaces in various \
styles, as well as a 'monospaced' version."
SUMMARY_chroscore="The Noto font (Chrome OS core font)"
DESCRIPTION_chroscore="The Noto fonts have superseded the Droid fonts, which \
were originally designed for the use in Google's Android. Noto's aim is to be \
a free for everyone, with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the Chrome OS core fonts: Arimo and Cousine have a \
'sans-serif' typeface, Tinos is a 'serif' font."
SUMMARY_regional="The Noto font (special language/region version)"
DESCRIPTION_regional="The Noto fonts have superseded the Droid fonts, which were \
originally designed for the use in Google's Android. Noto's aim is to be a \
free for everyone, with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the Noto fonts ('sans-serif' and where applicable \
'serif') for:
Arabic, Armenian
Bengali
Cham
Devanagari
Ethiopic
Georgian, Gujarati, Gurmukhi
Hebrew
Kannada, Khmer
Lao
Malayalam, Myanmar
Oriya
Sinhala
Tamil, Telugu, Thaana, Thai, Tibetan"
HOMEPAGE="https://www.google.com/get/noto/"
COPYRIGHT="2012 Google Inc."
LICENSE="SIL Open Font License v1.1"
REVISION="4"
srcGitRev="06af4e9c12960976001174449abdc6d8fc1fecd4"
SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="c4e6c32873a036987c5376ede762df7dce2dca4cf0f045cdd314f52d7e76f022"
SOURCE_DIR="noto-fonts-$srcGitRev"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
noto=$portVersion
"
REQUIRES=""
PROVIDES_chroscore="
noto_chroscore=$portVersion
"
REQUIRES_chroscore=""
PROVIDES_regional="
noto_regional=$portVersion
"
REQUIRES_regional=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
rm hinted/*UI-*.ttf # remove unneeded UI versions
cp hinted/*.ttf ${FONTDIR}
packageEntries chroscore \
${FONTDIR}/Arimo*.ttf \
${FONTDIR}/Cousine*.ttf \
${FONTDIR}/Tinos*.ttf
packageEntries regional \
${FONTDIR}/NotoKufi[^-]*.ttf \
${FONTDIR}/NotoNaskh[^-U]*.ttf \
${FONTDIR}/NotoSans[^-U]*.ttf \
${FONTDIR}/NotoSerif[^-]*.ttf
}