Skip to contentSkip to conversation

ttf-noto-emoji: add recipe

PATCH Superseded Matt Ranostay 2 participants 2 messages Feb 24, 2020

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ttf-noto-emoji: add recipe

Add both B/W and color emojis fonts from the noto-emoji project.

Important note for the color emojis to render the pixmap PACKAGECONFIG option needs to be set in freetype package.

---
 .../ttf-fonts/ttf-noto-emoji_20190815.bb      | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb new file +19 -0
new file mode 100644
index 000000000..e35e08ae1
@@ -0,0 +1,19 @@
+require ttf.inc
+
+SUMMARY = "Google noto emoji font pack"
+HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM = "file://${S}/fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"
+
+SRC_URI = "git://github.com/googlefonts/noto-emoji;protocol=https;branch=master"
+SRCREV = "833a43d03246a9325e748a2d783006454d76ff66"
+
+PACKAGES = "${PN}-color ${PN}-regular"
+FONT_PACKAGES = "${PN}-color ${PN}-regular"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
+FILES_${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
+
+do_compile[noexec] = "1"
Signature · 1 line
2.20.1
#1 lore raw
Quoted 25 lines · Matt Ranostay

Add both B/W and color emojis fonts from the noto-emoji project.

Important note for the color emojis to render the pixmap PACKAGECONFIG option needs to be set in freetype package.

---
 .../ttf-fonts/ttf-noto-emoji_20190815.bb      | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/ttf-fonts/

ttf-noto-emoji_20190815.bb

meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb new file +6 -0
new file mode 100644
index 000000000..e35e08ae1
@@ -0,0 +1,19 @@
+require ttf.inc
+
+SUMMARY = "Google noto emoji font pack"
+HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
+LICENSE = "OFL-1.1"
+LIC_FILES_CHKSUM =
Quoted 1 line

"file://${S}/fonts/LICENSE;md5=55719faa0112708e946b820b24b14097"

Do we need S here ?

Quoted 4 lines
meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb new file +2 -0
+
+SRC_URI = "git://

github.com/googlefonts/noto-emoji;protocol=https;branch=master"

Drop branch here master is default

meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb

Quoted 12 lines
meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb new file +11 -0
+SRCREV = "833a43d03246a9325e748a2d783006454d76ff66"
+
+PACKAGES = "${PN}-color ${PN}-regular"
+FONT_PACKAGES = "${PN}-color ${PN}-regular"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
+FILES_${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
+
+do_compile[noexec] = "1”

I wonder how f this should simply use deltask here

Quoted 10 lines

--
2.20.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel