From: Niko Mauno Date: Tue, 1 Apr 2025 14:04:26 +0000 (+0000) Subject: dbus: Allow using dbus-lib with alternative D-Bus X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d26191c71d4b19fe45ced52698d4130e8d8305e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dbus: Allow using dbus-lib with alternative D-Bus In order to facilitate oe-core users who wish to use e.g. dbus-broker as their runtime D-Bus implementation, declare the target specific dbus-lib runtime recommendation so that it will honor the new VIRTUAL-RUNTIME_dbus variable. Signed-off-by: Niko Mauno Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dbus/dbus_1.16.2.bb b/meta/recipes-core/dbus/dbus_1.16.2.bb index 9475e55b57..eeeecde946 100644 --- a/meta/recipes-core/dbus/dbus_1.16.2.bb +++ b/meta/recipes-core/dbus/dbus_1.16.2.bb @@ -105,6 +105,7 @@ FILES:${PN}-tools = "${bindir}/dbus-uuidgen \ " FILES:${PN}-lib = "${libdir}/lib*.so.*" RRECOMMENDS:${PN}-lib = "${PN}" +RRECOMMENDS:${PN}-lib:class-target = "${VIRTUAL-RUNTIME_dbus}" FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool ${datadir}/xml/dbus-1" RDEPENDS:${PN}-ptest += "bash make dbus"