mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
fontconfig: Use volatiles for managing /var/cache/fontconfig
This commit is contained in:
1
meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig
vendored
Normal file
1
meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
d root root 0755 /var/cache/fontconfig none
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user