mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 03:49:57 +00:00
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 <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,11 +20,11 @@ PACKAGECONFIG[tests] = " \
|
|||||||
--enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \
|
--enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \
|
||||||
--disable-tests, \
|
--disable-tests, \
|
||||||
kmod util-linux glib-2.0 catch2 libedit glib-2.0-native libgudev, \
|
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[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[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"
|
PACKAGES =+ "${PN}-gpiosim ${PN}-glib ${PN}-manager ${PN}-manager-cfg ${PN}-cli"
|
||||||
FILES:${PN}-tools += "${bindir}/gpionotify"
|
FILES:${PN}-tools += "${bindir}/gpionotify"
|
||||||
@@ -43,7 +43,7 @@ FILES:${PN}-manager-cfg += " \
|
|||||||
"
|
"
|
||||||
FILES:${PN}-cli += "${bindir}/gpiocli"
|
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"
|
RDEPENDS:${PN}-cli += "${PN}-manager"
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "${PN}-manager"
|
SYSTEMD_PACKAGES = "${PN}-manager"
|
||||||
|
|||||||
Reference in New Issue
Block a user