ttf-noto-emoji: upgrade 20200916 -> 2.051

- NotoEmoji-Regular.ttf was removed upstream in https://github.com/googlefonts/noto-emoji/commit/1442f6acc8463c428c8b38fc558e87c28d8efa5b
- A new COLRv1 format is provided, with a smaller file-size

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Etienne Cordonnier
2026-07-06 11:00:06 +02:00
committed by Khem Raj
parent 9796702aa7
commit 9aef1f7ee6
3 changed files with 26 additions and 19 deletions
@@ -556,7 +556,9 @@ RDEPENDS:packagegroup-meta-oe-graphics = "\
ttf-lklug \
ttf-lohit \
ttf-noto-emoji-color \
ttf-noto-emoji-regular \
ttf-noto-emoji-color-noflags \
ttf-noto-emoji-colrv1 \
ttf-noto-emoji-colrv1-noflags \
ttf-pt-sans \
ttf-roboto \
ttf-sazanami-gothic \
@@ -0,0 +1,23 @@
require ttf.inc
SUMMARY = "Google noto emoji font pack"
HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
SRC_URI = "git://github.com/googlefonts/noto-emoji;branch=main;protocol=https"
SRCREV = "8998f5dd683424a73e2314a8c1f1e359c19e8742"
PE = "1"
PACKAGES =+ "${PN}-color ${PN}-color-noflags ${PN}-colrv1 ${PN}-colrv1-noflags"
FONT_PACKAGES = "${PN} ${PN}-color ${PN}-color-noflags ${PN}-colrv1 ${PN}-colrv1-noflags"
FILES:${PN} = "${datadir}/fonts/truetype/*.ttf"
FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
FILES:${PN}-color-noflags = "${datadir}/fonts/truetype/NotoColorEmoji-noflags.ttf"
# The COLRv1 format is a color scalable font compared with the previous color bitmap fonts.
# COLRv1 is significantly smaller than the color bitmap format (~5MB vs ~11MB).
FILES:${PN}-colrv1 = "${datadir}/fonts/truetype/Noto-COLRv1.ttf"
FILES:${PN}-colrv1-noflags = "${datadir}/fonts/truetype/Noto-COLRv1-noflags.ttf"
do_compile[noexec] = "1"
@@ -1,18 +0,0 @@
require ttf.inc
SUMMARY = "Google noto emoji font pack"
HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
SRC_URI = "git://github.com/googlefonts/noto-emoji;branch=main;protocol=https"
SRCREV = "aac7ccaa4d1dea4543453b96f7d6fc47066a57ff"
PACKAGES = "${PN}-color ${PN}-regular"
FONT_PACKAGES = "${PN}-color ${PN}-regular"
FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
do_compile[noexec] = "1"