From cdc82b14a9c60743b6dd194db277ca9b67e610f2 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 7 Nov 2024 19:51:42 -0800 Subject: [PATCH] grilo-plugins: consider opengl distro feature for default PACKAGECONFIG gnome-online-accounts requires opengl by default, so lua-factory PACKAGECONFIG should rely on opengl by default. Signed-off-by: Chen Qi Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 b0516be3da..a1d2262cae 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"