diff options
| author | Markus Volk <f_l_k@t-online.de> | 2025-04-21 11:48:31 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-22 09:10:57 -0700 |
| commit | 280da6a65ed5c3de84fd020bec5fcb18400cc8d3 (patch) | |
| tree | e2b8e9c266a7fa97b571fc374428f3826460710f /meta-oe/recipes-graphics | |
| parent | b00d8a0b4630d141c44b7273763dcb9aeefb06d9 (diff) | |
| download | meta-openembedded-280da6a65ed5c3de84fd020bec5fcb18400cc8d3.tar.gz | |
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 <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
| -rw-r--r-- | meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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}" | |||
| 16 | 16 | ||
| 17 | DEPENDS += "libsdl3" | 17 | DEPENDS += "libsdl3" |
| 18 | 18 | ||
| 19 | PROVIDES = "libsdl2" | ||
| 20 | |||
| 19 | inherit cmake pkgconfig upstream-version-is-even features_check | 21 | inherit cmake pkgconfig upstream-version-is-even features_check |
| 20 | 22 | ||
| 21 | REQUIRED_DISTRO_FEATURES = "opengl x11" | 23 | REQUIRED_DISTRO_FEATURES = "opengl x11" |
| 22 | 24 | ||
| 23 | FILES:${PN} += "${datadir}/licenses" | 25 | FILES:${PN} += "${datadir}/licenses" |
| 26 | |||
| 27 | RCONFLICTS:${PN} = "libsdl2" | ||
| 28 | RPROVIDES:${PN} = "libsdl2" | ||
