Skip to contentSkip to conversation

libgpiod: clean-up sub-packages

PATCH New Bartosz Golaszewski 1 participant 1 message May 11

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgpiod: clean-up sub-packages

The libgpiodbus shared library and the .typelib file for libgpiod GLib bindings are currently packaged in the main libgpiod package which should really only contain the core libgpiod shared library. Move them to libgpiod-manager and libgpiod-glib packages respectively.

---
 meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libgpiod/libgpiod_2.2.4.bb +5 -1
index 2c8d9f1873..e6de4b0313 100644
@@ -32,9 +32,13 @@ PACKAGES =+ "${PN}-gpiosim ${PN}-glib ${PN}-manager ${PN}-manager-cfg ${PN}-cli"
 FILES:${PN}-tools += "${bindir}/gpionotify"
 FILES:${PN}-gpiosim += "${libdir}/libgpiosim.so.*"
 FILES:${PN}-gpiosim-dev += "${includedir}/gpiosim.h"
-FILES:${PN}-glib += "${libdir}/libgpiod-glib.so.*"
+FILES:${PN}-glib += " \
+    ${libdir}/libgpiod-glib.so.* \
+    ${libdir}/girepository-1.0/* \
+"
 FILES:${PN}-manager += " \
     ${bindir}/gpio-manager \
+    ${libdir}/libgpiodbus.so.* \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/gpio-manager.service', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${sysconfdir}/init.d/gpio-manager', '', d)} \
 "
Signature · 1 line
2.47.3