1SUMMARY = "Grilo is a framework forsearching media content from various sources"
2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
4
5DEPENDS = " \
6    glib-2.0-native \
7    gperf-native \
8    itstool-native \
9    grilo \
10    liboauth \
11"
12
13inherit gnomebase gnome-help vala
14
15SRC_URI += "file://0001-Avoid-running-trackertestutils.patch"
16SRC_URI[archive.sha256sum] = "fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb"
17
18# gnome-online-accounts requires opengl by default, so lua-factory PACKAGECONFIG relies on opengl by default.
19PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)} \
20                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'lua-factory', '', d)} \
21                   "
22PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tinysparql,localsearch"
23PACKAGECONFIG[lua-factory] = "-Denable-lua-factory=yes,-Denable-lua-factory=no,lua libarchive json-glib gnome-online-accounts"
24
25FILES:${PN} += "${libdir}/grilo-0.3"
26