summaryrefslogtreecommitdiffstats
path: root/meta/classes/fontcache.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/fontcache.bbclass')
-rw-r--r--meta/classes/fontcache.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass
index 325bcae58f..afd3fd2252 100644
--- a/meta/classes/fontcache.bbclass
+++ b/meta/classes/fontcache.bbclass
@@ -7,6 +7,7 @@ DEPENDS += "qemu-native"
7inherit qemu 7inherit qemu
8 8
9FONT_PACKAGES ??= "${PN}" 9FONT_PACKAGES ??= "${PN}"
10FONT_EXTRA_RDEPENDS ?= "fontconfig-utils"
10 11
11fontcache_common() { 12fontcache_common() {
12if [ "x$D" != "x" ] ; then 13if [ "x$D" != "x" ] ; then
@@ -19,8 +20,11 @@ fi
19 20
20python populate_packages_append() { 21python populate_packages_append() {
21 font_pkgs = d.getVar('FONT_PACKAGES', True).split() 22 font_pkgs = d.getVar('FONT_PACKAGES', True).split()
23 deps = d.getVar("FONT_EXTRA_RDEPENDS", True)
22 24
23 for pkg in font_pkgs: 25 for pkg in font_pkgs:
26 if deps: d.appendVar('RDEPENDS_' + pkg, ' '+deps)
27
24 bb.note("adding fonts postinst and postrm scripts to %s" % pkg) 28 bb.note("adding fonts postinst and postrm scripts to %s" % pkg)
25 postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True) 29 postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)
26 if not postinst: 30 if not postinst: