diff options
| -rw-r--r-- | meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.10.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.10.bb b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.10.bb new file mode 100644 index 0000000000..8bc9322f74 --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.10.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | DESCRIPTION = "Simple DirectMedia Layer image library." | ||
| 2 | SECTION = "libs" | ||
| 3 | |||
| 4 | LICENSE = "LGPLv2.1" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" | ||
| 6 | |||
| 7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl" | ||
| 8 | |||
| 9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz" | ||
| 10 | SRC_URI[md5sum] = "6c06584b31559e2b59f2b982d0d1f628" | ||
| 11 | SRC_URI[sha256sum] = "75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/SDL_image-${PV}" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
| 17 | export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config" | ||
| 18 | |||
| 19 | # Disable the run-time loading of the libs and bring back the soname dependencies. | ||
| 20 | EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" | ||
| 21 | |||
| 22 | do_configure_prepend() { | ||
| 23 | # Removing this file fixes a libtool version mismatch. | ||
| 24 | rm -f acinclude/libtool.m4 | ||
| 25 | rm -f acinclude/sdl.m4 | ||
| 26 | rm -f acinclude/pkg.m4 | ||
| 27 | rm -f acinclude/lt~obsolete.m4 | ||
| 28 | rm -f acinclude/ltoptions.m4 | ||
| 29 | rm -f acinclude/ltsugar.m4 | ||
| 30 | rm -f acinclude/ltversion.m4 | ||
| 31 | } | ||
| 32 | |||
