From 467f2c16a11b8de14bf39cdb470c56acba8912d9 Mon Sep 17 00:00:00 2001 From: Niko Mauno Date: Fri, 4 Apr 2025 10:51:42 +0000 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb index a10f7f22dd..992a414009 100644 --- a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb +++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb @@ -10,7 +10,7 @@ SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d" DEPENDS = "libsigc++-3" -RDEPENDS:${PN} = "dbus" +RDEPENDS:${PN}:class-target = "${VIRTUAL-RUNTIME_dbus}" S = "${WORKDIR}/git"