aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-05-25 13:13:50 +0100
committerKhem Raj <raj.khem@gmail.com>2023-05-25 08:57:47 -0700
commit95f7b97b3a1ca9de6f4f5a9ddb792405130975ab (patch)
tree059091b2c0bf5e0cd58d782d1cfd6deff1c7e454 /meta-gnome
parentc89b5141d32dd925af092977aab514077b37d50f (diff)
downloadmeta-openembedded-contrib-95f7b97b3a1ca9de6f4f5a9ddb792405130975ab.tar.gz
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 <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb4
1 files changed, 3 insertions, 1 deletions
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"