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:57:39 +0100 |
commit | 9c5c9649a6534ba8b27014b3d77b59fe2ae024af (patch) | |
tree | 52e97f0805595799c22440311073ded4df85ccef /meta | |
parent | 5b175082d0ce1a38d58f20893ab39a8f1cd25b1e (diff) | |
download | poky-9c5c9649a6534ba8b27014b3d77b59fe2ae024af.tar.gz |
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>
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" | |||
10 | PR = "r7" | 10 | PR = "r7" |
11 | RDEPENDS_${PN} = "fontconfig-utils" | 11 | RDEPENDS_${PN} = "fontconfig-utils" |
12 | 12 | ||
13 | inherit allarch | 13 | inherit allarch fontcache |
14 | |||
15 | FONT_PACKAGES = "${PN}" | ||
14 | 16 | ||
15 | SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" | 17 | SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" |
16 | 18 | ||
@@ -31,12 +33,6 @@ do_install () { | |||
31 | done | 33 | done |
32 | } | 34 | } |
33 | 35 | ||
34 | pkg_postinst_${PN} () { | ||
35 | #!/bin/sh | ||
36 | fc-cache | ||
37 | } | ||
38 | |||
39 | |||
40 | FILES_${PN} = "/etc ${datadir}/fonts" | 36 | FILES_${PN} = "/etc ${datadir}/fonts" |
41 | 37 | ||
42 | SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" | 38 | SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" |