diff mbox series

[meta-gnome,3/4] grilo-plugins: consider opengl distro feature for default PACKAGECONFIG

Message ID 20241108035143.2214659-3-Qi.Chen@windriver.com
State New
Headers show
Series [meta-gnome,1/4] libspelling: require opengl distro feature | expand

Commit Message

ChenQi Nov. 8, 2024, 3:51 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

gnome-online-accounts requires opengl by default, so lua-factory PACKAGECONFIG
should rely on opengl by default.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb b/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
index b0516be3d..a1d2262ca 100644
--- a/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
+++ b/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
@@ -15,7 +15,10 @@  inherit gnomebase gnome-help vala
 SRC_URI += "file://0001-Avoid-running-trackertestutils.patch"
 SRC_URI[archive.sha256sum] = "fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb"
 
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)} lua-factory"
+# gnome-online-accounts requires opengl by default, so lua-factory PACKAGECONFIG relies on opengl by default.
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'lua-factory', '', d)} \
+                   "
 PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tinysparql,localsearch"
 PACKAGECONFIG[lua-factory] = "-Denable-lua-factory=yes,-Denable-lua-factory=no,lua libarchive json-glib gnome-online-accounts"