summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
blob: bf79e949e1529c104c6af8a4f981499fce645a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS += "fontforge-native"

# From the orginal work located at https://aur.archlinux.org/packages/ttf-dejavu-emojiless/

SRC_URI_append = "\
    file://cleaner.py \
    file://emoji.json \
    "

do_install_prepend() {
    for TTF in ${S}/*.ttf; do
        fontforge -script ${WORKDIR}/cleaner.py ${TTF}
    done
}