diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/fontconfig/files/01fc-cache | 4 | ||||
-rw-r--r-- | packages/fontconfig/fontconfig.inc | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/packages/fontconfig/files/01fc-cache b/packages/fontconfig/files/01fc-cache new file mode 100644 index 0000000000..963aaec8ca --- /dev/null +++ b/packages/fontconfig/files/01fc-cache @@ -0,0 +1,4 @@ +#!/bin/sh +# Author: Rolf Leggewie + +fc-cache 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}/*" |