dbus-cxx: 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 to honor oe-core's new VIRTUAL-RUNTIME_dbus variable.

Furthermore mark the runtime dependency as target specific, which
avoids unbuildable dependency chain issue when bitbaking native or
nativesdk variant of the recipe, when dbus-broker is preferred.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Niko Mauno
2025-04-04 10:51:42 +00:00
committed by Khem Raj
parent c386c93894
commit 467f2c16a1
@@ -10,7 +10,7 @@ SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d"
DEPENDS = "libsigc++-3"
RDEPENDS:${PN} = "dbus"
RDEPENDS:${PN}:class-target = "${VIRTUAL-RUNTIME_dbus}"
S = "${WORKDIR}/git"