From 4255457f54a107e9399dd4834444191b855f7d44 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 23 Nov 2022 16:33:29 -0500 Subject: libsdl2: PACKAGECONFIG tweaks Add a couple of bbappends for libsdl2 to tweak its PACKAGECONFIG, based on Panasonic QEMU+KVM documentation. Bug-AGL: SPEC-4618 Change-Id: I7ceb4e46faa88f09311ad359a3b0b13a462f6cb2 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28192 Reviewed-by: Jan-Simon Moeller Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account --- meta-agl-core/recipes-graphics/libsdl2/libsdl2_%.bbappend | 1 + meta-agl-core/recipes-graphics/libsdl2/libsdl2_aglcore.inc | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 meta-agl-core/recipes-graphics/libsdl2/libsdl2_%.bbappend create mode 100644 meta-agl-core/recipes-graphics/libsdl2/libsdl2_aglcore.inc (limited to 'meta-agl-core/recipes-graphics') diff --git a/meta-agl-core/recipes-graphics/libsdl2/libsdl2_%.bbappend b/meta-agl-core/recipes-graphics/libsdl2/libsdl2_%.bbappend new file mode 100644 index 000000000..48e50788e --- /dev/null +++ b/meta-agl-core/recipes-graphics/libsdl2/libsdl2_%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'aglcore', 'libsdl2_aglcore.inc', '', d)} diff --git a/meta-agl-core/recipes-graphics/libsdl2/libsdl2_aglcore.inc b/meta-agl-core/recipes-graphics/libsdl2/libsdl2_aglcore.inc new file mode 100644 index 000000000..7652e1843 --- /dev/null +++ b/meta-agl-core/recipes-graphics/libsdl2/libsdl2_aglcore.inc @@ -0,0 +1,3 @@ +# Make sure opengl is disabled, as using wayland implies gles2 in the +# libsdl2 PACKAGECONFIG definitions. +PACKAGECONFIG:remove = "opengl" -- cgit 1.2.3-korg