mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Restore noto_sans_cjk.
This commit is contained in:
71
media-fonts/noto_sans_cjk/noto_sans_cjk-1.001.recipe
Normal file
71
media-fonts/noto_sans_cjk/noto_sans_cjk-1.001.recipe
Normal file
@@ -0,0 +1,71 @@
|
||||
LANG_EN="CJK languages"
|
||||
LANG_DL="CJK"
|
||||
LANG_LC="cjk"
|
||||
|
||||
SUMMARY="The Noto Sans font for $LANG_EN"
|
||||
DESCRIPTION="\
|
||||
The Noto font family attempts to create a uniform look for all languages on \
|
||||
Earth. This package contains the Noto Sans fonts for $LANG_EN.
|
||||
"
|
||||
HOMEPAGE="https://www.google.com/get/noto/"
|
||||
|
||||
# As of December 2014, four packaging formats are provided:
|
||||
# 1. Super OTC (TTC) for all languages and weights
|
||||
# 2. One OTC (OpenType TTC) per weight
|
||||
# 3. One OTF with all glyphs per default language
|
||||
# 4. One OTF per language per weight
|
||||
#
|
||||
# I am using #3 with Japanese here. Rationale:
|
||||
# 1. Not supported by Haiku right now.
|
||||
# 2. Only the name "Noto Sans CJK Japanese" is shown, even though all glyphs
|
||||
# are included and render correctly, which is confusing compared to #3.
|
||||
# 3. Although it's not optimal to discriminate against three languages for
|
||||
# one default language, this is the best choice right now. All glyphs
|
||||
# render correctly, is smaller than #2, and its name is a unconfusing
|
||||
# "Noto Sans CJK." Plus in Haiku #2 has a default language anyway.
|
||||
# 4. It's too big.
|
||||
|
||||
# Using a specific Git commit for permanent linking.
|
||||
SOURCE_URI="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-Regular.otf#noarchive"
|
||||
SOURCE_URI_2="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-Thin.otf#noarchive"
|
||||
SOURCE_URI_3="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-Bold.otf#noarchive"
|
||||
SOURCE_URI_4="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-Light.otf#noarchive"
|
||||
SOURCE_URI_5="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-DemiLight.otf#noarchive"
|
||||
SOURCE_URI_6="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-Medium.otf#noarchive"
|
||||
SOURCE_URI_7="https://noto.googlecode.com/git-history/da238c975c00/third_party/noto_${LANG_LC}/NotoSans${LANG_DL}-Black.otf#noarchive"
|
||||
|
||||
CHECKSUM_SHA256="2b1304a1a2d6b811a38c2c90a2be503cbac0bfbf4d8b0e6a6a598146564a61ad"
|
||||
CHECKSUM_SHA256_2="657417baad497ecb66709f4b9198f29bc1dda70b5ba559ef6375d3d0406b89f7"
|
||||
CHECKSUM_SHA256_3="fd2fd3c84008b16fda09233e254ac0602e56b1f6f8b2a6e8b5049c5a19017946"
|
||||
CHECKSUM_SHA256_4="639e8a8ab1fc7c5d63789df3f99b7e145d1bcc757ed2006a177eab535eafbc6c"
|
||||
CHECKSUM_SHA256_5="3466d9a677be4fa754ca460ad7898c5a3bce6649ab1b09635a14bc1a96f5cd53"
|
||||
CHECKSUM_SHA256_6="ecc27c09875de097570c6c3a88d6a359e4193b9c2acf2087a48b4ddee87bb9b7"
|
||||
CHECKSUM_SHA256_7="e6e04ca22f7182eb87277d476564637b714a022cee51497737b0639e88c9f2a7"
|
||||
|
||||
LICENSE="Apache v2"
|
||||
COPYRIGHT="2014 Adobe Systems Incorporated"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
PROVIDES="
|
||||
noto_sans_${LANG_LC}=$portVersion
|
||||
"
|
||||
REQUIRES=" "
|
||||
BUILD_REQUIRES=" "
|
||||
BUILD_PREREQUIRES="
|
||||
coreutils
|
||||
cmd:find
|
||||
"
|
||||
SOURCE_DIR=""
|
||||
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
FONTDIR=$fontsDir/otfonts
|
||||
mkdir -p ${FONTDIR}
|
||||
cp `find ../sources* -type f -name \*.otf` ${FONTDIR}
|
||||
}
|
||||
Reference in New Issue
Block a user