mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
578663d035
Update configure.patch to modernise configure.in, in particular passing the foreign option to automake. The other changes are other modernisations that were needed to make that. Also use rm -f so that do_configure can rerun in the prepend. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
34 lines
916 B
BlitzBasic
34 lines
916 B
BlitzBasic
SUMMARY = "Simple DirectMedia Layer truetype font library"
|
|
SECTION = "libs"
|
|
DEPENDS = "virtual/libsdl freetype"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
|
|
|
|
PR = "r2"
|
|
|
|
SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
|
|
file://configure.patch \
|
|
file://use.pkg-config.for.freetype2.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/SDL_ttf-${PV}"
|
|
EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config "
|
|
|
|
inherit autotools
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
do_configure_prepend() {
|
|
|
|
# Removing these files fixes a libtool version mismatch.
|
|
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
|
|
|
|
for i in ${MACROS}; do
|
|
rm -f ${S}/acinclude/$i
|
|
done
|
|
|
|
}
|
|
|
|
SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b"
|
|
SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a"
|