2007-08-01 12:43:57 +00:00
|
|
|
DESCRIPTION = "Freetype font rendering library"
|
|
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "freetype"
|
2008-04-14 22:22:02 +00:00
|
|
|
PR = "r3"
|
2007-08-01 12:43:57 +00:00
|
|
|
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
|
|
|
|
file://fix-x86_64-build.patch;patch=1 \
|
|
|
|
file://no-hardcode.patch;patch=1 \
|
|
|
|
"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/freetype-${PV}"
|
|
|
|
|
|
|
|
inherit autotools pkgconfig binconfig
|
|
|
|
|
|
|
|
LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
|
|
|
|
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
|
2010-01-12 22:33:31 +00:00
|
|
|
EXTRA_OEMAKE_virtclass-native = ""
|
2007-08-01 12:43:57 +00:00
|
|
|
EXTRA_OECONF = "--without-zlib"
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
cd builds/unix
|
2008-05-05 21:04:28 +00:00
|
|
|
libtoolize --force --copy
|
2007-08-01 12:43:57 +00:00
|
|
|
aclocal -I .
|
2008-05-05 21:04:28 +00:00
|
|
|
gnu-configize --force
|
2007-08-01 12:43:57 +00:00
|
|
|
autoconf
|
|
|
|
cd ${S}
|
|
|
|
oe_runconf
|
|
|
|
}
|
|
|
|
|
2010-01-12 22:33:31 +00:00
|
|
|
do_configure_virtclass-native() {
|
|
|
|
(cd builds/unix && gnu-configize) || die "failure running gnu-configize"
|
|
|
|
oe_runconf
|
|
|
|
}
|
|
|
|
|
2007-08-01 12:43:57 +00:00
|
|
|
do_compile_prepend() {
|
|
|
|
${BUILD_CC} -o objs/apinames src/tools/apinames.c
|
|
|
|
}
|
|
|
|
|
2008-02-22 00:55:47 +00:00
|
|
|
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
|
2007-08-01 12:43:57 +00:00
|
|
|
FILES_${PN}-dev += "${bindir}"
|
2010-01-12 22:33:31 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
|