summaryrefslogtreecommitdiffstats
path: root/meta-agl-demo/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /meta-agl-demo/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'meta-agl-demo/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend')
-rw-r--r--meta-agl-demo/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-agl-demo/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend b/meta-agl-demo/recipes-graphics/ttf-fonts/ttf-dejavu_%.bbappend
new file mode 100644
index 00000000..bf79e949
--- /dev/null
+++ b/meta-agl-demo/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
+}