noto: Move "Condensed" fonts to a "_condensed" package.

Shaves 90MB off the main Noto package. Closes #1805.
This commit is contained in:
Augustin Cavalier
2017-12-10 14:11:26 -05:00
parent a0fdf8cf1f
commit ce55a5a91b
2 changed files with 38 additions and 6 deletions

View File

@@ -19,6 +19,15 @@ a page.
This package contains the Chrome OS core fonts: Arimo and Cousine have a \ This package contains the Chrome OS core fonts: Arimo and Cousine have a \
'sans-serif' typeface, Tinos is a 'serif' font." 'sans-serif' typeface, Tinos is a 'serif' font."
SUMMARY_condensed="The Noto font (condensed variants)"
DESCRIPTION_condensed="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 condensed variants of the core Noto fonts."
SUMMARY_regional="The Noto font (special language/region version)" SUMMARY_regional="The Noto font (special language/region version)"
DESCRIPTION_regional="The Noto fonts have superseded the Droid fonts, \ DESCRIPTION_regional="The Noto fonts have superseded the Droid fonts, \
which were originally designed for the use in Google's Android. \ which were originally designed for the use in Google's Android. \
@@ -44,10 +53,10 @@ Oriya
Sinhala Sinhala
Tamil, Telugu, Thaana, Thai, Tibetan" Tamil, Telugu, Thaana, Thai, Tibetan"
HOMEPAGE="https://www.google.com/get/noto/" HOMEPAGE="https://www.google.com/get/noto/"
COPYRIGHT="2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/) COPYRIGHT="2015, 2016, 2017 Google Inc.
2015, 2016, 2017 Google Inc" 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/)"
LICENSE="SIL Open Font License v1.1" LICENSE="SIL Open Font License v1.1"
REVISION="2" REVISION="3"
srcGitRev="5a89b487c648c34c2b6d1b9ebb73bb3fab1df4b2" srcGitRev="5a89b487c648c34c2b6d1b9ebb73bb3fab1df4b2"
SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz" SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="9b997df64075f2607d44a080dbe8d4c5890a7210c9ca755aa06244f4a4c23880" CHECKSUM_SHA256="9b997df64075f2607d44a080dbe8d4c5890a7210c9ca755aa06244f4a4c23880"
@@ -64,6 +73,10 @@ PROVIDES_chroscore="
noto_chroscore = $portVersion noto_chroscore = $portVersion
" "
PROVIDES_condensed="
noto_condensed = $portVersion
"
PROVIDES_regional=" PROVIDES_regional="
noto_regional = $portVersion noto_regional = $portVersion
" "
@@ -85,6 +98,9 @@ INSTALL()
${FONTDIR}/Cousine*.ttf \ ${FONTDIR}/Cousine*.ttf \
${FONTDIR}/Tinos*.ttf ${FONTDIR}/Tinos*.ttf
packageEntries condensed \
${FONTDIR}/*Condensed*.ttf
packageEntries regional \ packageEntries regional \
${FONTDIR}/Noto!(*Display*.ttf|Mono-*.ttf|Sans-*.ttf|SansMono-*.ttf|Serif-*.ttf|*Symbols*.ttf) ${FONTDIR}/Noto!(*Display*.ttf|Mono-*.ttf|Sans-*.ttf|SansMono-*.ttf|Serif-*.ttf|*Symbols*.ttf)
} }

View File

@@ -19,6 +19,15 @@ a page.
This package contains the Chrome OS core fonts: Arimo and Cousine have a \ This package contains the Chrome OS core fonts: Arimo and Cousine have a \
'sans-serif' typeface, Tinos is a 'serif' font." 'sans-serif' typeface, Tinos is a 'serif' font."
SUMMARY_condensed="The Noto font (condensed variants)"
DESCRIPTION_condensed="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 condensed variants of the core Noto fonts."
SUMMARY_regional="The Noto font (special language/region version)" SUMMARY_regional="The Noto font (special language/region version)"
DESCRIPTION_regional="The Noto fonts have superseded the Droid fonts, \ DESCRIPTION_regional="The Noto fonts have superseded the Droid fonts, \
which were originally designed for the use in Google's Android. \ which were originally designed for the use in Google's Android. \
@@ -44,10 +53,10 @@ Oriya
Sinhala Sinhala
Tamil, Telugu, Thaana, Thai, Tibetan" Tamil, Telugu, Thaana, Thai, Tibetan"
HOMEPAGE="https://www.google.com/get/noto/" HOMEPAGE="https://www.google.com/get/noto/"
COPYRIGHT="2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/) COPYRIGHT="2015, 2016, 2017 Google Inc.
2015, 2016, 2017 Google Inc" 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/)"
LICENSE="SIL Open Font License v1.1" LICENSE="SIL Open Font License v1.1"
REVISION="3" REVISION="4"
srcGitRev="95558bd828a48c17a5cbe7f9d971495afcd16abd" srcGitRev="95558bd828a48c17a5cbe7f9d971495afcd16abd"
SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz" SOURCE_URI="https://github.com/googlei18n/noto/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="41b6eded5544d9c38ac9b897d43e582f1cc49e62c5e4e7fa6955a306b67f3c68" CHECKSUM_SHA256="41b6eded5544d9c38ac9b897d43e582f1cc49e62c5e4e7fa6955a306b67f3c68"
@@ -64,6 +73,10 @@ PROVIDES_chroscore="
noto_chroscore = $portVersion noto_chroscore = $portVersion
" "
PROVIDES_condensed="
noto_condensed = $portVersion
"
PROVIDES_regional=" PROVIDES_regional="
noto_regional = $portVersion noto_regional = $portVersion
" "
@@ -86,6 +99,9 @@ INSTALL()
${FONTDIR}/Cousine*.ttf \ ${FONTDIR}/Cousine*.ttf \
${FONTDIR}/Tinos*.ttf ${FONTDIR}/Tinos*.ttf
packageEntries condensed \
${FONTDIR}/*Condensed*.ttf
packageEntries regional \ packageEntries regional \
${FONTDIR}/Noto!(*Display*.ttf|Mono-*.ttf|Sans-*.ttf|SansMono-*.ttf|Serif-*.ttf|*Symbols*.ttf) ${FONTDIR}/Noto!(*Display*.ttf|Mono-*.ttf|Sans-*.ttf|SansMono-*.ttf|Serif-*.ttf|*Symbols*.ttf)
} }