libxmlb: put binary into separate package

xb-tool is for debugging purposes only and isn't needed in normal use.
Inherit lib_package so the binary isn't installed by default.

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
2021-11-12 17:16:55 +00:00
committed by Khem Raj
parent cb1968b541
commit c10e76aa19
@@ -8,7 +8,7 @@ SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \
SRCREV = "5108556a17bb1c2863c2ca5df088143ea65474a3"
S = "${WORKDIR}/git"
inherit gobject-introspection gtk-doc meson ptest-gnome
inherit gobject-introspection gtk-doc meson ptest-gnome lib_package
PACKAGECONFIG ??= "\
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
@@ -16,3 +16,5 @@ PACKAGECONFIG ??= "\
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
GTKDOC_MESON_OPTION = "gtkdoc"
FILES:${PN}-bin += "${libexecdir}/*"