summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig1
-rw-r--r--meta/packages/fontconfig/fontconfig_2.6.0.bb15
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig b/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig
new file mode 100644
index 0000000000..2993959dbb
--- /dev/null
+++ b/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig
@@ -0,0 +1 @@
+d root root 0755 /var/cache/fontconfig none
diff --git a/meta/packages/fontconfig/fontconfig_2.6.0.bb b/meta/packages/fontconfig/fontconfig_2.6.0.bb
index 3f7eca4b4e..4a4c31fbea 100644
--- a/meta/packages/fontconfig/fontconfig_2.6.0.bb
+++ b/meta/packages/fontconfig/fontconfig_2.6.0.bb
@@ -3,8 +3,11 @@ LICENSE = "BSD"
DESCRIPTION = "A library for configuring and customizing font access."
DEPENDS = "expat freetype zlib"
+PR = "r1"
+
SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
- file://fix-pkgconfig.patch;patch=1"
+ file://fix-pkgconfig.patch;patch=1 \
+ file://97_fontconfig"
PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
FILES_fontconfig-utils-dbg = "${bindir}/*.dbg"
@@ -74,3 +77,13 @@ do_install () {
autotools_do_install
}
+do_install_append() {
+ install -d ${D}/etc/default/volatiles
+ install -m 0644 ${WORKDIR}/97_fontconfig ${D}/etc/default/volatiles
+ rmdir ${D}/var/cache/fontconfig
+ rmdir ${D}/var/cache/
+}
+
+pkg_postinst_hal () {
+ /etc/init.d/populate-volatile.sh update
+}