mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.1 KiB
BlitzBasic
33 lines
1.1 KiB
BlitzBasic
SUMMARY = "Simple DirectMedia Layer image library"
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "Zlib"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=613734b7586e1580ef944961c6d62227"
|
|
|
|
DEPENDS = "tiff zlib libpng jpeg libsdl"
|
|
|
|
SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz \
|
|
file://0001-png-img-Fix-prototypes-of-callbacks.patch \
|
|
file://configure.patch"
|
|
SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699"
|
|
|
|
S = "${UNPACKDIR}/SDL_image-${PV}"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
|
|
|
|
# Disable the run-time loading of the libs and bring back the soname dependencies.
|
|
EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
|
|
|
|
do_configure:prepend() {
|
|
# Removing these files fixes a libtool version mismatch.
|
|
rm -f ${S}/acinclude/libtool.m4
|
|
rm -f ${S}/acinclude/sdl.m4
|
|
rm -f ${S}/acinclude/pkg.m4
|
|
rm -f ${S}/acinclude/lt~obsolete.m4
|
|
rm -f ${S}/acinclude/ltoptions.m4
|
|
rm -f ${S}/acinclude/ltsugar.m4
|
|
rm -f ${S}/acinclude/ltversion.m4
|
|
}
|