Put Noto Emoji and Noto Color Emoji into different packages. (#7947)

They used to be developped and shipped together by Google, but they are now two independant projects.
We can ship them as two different packages, which allows to ship only the monochrome version in Haiku,
since color emojis are not supported by app_server yet anyways.
This commit is contained in:
nephele
2023-08-07 19:41:33 +02:00
committed by GitHub
parent e128bc368d
commit cb5230807a
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
SUMMARY="The Noto emoji font"
DESCRIPTION="Fonts containing Unicode emoji characters"
HOMEPAGE="https://fonts.google.com/download?family=Noto%20Emoji"
COPYRIGHT="2015-2023 Google Inc."
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://fonts.google.com/download?family=Noto%20Emoji"
SOURCE_FILENAME="noto-emoji.zip"
CHECKSUM_SHA256="d1c824c449a22fcc14360fe1d23cd0840e83a6621c85a2cf32380663d36e721e"
SOURCE_DIR=""
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
noto_emoji = $portVersion
"
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp NotoEmoji-VariableFont_wght.ttf static/NotoEmoji-Bold.ttf static/NotoEmoji-Light.ttf \
static/NotoEmoji-Medium.ttf static/NotoEmoji-Regular.ttf static/NotoEmoji-SemiBold.ttf \
${FONTDIR}
}

View File

@@ -0,0 +1,25 @@
SUMMARY="The Noto emoji colorfont"
DESCRIPTION="Fonts containing Colorfull Unicode emoji characters"
HOMEPAGE="https://www.google.com/get/noto/"
COPYRIGHT="2015-2022 Google Inc."
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/googlei18n/noto-emoji/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="noto-emoji-v$portVersion.tar.gz"
CHECKSUM_SHA256="47d8b39733a1e82efced7dee96e30cb31d205b150dc3ca44d59abbb22d027195"
SOURCE_DIR="noto-emoji-$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
noto_emoji_color = $portVersion
"
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp fonts/NotoColorEmoji.ttf fonts/Noto-COLRv1.ttf ${FONTDIR}
}