aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/noto-emoji/noto-emoji_git.bb
blob: d3c39b5952e9488d98ef3a5d229dae558804028a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"