aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-08-20 03:33:02 +0300
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-09-07 02:57:24 +0000
commit87fa339a50f1b3a4e5a7ce4ef71a974bf29f1540 (patch)
treea236e64adc4a938f1e30059abb83a8544ddab2c8 /recipes-graphics
parentf19f2f6572adf3825e60ceb5e18e3e35d1995bec (diff)
graphics: add noto-emoji git recipe
Add color emoji support to AGL via the noto-emoji font. Bug-AGL: SPEC-2701 Change-Id: Idf21d5c3f8ac2fe0fe25945b6dca1d8956fb7f7b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit c0a8b9e819a2ca473aabb91feac9833f0397e8c3)
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/noto-emoji/noto-emoji_git.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-graphics/noto-emoji/noto-emoji_git.bb b/recipes-graphics/noto-emoji/noto-emoji_git.bb
new file mode 100644
index 000000000..416f568fe
--- /dev/null
+++ b/recipes-graphics/noto-emoji/noto-emoji_git.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Google noto emoji font pack"
+HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
+SECTION = "fonts"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI = "git://github.com/googlefonts/noto-emoji;protocol=https;branch=master"
+SRCREV = "833a43d03246a9325e748a2d783006454d76ff66"
+
+RDEPENDS_${PN} = "fontconfig"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -m 0755 -d ${D}/${datadir}/fonts/ttf
+ install -m 0644 -p ${S}/NotoColorEmoji.ttf ${D}/${datadir}/fonts/ttf
+}
+
+FILES_${PN} += "${datadir}/fonts/ttf/NotoColorEmoji.ttf"
+
+inherit allarch fontcache
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"