Brad Bishop | 93c3acf | 2019-10-29 09:48:15 -0400 | [diff] [blame^] | 1 | SUMMARY = "dbus broker" |
| 2 | DESCRIPTION = "Drop-in replacement for dbus-daemon." |
| 3 | |
| 4 | SECTION = "base" |
| 5 | |
| 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" |
| 8 | |
| 9 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" |
| 10 | SRC_URI += " file://0001-launch-improve-error-handling-for-opendir.patch" |
| 11 | SRC_URI += " file://0002-metrics-change-the-constant-used-for-invalid-timesta.patch" |
| 12 | SRC_URI += " file://0003-dbus-socket-treat-MSG_CTRUNC-gracefully.patch" |
| 13 | SRC_URI += " file://0004-launcher-fix-build-with-musl-libc.patch" |
| 14 | SRC_URI[md5sum] = "a17886a92ab1e0bc2e4b1a274339e388" |
| 15 | SRC_URI[sha256sum] = "6fff9a831a514659e2c7d704e76867ce31ebcf43e8d7a62e080c6656f64cd39e" |
| 16 | |
| 17 | inherit meson pkgconfig systemd distro_features_check |
| 18 | |
| 19 | DEPENDS = "expat systemd" |
| 20 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" |
| 21 | |
| 22 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 23 | |
| 24 | SYSTEMD_SERVICE_${PN} = "${BPN}.service" |
| 25 | |
| 26 | FILES_${PN} += "${systemd_system_unitdir}" |
| 27 | FILES_${PN} += "${systemd_user_unitdir}" |
| 28 | FILES_${PN} += "${libdir}/systemd/catalog" |
| 29 | |
| 30 | EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" |