mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
The previous recipe used imprecise pattern matching which led to some important fonts being put in the regional package. This in turn led to missing block characters in Terminal, breaking our progress bars, for example.
91 lines
2.7 KiB
Bash
91 lines
2.7 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. Also included is an unhinted \
|
|
'symbols' font."
|
|
|
|
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, Hindi
|
|
Kannada, Khmer
|
|
Lao
|
|
Malayalam, Myanmar
|
|
Oriya
|
|
Sinhala
|
|
Tamil, Telugu, Thaana, Thai, Tibetan"
|
|
HOMEPAGE="https://www.google.com/get/noto/"
|
|
COPYRIGHT="2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/)
|
|
2015, 2016, 2017 Google Inc"
|
|
LICENSE="SIL Open Font License v1.1"
|
|
REVISION="2"
|
|
srcGitRev="5a89b487c648c34c2b6d1b9ebb73bb3fab1df4b2"
|
|
SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="9b997df64075f2607d44a080dbe8d4c5890a7210c9ca755aa06244f4a4c23880"
|
|
SOURCE_DIR="noto-fonts-$srcGitRev"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE=yes
|
|
|
|
PROVIDES="
|
|
noto = $portVersion
|
|
"
|
|
|
|
PROVIDES_chroscore="
|
|
noto_chroscore = $portVersion
|
|
"
|
|
|
|
PROVIDES_regional="
|
|
noto_regional = $portVersion
|
|
"
|
|
|
|
# Enable bash extended globbing to more easily exclude non-regional fonts from
|
|
# the regional package.
|
|
shopt -s extglob
|
|
|
|
INSTALL()
|
|
{
|
|
FONTDIR=$fontsDir/ttfonts
|
|
mkdir -p ${FONTDIR}
|
|
|
|
rm -f 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}/Noto!(*Display*.ttf|Mono-*.ttf|Sans-*.ttf|SansMono-*.ttf|Serif-*.ttf|*Symbols*.ttf)
|
|
}
|