summaryrefslogtreecommitdiffstats
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 00000000..08b6aa49
--- /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
+}