From 5dd7a7895f67e5bf490d928feb0dcdb9ce2a49ba Mon Sep 17 00:00:00 2001 From: Niko Mauno Date: Fri, 4 Apr 2025 10:51:45 +0000 Subject: [PATCH] libgpiod: Support using alternative runtime D-Bus In order to facilitate using e.g. dbus-broker as runtime D-Bus implementation, change the Freedesktop.org specific D-Bus runtime dependency declarations to honor oe-core's new VIRTUAL-RUNTIME_dbus variable. Signed-off-by: Niko Mauno Signed-off-by: Khem Raj --- meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb index b72d960c10..93c3e3b92d 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb @@ -20,11 +20,11 @@ PACKAGECONFIG[tests] = " \ --enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \ --disable-tests, \ kmod util-linux glib-2.0 catch2 libedit glib-2.0-native libgudev, \ - bash dbus glib-2.0-utils libgpiod-manager-cfg shunit2 \ + bash ${VIRTUAL-RUNTIME_dbus} glib-2.0-utils libgpiod-manager-cfg shunit2 \ " PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit" PACKAGECONFIG[glib] = "--enable-bindings-glib,--disable-bindings-glib,glib-2.0 glib-2.0-native" -PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,glib-2.0 glib-2.0-native libgudev,dbus" +PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,glib-2.0 glib-2.0-native libgudev,${VIRTUAL-RUNTIME_dbus}" PACKAGES =+ "${PN}-gpiosim ${PN}-glib ${PN}-manager ${PN}-manager-cfg ${PN}-cli" FILES:${PN}-tools += "${bindir}/gpionotify" @@ -43,7 +43,7 @@ FILES:${PN}-manager-cfg += " \ " FILES:${PN}-cli += "${bindir}/gpiocli" -RDEPENDS:${PN}-manager += "dbus ${PN}-manager-cfg" +RDEPENDS:${PN}-manager += "${VIRTUAL-RUNTIME_dbus} ${PN}-manager-cfg" RDEPENDS:${PN}-cli += "${PN}-manager" SYSTEMD_PACKAGES = "${PN}-manager"