1 HOMEPAGE = "http://www.x.org"
5 DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native"
6 RDEPENDS = "encodings font-util font-alias"
10 SRC_URI = "${XORG_MIRROR}/individual/font/${BPN}-${PV}.tar.bz2;name=archive"
11 S = "${WORKDIR}/${BPN}-${PV}"
13 inherit autotools pkgconfig
15 EXTRA_OEMAKE += "FCCACHE=/bin/true"
17 do_configure_prepend() {
18 if [ -f "${S}"/configure.ac ] ; then
19 sed -i "s#^MAPFILES_PATH=.*#MAPFILES_PATH=\"${STAGING_DIR_TARGET}/\$(pkg-config --variable=mapdir fontutil)\"#g" "${S}"/configure.ac
24 find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f
25 find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f
26 find ${D}${datadir}/fonts/X11 -type f -name fonts.dir | xargs rm -f
27 find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f
36 FILES_${PN} += " ${libdir}/X11/fonts ${datadir}"
38 pkg_postinst_${PN} () {
40 for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
44 for fontdir in `find $D/usr/share/fonts/X11 -type d`; do