dbus-cxx: Amend dbus build time dependency

The build time dependency seems to be particular to the 'tools'
PACKAGECONFIG option, so update the recipe in this respect to
reflect the state of affairs more accurately.

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:40 +00:00 committed by Khem Raj
parent 5e31831526
commit 714943e26c
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -8,10 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d"
DEPENDS = "\
dbus \
libsigc++-3 \
"
DEPENDS = "libsigc++-3"
RDEPENDS:${PN} = "\
dbus \
@ -29,7 +26,7 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG:class-native ?= "tools"
PACKAGECONFIG:class-nativesdk ?= "tools"
PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOLS=OFF,popt cppgenerate"
PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOLS=OFF,popt cppgenerate dbus"
PACKAGECONFIG[glib] = "-DENABLE_GLIB_SUPPORT=ON,-DENABLE_GLIB_SUPPORT=OFF,glib-2.0"
PACKAGECONFIG[uv] = "-DENABLE_UV_SUPPORT=ON,-DENABLE_UV_SUPPORT=OFF,libuv"