From 280da6a65ed5c3de84fd020bec5fcb18400cc8d3 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 21 Apr 2025 11:48:31 +0200 Subject: libsdl2-compat: make mutually exclusive with libsdl2 libsdl2 and libsdl2-compat share the same headers. Therefore, using one or the other is an either-or decision Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb index de47f174b1..80334e9ad8 100644 --- a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb +++ b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb @@ -16,8 +16,13 @@ S = "${WORKDIR}/sdl2-compat-${PV}" DEPENDS += "libsdl3" +PROVIDES = "libsdl2" + inherit cmake pkgconfig upstream-version-is-even features_check REQUIRED_DISTRO_FEATURES = "opengl x11" FILES:${PN} += "${datadir}/licenses" + +RCONFLICTS:${PN} = "libsdl2" +RPROVIDES:${PN} = "libsdl2" -- cgit v1.2.3-54-g00ecf