| SUMMARY = "dbus broker" |
| DESCRIPTION = "Drop-in replacement for dbus-daemon." |
| |
| SECTION = "base" |
| |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" |
| |
| SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" |
| SRC_URI += " file://0001-launch-improve-error-handling-for-opendir.patch" |
| SRC_URI += " file://0002-metrics-change-the-constant-used-for-invalid-timesta.patch" |
| SRC_URI += " file://0003-dbus-socket-treat-MSG_CTRUNC-gracefully.patch" |
| SRC_URI += " file://0004-launcher-fix-build-with-musl-libc.patch" |
| SRC_URI[md5sum] = "a17886a92ab1e0bc2e4b1a274339e388" |
| SRC_URI[sha256sum] = "6fff9a831a514659e2c7d704e76867ce31ebcf43e8d7a62e080c6656f64cd39e" |
| |
| inherit meson pkgconfig systemd features_check |
| |
| DEPENDS = "expat systemd" |
| DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" |
| DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}" |
| |
| REQUIRED_DISTRO_FEATURES = "systemd" |
| |
| SYSTEMD_SERVICE_${PN} = "${BPN}.service" |
| |
| FILES_${PN} += "${systemd_system_unitdir}" |
| FILES_${PN} += "${systemd_user_unitdir}" |
| FILES_${PN} += "${libdir}/systemd/catalog" |
| |
| EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" |
| EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" |