summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/dbus/dbus-broker_29.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/dbus/dbus-broker_29.bb')
-rw-r--r--meta-oe/recipes-core/dbus/dbus-broker_29.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_29.bb b/meta-oe/recipes-core/dbus/dbus-broker_29.bb
new file mode 100644
index 000000000..49ba16911
--- /dev/null
+++ b/meta-oe/recipes-core/dbus/dbus-broker_29.bb
@@ -0,0 +1,33 @@
1SUMMARY = "dbus broker"
2DESCRIPTION = "Drop-in replacement for dbus-daemon."
3
4SECTION = "base"
5
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
8
9SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz"
10SRC_URI[sha256sum] = "4eca425db52b7ab1027153e93fea9b3f11759db9e93ffbf88759b73ddfb8026a"
11
12UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases"
13
14inherit meson pkgconfig systemd features_check
15
16DEPENDS = "expat systemd"
17DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
18DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}"
19
20RDEPENDS_${PN} += "dbus-common"
21
22REQUIRED_DISTRO_FEATURES = "systemd"
23
24SYSTEMD_SERVICE_${PN} = "${BPN}.service"
25
26FILES_${PN} += "${systemd_system_unitdir}"
27FILES_${PN} += "${systemd_user_unitdir}"
28FILES_${PN} += "${nonarch_libdir}/systemd/catalog"
29
30EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
31EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
32EXTRA_OEMESON += " -Dlinux-4-17=true"
33