diff options
-rw-r--r-- | meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig | 1 | ||||
-rw-r--r-- | meta/packages/fontconfig/fontconfig_2.6.0.bb | 15 |
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" | |||
3 | DESCRIPTION = "A library for configuring and customizing font access." | 3 | DESCRIPTION = "A library for configuring and customizing font access." |
4 | DEPENDS = "expat freetype zlib" | 4 | DEPENDS = "expat freetype zlib" |
5 | 5 | ||
6 | PR = "r1" | ||
7 | |||
6 | SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ | 8 | SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ |
7 | file://fix-pkgconfig.patch;patch=1" | 9 | file://fix-pkgconfig.patch;patch=1 \ |
10 | file://97_fontconfig" | ||
8 | 11 | ||
9 | PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " | 12 | PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " |
10 | FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" | 13 | FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" |
@@ -74,3 +77,13 @@ do_install () { | |||
74 | autotools_do_install | 77 | autotools_do_install |
75 | } | 78 | } |
76 | 79 | ||
80 | do_install_append() { | ||
81 | install -d ${D}/etc/default/volatiles | ||
82 | install -m 0644 ${WORKDIR}/97_fontconfig ${D}/etc/default/volatiles | ||
83 | rmdir ${D}/var/cache/fontconfig | ||
84 | rmdir ${D}/var/cache/ | ||
85 | } | ||
86 | |||
87 | pkg_postinst_hal () { | ||
88 | /etc/init.d/populate-volatile.sh update | ||
89 | } | ||