summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-08-16 20:27:47 +0200
committerKhem Raj <raj.khem@gmail.com>2018-08-19 16:09:28 -0700
commit23561de348d225aba3d01bb1b7355bbd43b309ba (patch)
tree321a118e9db9bc47bfb97d3aa8985b67b15ca12f /meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
parent227b687ecd3e92f979d2297982ef72142a3c798b (diff)
downloadmeta-openembedded-23561de348d225aba3d01bb1b7355bbd43b309ba.tar.gz
move all libsdl recipes in one folder and follow oe-core's folder for libsdl
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb')
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb b/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
new file mode 100644
index 0000000000..ea8e9eaa30
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
@@ -0,0 +1,32 @@
1SUMMARY = "Simple DirectMedia Layer image library"
2SECTION = "libs"
3
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING;md5=613734b7586e1580ef944961c6d62227"
6
7DEPENDS = "tiff zlib libpng jpeg virtual/libsdl"
8
9SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.gz \
10 file://configure.patch"
11SRC_URI[md5sum] = "a0f9098ebe5400f0bdc9b62e60797ecb"
12SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699"
13
14S = "${WORKDIR}/SDL_image-${PV}"
15
16inherit autotools pkgconfig
17
18export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
19
20# Disable the run-time loading of the libs and bring back the soname dependencies.
21EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
22
23do_configure_prepend() {
24 # Removing these files fixes a libtool version mismatch.
25 rm -f ${S}/acinclude/libtool.m4
26 rm -f ${S}/acinclude/sdl.m4
27 rm -f ${S}/acinclude/pkg.m4
28 rm -f ${S}/acinclude/lt~obsolete.m4
29 rm -f ${S}/acinclude/ltoptions.m4
30 rm -f ${S}/acinclude/ltsugar.m4
31 rm -f ${S}/acinclude/ltversion.m4
32}