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>
This commit is contained in:
Ross Burton 2023-05-25 13:13:50 +01:00 committed by Khem Raj
parent c89b5141d3
commit 95f7b97b3a

View File

@ -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"