Files
haikuports/media-fonts/noto/noto-20160613.recipe
Humdinger 5e65d6159f Increase revision of Noto recipe
Sorry for missing that in the last commit.
2016-10-12 08:25:24 +02:00

99 lines
2.6 KiB
Bash

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="19ce9d5549adbe438e641871b66f1b7564f07363"
SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="4f9fb709f6e775be11f3b60d1f1e5ac3c2de19c39c8f7b5ddadbc53ba029a387"
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
}