summaryrefslogtreecommitdiffstats
path: root/meta/classes/fontcache.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-04-07 13:21:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-21 07:20:25 +0100
commit29361a0e07e17dd9e002e2eb39b6e75c87dc772f (patch)
treed7c8a5b6621f1c232541922222caa26c4547bdf2 /meta/classes/fontcache.bbclass
parent71db5767a875ca2834eb2434ff67b4af56d77920 (diff)
downloadpoky-29361a0e07e17dd9e002e2eb39b6e75c87dc772f.tar.gz
fontcache: allow to pass different fontconfig cache dir
(From OE-Core rev: 40f7986313277ef815b19331388bca124187bfeb) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/fontcache.bbclass')
-rw-r--r--meta/classes/fontcache.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass
index dfbdfa1e02..d122387ffd 100644
--- a/meta/classes/fontcache.bbclass
+++ b/meta/classes/fontcache.bbclass
@@ -8,11 +8,11 @@ inherit qemu
8 8
9FONT_PACKAGES ??= "${PN}" 9FONT_PACKAGES ??= "${PN}"
10FONT_EXTRA_RDEPENDS ?= "fontconfig-utils" 10FONT_EXTRA_RDEPENDS ?= "fontconfig-utils"
11 11FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
12fontcache_common() { 12fontcache_common() {
13if [ "x$D" != "x" ] ; then 13if [ "x$D" != "x" ] ; then
14 $INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} mlprefix=${MLPREFIX} bindir=${bindir} \ 14 $INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} mlprefix=${MLPREFIX} bindir=${bindir} \
15 libdir=${libdir} base_libdir=${base_libdir} localstatedir=${localstatedir} 15 libdir=${libdir} base_libdir=${base_libdir} fontconfigcachedir=${FONTCONFIG_CACHE_DIR}
16else 16else
17 fc-cache 17 fc-cache
18fi 18fi