blob: 1d3b0de29a6a475decb560e7e83d82866733a496 [file] [log] [blame]
Andrew Geissler220dafd2023-10-04 10:18:08 -05001SUMMARY = "A library to help create and query binary XML blobs"
2HOMEPAGE = "https://github.com/hughsie/libxmlb"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
5
6SRC_URI = " \
7 git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
8 file://0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch \
9 file://run-ptest \
10"
11SRCREV = "aa577b276adc66564f5777f9a522ca3bf0bfa65e"
12S = "${WORKDIR}/git"
13
14DEPENDS = "glib-2.0 xz zstd"
15
16inherit gobject-introspection gtk-doc meson ptest-gnome lib_package pkgconfig
17
18PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
19PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
20
21GTKDOC_MESON_OPTION = "gtkdoc"
22
23FILES:${PN} += "${datadir}"
24
25BBCLASSEXTEND = "native"