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>
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"
done
}
-pkg_postinst_${PN} () {
-#!/bin/sh
-fc-cache
-}
-
-
FILES_${PN} = "/etc ${datadir}/fonts"
SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6"