From 54e52f06812a0ece721186d02ea923a741d4dda0 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 21 Apr 2025 11:48:26 +0200 Subject: [PATCH] libsdl2-image: build with cmake This allows to use with libsdl2-compat Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../libsdl/libsdl2-image_2.8.8.bb | 18 ++---------------- 1 file 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 S = "${WORKDIR}/SDL2_image-${PV}" -inherit autotools pkgconfig +inherit cmake 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 -} +FILES:${PN} += "${datadir}/licenses"