From 22aa532b4b91350ff9f8e2322f59a3c8e8db5418 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Mon, 16 Sep 2019 08:07:05 +0300 Subject: graphic: rename noto-emoji recipe to show release date SRCREV isn't autoreved so it should reflect the commit referenced date. Bug-AGL: SPEC-2701 Change-Id: Ia72cea6920a8baf66b873dd8ddd5652e24aa5499 Signed-off-by: Matt Ranostay --- recipes-graphics/noto-emoji/noto-emoji_20190815.bb | 25 ++++++++++++++++++++++ recipes-graphics/noto-emoji/noto-emoji_git.bb | 25 ---------------------- 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 recipes-graphics/noto-emoji/noto-emoji_20190815.bb delete mode 100644 recipes-graphics/noto-emoji/noto-emoji_git.bb (limited to 'recipes-graphics') diff --git a/recipes-graphics/noto-emoji/noto-emoji_20190815.bb b/recipes-graphics/noto-emoji/noto-emoji_20190815.bb new file mode 100644 index 000000000..d3c39b595 --- /dev/null +++ b/recipes-graphics/noto-emoji/noto-emoji_20190815.bb @@ -0,0 +1,25 @@ +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/noto-emoji/noto-emoji_git.bb b/recipes-graphics/noto-emoji/noto-emoji_git.bb deleted file mode 100644 index d3c39b595..000000000 --- a/recipes-graphics/noto-emoji/noto-emoji_git.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" -- cgit 1.2.3-korg