dbus-broker: include only if systemd is DISTO_FEATURE

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster 2018-04-08 19:37:31 -07:00
parent 0b079f6958
commit c3e3cbe8fa

View File

@ -6,7 +6,7 @@ SECTION = "base"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
DEPENDS = "dbus glib-2.0 expat systemd"
DEPENDS = "dbus glib-2.0 expat"
PV = "9+git${SRCPV}"
SRCREV = "ccd06b284892182af569e69046262331150e3536"
@ -17,13 +17,16 @@ SRC_URI += "file://0002-Correct-including-directory-for-conf.patch"
S = "${WORKDIR}/git"
inherit meson pkgconfig systemd
inherit meson pkgconfig systemd distro_features_check
REQUIRED_DISTRO_FEATURES = "systemd"
SYSTEMD_SERVICE_${PN} = "${BPN}.service"
FILES_${PN} += "${systemd_system_unitdir}"
FILES_${PN} += "${systemd_user_unitdir}"
RDEPENDS_${PN} = "dbus systemd"
RDEPENDS_${PN} = "dbus"
BBCLASSEXTEND = "native"