aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
blob: 159865860b583bf5c718be958e7c4a0afb48ef81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"

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