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 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 17 | inherit meson pkgconfig systemd features_check |
Brad Bishop | 93c3acf | 2019-10-29 09:48:15 -0400 | [diff] [blame] | 18 | |
| 19 | DEPENDS = "expat systemd" |
| 20 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 21 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}" |
Brad Bishop | 93c3acf | 2019-10-29 09:48:15 -0400 | [diff] [blame] | 22 | |
| 23 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 24 | |
| 25 | SYSTEMD_SERVICE_${PN} = "${BPN}.service" |
| 26 | |
| 27 | FILES_${PN} += "${systemd_system_unitdir}" |
| 28 | FILES_${PN} += "${systemd_user_unitdir}" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame^] | 29 | FILES_${PN} += "${nonarch_libdir}/systemd/catalog" |
Brad Bishop | 93c3acf | 2019-10-29 09:48:15 -0400 | [diff] [blame] | 30 | |
| 31 | EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 32 | EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame^] | 33 | |