ttf-bitstream-vera: Use fontcache class for postinstall

Using the fontcache class means we can run the postinstall at build time
so this is generally more efficient.

(From OE-Core rev: 00cc684885efa555f7eac7653482f72095b1c443)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-04-15 12:07:04 +01:00
parent b45615a6ad
commit 96b49a013a
1 changed files with 3 additions and 7 deletions

View File

@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT.TXT;md5=27d7484b1e18d0ee4ce538644a3f04be"
PR = "r7"
RDEPENDS_${PN} = "fontconfig-utils"
inherit allarch
inherit allarch fontcache
FONT_PACKAGES = "${PN}"
SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2"
@ -31,12 +33,6 @@ do_install () {
done
}
pkg_postinst_${PN} () {
#!/bin/sh
fc-cache
}
FILES_${PN} = "/etc ${datadir}/fonts"
SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6"