mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
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:
28
media-fonts/noto_emoji/noto_emoji-20230311.recipe
Normal file
28
media-fonts/noto_emoji/noto_emoji-20230311.recipe
Normal 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}
|
||||
}
|
||||
25
media-fonts/noto_emoji_color/noto_emoji_color-2.038.recipe
Normal file
25
media-fonts/noto_emoji_color/noto_emoji_color-2.038.recipe
Normal 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}
|
||||
}
|
||||
Reference in New Issue
Block a user