mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
libsdl2-image: Initial add 2.0.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
c08d766401
commit
534b72af69
|
|
@ -0,0 +1,31 @@
|
|||
SUMMARY = "Simple DirectMedia Layer image library v2"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "Zlib"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=8f66a2e45aa301ea73b5ab275aeb0702"
|
||||
|
||||
DEPENDS = "tiff zlib libpng jpeg virtual/libsdl2 libwebp"
|
||||
|
||||
SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "fb399c8386fb3248f1b33cfe81bdf92b"
|
||||
SRC_URI[sha256sum] = "b29815c73b17633baca9f07113e8ac476ae66412dec0d29a5045825c27a47234"
|
||||
|
||||
S = "${WORKDIR}/SDL2_image-${PV}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
# 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() {
|
||||
# make autoreconf happy
|
||||
touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
|
||||
# Removing these files fixes a libtool version mismatch.
|
||||
rm -f ${S}/acinclude/libtool.m4
|
||||
rm -f ${S}/acinclude/sdl2.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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user