diff options
| author | Markus Volk <f_l_k@t-online.de> | 2025-04-21 11:48:26 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-22 09:10:57 -0700 |
| commit | 54e52f06812a0ece721186d02ea923a741d4dda0 (patch) | |
| tree | 816d44f50739a6518cecbad1f4d82f116c04aab2 | |
| parent | 4c811a14ddfd7ebfc457a7c257e9dd306d8a5ca1 (diff) | |
| download | meta-openembedded-54e52f06812a0ece721186d02ea923a741d4dda0.tar.gz | |
libsdl2-image: build with cmake
This allows to use with libsdl2-compat
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb index bcd8e35b27..15f7b6f4b7 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb | |||
| @@ -11,20 +11,6 @@ SRC_URI[sha256sum] = "2213b56fdaff2220d0e38c8e420cbe1a83c87374190cba8c70af215609 | |||
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/SDL2_image-${PV}" | 12 | S = "${WORKDIR}/SDL2_image-${PV}" |
| 13 | 13 | ||
| 14 | inherit autotools pkgconfig | 14 | inherit cmake pkgconfig |
| 15 | 15 | ||
| 16 | # Disable the run-time loading of the libs and bring back the soname dependencies. | 16 | FILES:${PN} += "${datadir}/licenses" |
| 17 | EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" | ||
| 18 | |||
| 19 | do_configure:prepend() { | ||
| 20 | # make autoreconf happy | ||
| 21 | touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog | ||
| 22 | # Removing these files fixes a libtool version mismatch. | ||
| 23 | rm -f ${S}/acinclude/libtool.m4 | ||
| 24 | rm -f ${S}/acinclude/sdl2.m4 | ||
| 25 | rm -f ${S}/acinclude/pkg.m4 | ||
| 26 | rm -f ${S}/acinclude/lt~obsolete.m4 | ||
| 27 | rm -f ${S}/acinclude/ltoptions.m4 | ||
| 28 | rm -f ${S}/acinclude/ltsugar.m4 | ||
| 29 | rm -f ${S}/acinclude/ltversion.m4 | ||
| 30 | } | ||
