summaryrefslogtreecommitdiff
path: root/packages/fontconfig/fontconfig.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fontconfig/fontconfig.inc')
-rw-r--r--packages/fontconfig/fontconfig.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/fontconfig/fontconfig.inc b/packages/fontconfig/fontconfig.inc
index 2b3dc39c36..252b843340 100644
--- a/packages/fontconfig/fontconfig.inc
+++ b/packages/fontconfig/fontconfig.inc
@@ -9,7 +9,8 @@ RREPLACES_fontconfig-utils = "libfontconfig-utils"
RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
DEBIAN_NOAUTONAME_fontconfig-utils = "1"
-SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz"
+SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
+ file://01fc-cache"
S = "${WORKDIR}/fontconfig-${PV}"
@@ -32,6 +33,10 @@ python do_unpack () {
bb.build.exec_func('fontconfig_do_unpack', d)
}
+fontconfig-utils_do_install_prepend() {
+ install -m 0755 ${WORKDIR}/01fc-cache ${D}${sysconfdir}/update-fonts-common.d/
+}
+
PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
-FILES_fontconfig-utils-dbg = "${bindir}/*.dbg"
+FILES_fontconfig-utils-dbg += "${bindir}/*.dbg"
FILES_fontconfig-utils = "${bindir}/*"