summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/fontconfig
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-04-21 12:53:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 15:02:38 +0100
commit80bc382c62a55d9502504e5b77744b3bd0f981ab (patch)
treedad4ed0c619b25eb084109835e7f265614d1b36b /meta/recipes-graphics/fontconfig
parent0dc2a530dfeadccd7b3baa2d8f5a478aa7ead1fb (diff)
downloadpoky-80bc382c62a55d9502504e5b77744b3bd0f981ab.tar.gz
poky-80bc382c62a55d9502504e5b77744b3bd0f981ab.tar.bz2
poky-80bc382c62a55d9502504e5b77744b3bd0f981ab.zip
fontcache: allow to pass different fontconfig cache dir
(From OE-Core rev: fc732ee788a254ec388cff8fe5619348014255d3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/fontconfig')
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb
index 797b3218b5..7c5b4b4bf9 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb
@@ -37,6 +37,8 @@ DEBIAN_NOAUTONAME_fontconfig-utils = "1"
inherit autotools pkgconfig
-EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts"
+FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
+
+EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts --with-cache-dir=${FONTCONFIG_CACHE_DIR}"
BBCLASSEXTEND = "native"