SUMMARY="The Noto emoji font"
DESCRIPTION="Fonts containing Unicode emoji characters"
HOMEPAGE="https://www.google.com/get/noto/"
COPYRIGHT="2015-2020 Google Inc."
LICENSE="SIL Open Font License v1.1"
REVISION="1"
srcGitRev="v2020-09-16-unicode13_1"
SOURCE_URI="https://github.com/googlei18n/noto-emoji/archive/$srcGitRev.tar.gz"
SOURCE_FILENAME="noto-emoji-$srcGitRev.tar.gz"
CHECKSUM_SHA256="13ad521b42e395751c72c0bf5585bd354d2383c65abe1a6227743fa8661e0feb"
SOURCE_DIR="noto-emoji-2020-09-16-unicode13_1"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	noto_emoji = $portVersion
	"

PROVIDES_color="
	noto_emoji_color = $portVersion
	"

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}

	cp fonts/NotoColorEmoji.ttf fonts/NotoEmoji-Regular.ttf ${FONTDIR}

	packageEntries color ${FONTDIR}/NotoColorEmoji.ttf
}
