generic-poky/meta/packages/freetype/freetype_2.3.5.bb

44 lines
923 B
BlitzBasic
Raw Normal View History

DESCRIPTION = "Freetype font rendering library"
SECTION = "libs"
LICENSE = "freetype"
PR = "r3"
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}'"
EXTRA_OEMAKE_virtclass-native = ""
EXTRA_OECONF = "--without-zlib"
do_configure() {
cd builds/unix
libtoolize --force --copy
aclocal -I .
gnu-configize --force
autoconf
cd ${S}
oe_runconf
}
do_configure_virtclass-native() {
(cd builds/unix && gnu-configize) || die "failure running gnu-configize"
oe_runconf
}
do_compile_prepend() {
${BUILD_CC} -o objs/apinames src/tools/apinames.c
}
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
FILES_${PN}-dev += "${bindir}"
BBCLASSEXTEND = "native"