mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
fontcache: allow to pass different fontconfig cache dir
(From OE-Core rev: adfb970efcb30af9b3b420b06b66e2aa6cc00ab4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
28e8418644
commit
2a9486875d
@@ -8,11 +8,11 @@ inherit qemu
|
||||
|
||||
FONT_PACKAGES ??= "${PN}"
|
||||
FONT_EXTRA_RDEPENDS ?= "fontconfig-utils"
|
||||
|
||||
FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
|
||||
fontcache_common() {
|
||||
if [ "x$D" != "x" ] ; then
|
||||
$INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} mlprefix=${MLPREFIX} bindir=${bindir} \
|
||||
libdir=${libdir} base_libdir=${base_libdir} localstatedir=${localstatedir}
|
||||
libdir=${libdir} base_libdir=${base_libdir} fontconfigcachedir=${FONTCONFIG_CACHE_DIR}
|
||||
else
|
||||
fc-cache
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user