summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend')
-rw-r--r--recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend b/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
new file mode 100644
index 000000000..bf79e949e
--- /dev/null
+++ b/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
@@ -0,0 +1,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
+}