aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/noto-emoji/noto-emoji_20190815.bb25
-rw-r--r--recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb19
2 files changed, 19 insertions, 25 deletions
diff --git a/recipes-graphics/noto-emoji/noto-emoji_20190815.bb b/recipes-graphics/noto-emoji/noto-emoji_20190815.bb
deleted file mode 100644
index d3c39b595..000000000
--- a/recipes-graphics/noto-emoji/noto-emoji_20190815.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-SUMMARY = "Google noto emoji font pack"
-HOMEPAGE = "https://github.com/googlefonts/noto-emoji"
-SECTION = "fonts"
-
-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"
-
-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"
diff --git a/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb b/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
new file mode 100644
index 000000000..38aaa4ebb
--- /dev/null
+++ b/recipes-graphics/ttf-fonts/ttf-noto-emoji_20190815.bb
@@ -0,0 +1,19 @@
+require ../../../external/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/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;protocol=https"
+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"