From 95f7b97b3a1ca9de6f4f5a9ddb792405130975ab Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 25 May 2023 13:13:50 +0100 Subject: [PATCH] grilo-plugins: add PACKAGECONFIG for tracker Add a PACKAGECONFIG for the tracker plugin, and enable it only if gobject-introspection is enabled. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb | 4 +++- 1 file changed, 3 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 00474ce446..91cbe82ea9 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 @@ -7,7 +7,6 @@ DEPENDS = " \ gperf-native \ itstool-native \ grilo \ - tracker \ lua \ liboauth \ " @@ -19,4 +18,7 @@ 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)}" +PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tracker" + FILES:${PN} += "${libdir}/grilo-0.3"