Martin Jansa 3d2c02af61 libxmlb: add missing dependency on glib-2.0 and xz
* without gobject-introspection-data in DISTRO_FEATURES it fails with:

  http://errors.yoctoproject.org/Errors/Details/702774/
  Run-time dependency gio-2.0 found: NO (tried pkgconfig)
  ../git/meson.build:119:0: ERROR: Dependency gio-2.0 not found, tried pkgconfig

  and http://errors.yoctoproject.org/Errors/Details/702777/
  Run-time dependency liblzma found: NO (tried pkgconfig)
  ../git/meson.build:121:0: ERROR: Dependency liblzma not found, tried pkgconfig

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-03 21:24:55 -07:00

25 lines
689 B
BlitzBasic

SUMMARY = "A library to help create and query binary XML blobs"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
file://run-ptest \
"
SRCREV = "a6cac6a715d57c393bbddee4d0381ad943341af9"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 xz"
inherit gobject-introspection gtk-doc meson ptest-gnome lib_package
PACKAGECONFIG ??= "\
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
"
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
GTKDOC_MESON_OPTION = "gtkdoc"
FILES:${PN}-bin += "${libexecdir}/*"
BBCLASSEXTEND = "native"