diff --git a/recipes-integration/images/core-image-plasma-mobile.bb b/recipes-integration/images/core-image-plasma-mobile.bb index ca539db..035ce61 100644 --- a/recipes-integration/images/core-image-plasma-mobile.bb +++ b/recipes-integration/images/core-image-plasma-mobile.bb @@ -19,6 +19,7 @@ IMAGE_INSTALL = " \ sddm-config-plasma-mobile \ packagegroup-plasma-mobile \ ttf-noto \ + ttf-noto-emoji \ " SYSTEMD_DEFAULT_TARGET="graphical.target" diff --git a/recipes-support/ttf-noto-emoji_2.047.bb b/recipes-support/ttf-noto-emoji_2.047.bb new file mode 100644 index 0000000..fef9074 --- /dev/null +++ b/recipes-support/ttf-noto-emoji_2.047.bb @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2024 Marc Ferland +# +# SPDX-License-Identifier: MIT + +DESCRIPTION = "Google Noto Emoji fonts" +SECTION = "fonts" +HOMEPAGE = "https://fonts.google.com/noto" +LICENSE = "OFL-1.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cdc5040ed1e8cf5d3516f5285fd7b636" + +inherit allarch fontcache + +INHIBIT_DEFAULT_DEPS = "1" + +SRC_URI = "git://github.com/googlefonts/noto-emoji.git;protocol=https;branch=main" +SRCREV = "22e564626297b4df0a40570ad81d6c05cc7c38bd" +S = "${WORKDIR}/git" + +FILES:${PN} = "${datadir}/fonts/truetype" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -d ${D}${datadir}/fonts/truetype/ + install -m 0644 ${S}/fonts/NotoColorEmoji.ttf ${D}${datadir}/fonts/truetype +}