aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/ttf-fonts/ttf-dejavu_agldemo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/ttf-fonts/ttf-dejavu_agldemo.inc')
-rw-r--r--recipes-graphics/ttf-fonts/ttf-dejavu_agldemo.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-graphics/ttf-fonts/ttf-dejavu_agldemo.inc b/recipes-graphics/ttf-fonts/ttf-dejavu_agldemo.inc
new file mode 100644
index 000000000..bb47bdc73
--- /dev/null
+++ b/recipes-graphics/ttf-fonts/ttf-dejavu_agldemo.inc
@@ -0,0 +1,12 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+DEPENDS_append = " 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
+}