Skip to contentSkip to conversation

libxmlb: put binary into separate package

PATCH New Ross Burton 1 participant 1 message Nov 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.3.bb +3 -1
index 7feb209e0d..9b3a343b88 100644
@@ -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}/*"
Signature · 1 line
2.25.1