diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-15 12:07:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-15 15:45:41 +0100 |
commit | 00cc684885efa555f7eac7653482f72095b1c443 (patch) | |
tree | 708c84a1a12c26aeb7aa8c3029dd71ee5a501b1c /meta | |
parent | 1fa8909e24866ffada75daf63225c8daa000b9be (diff) | |
download | openembedded-core-00cc684885efa555f7eac7653482f72095b1c443.tar.gz openembedded-core-00cc684885efa555f7eac7653482f72095b1c443.tar.bz2 openembedded-core-00cc684885efa555f7eac7653482f72095b1c443.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb index 71e85e4088..ccd865ce4d 100644 --- a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb +++ b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb @@ -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" |