diff options
-rw-r--r-- | meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.0.bb b/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.0.bb new file mode 100644 index 0000000000..a6885da03d --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-image/libsdl2-image_2.0.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer image library v2" | ||
2 | SECTION = "libs" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=8f66a2e45aa301ea73b5ab275aeb0702" | ||
6 | |||
7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl2 libwebp" | ||
8 | |||
9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "fb399c8386fb3248f1b33cfe81bdf92b" | ||
11 | SRC_URI[sha256sum] = "b29815c73b17633baca9f07113e8ac476ae66412dec0d29a5045825c27a47234" | ||
12 | |||
13 | S = "${WORKDIR}/SDL2_image-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig | ||
16 | |||
17 | # Disable the run-time loading of the libs and bring back the soname dependencies. | ||
18 | EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" | ||
19 | |||
20 | do_configure_prepend() { | ||
21 | # make autoreconf happy | ||
22 | touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog | ||
23 | # Removing these files fixes a libtool version mismatch. | ||
24 | rm -f ${S}/acinclude/libtool.m4 | ||
25 | rm -f ${S}/acinclude/sdl2.m4 | ||
26 | rm -f ${S}/acinclude/pkg.m4 | ||
27 | rm -f ${S}/acinclude/lt~obsolete.m4 | ||
28 | rm -f ${S}/acinclude/ltoptions.m4 | ||
29 | rm -f ${S}/acinclude/ltsugar.m4 | ||
30 | rm -f ${S}/acinclude/ltversion.m4 | ||
31 | } | ||