fontconfig: drop explicit -native recipe

Instead, use BBCLASSEXTEND=native in fontconfig.

We can drop the installation of fc-lang/fc-glyphname, they are not used by
fontconfig's build anymore as it ships the generated files in the tarball.

(From OE-Core rev: d5ccc6cbbbdc7502d35ddcbbc2bfc2d4657cbe78)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2013-02-11 16:03:10 +00:00 committed by Richard Purdie
parent 556217d482
commit e767a2f74d
2 changed files with 2 additions and 14 deletions

View File

@ -1,14 +0,0 @@
require fontconfig_${PV}.bb
inherit native
DEPENDS = "freetype-native expat-native zlib-native"
EXTRA_OEMAKE = ""
EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config' % d.getVar('STAGING_BINDIR', True)][os.path.isfile('%s/freetype-config' % d.getVar('STAGING_BINDIR', True))]}"
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-${PV}:"
do_install_append () {
install -d ${D}${bindir}/
install fc-lang/fc-lang ${D}${bindir}/
install fc-glyphname/fc-glyphname ${D}${bindir}/
}

View File

@ -42,3 +42,5 @@ DEBIAN_NOAUTONAME_fontconfig-utils = "1"
inherit autotools pkgconfig
EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts"
BBCLASSEXTEND = "native"