diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2009-11-08 10:07:04 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2009-12-22 13:42:20 +0100 |
commit | d30edff6cbf16dde1bcb77635fbc916a62ae45e0 (patch) | |
tree | 162ec6b9311a6d116d6752300e4037cc85f62904 | |
parent | 99a916a6470a904909759662712b3276d1a5bcaa (diff) |
xorg-fongs: set fontdir in OECONF
* Set fontdir to ${libdir}/X11/fonts in OECONF
* New fonts wanted to install to ${datadir}/X11/fonts
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | recipes/xorg-font/xorg-font-common.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/xorg-font/xorg-font-common.inc b/recipes/xorg-font/xorg-font-common.inc index 5cf40e8436..820161ef83 100644 --- a/recipes/xorg-font/xorg-font-common.inc +++ b/recipes/xorg-font/xorg-font-common.inc @@ -13,14 +13,16 @@ S = "${WORKDIR}/${XORG_PN}-${PV}" inherit autotools pkgconfig -EXTRA_OEMAKE += "FCCACHE=/bin/true" - do_configure_prepend() { if [ -f "${S}"/configure.ac ] ; then sed -i "s#^MAPFILES_PATH=.*#MAPFILES_PATH=\"${STAGING_DIR_TARGET}/\$(pkg-config --variable=mapdir fontutil)\"#g" "${S}"/configure.ac fi } +EXTRA_OECONF += " --with-fontrootdir=${libdir}/X11/fonts" + +EXTRA_OEMAKE += "FCCACHE=/bin/true" + do_install_append() { find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f |