aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libsdl/libsdl-image_1.2.10.bb
blob: c28b513b21fa8ee1db6c99f031f22308daa87170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require libsdl-image.inc

PR = "${INC_PR}.1"

DEPENDS += "tiff"

# 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_unpackpost() {
	# Removing this file fixes a libtool version mismatch.
	rm acinclude/libtool.m4
	rm acinclude/sdl.m4
	rm acinclude/pkg.m4
	rm acinclude/lt~obsolete.m4
	rm acinclude/ltoptions.m4
	rm acinclude/ltsugar.m4
	rm acinclude/ltversion.m4
}

addtask unpackpost after do_unpack before do_patch