diff options
Diffstat (limited to 'meta-oe/recipes-core/dbus/dbus-broker_29.bb')
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker_29.bb | 33 |
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 @@ | |||
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[sha256sum] = "4eca425db52b7ab1027153e93fea9b3f11759db9e93ffbf88759b73ddfb8026a" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases" | ||
13 | |||
14 | inherit meson pkgconfig systemd features_check | ||
15 | |||
16 | DEPENDS = "expat systemd" | ||
17 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" | ||
18 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}" | ||
19 | |||
20 | RDEPENDS_${PN} += "dbus-common" | ||
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} += "${nonarch_libdir}/systemd/catalog" | ||
29 | |||
30 | EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
31 | EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
32 | EXTRA_OEMESON += " -Dlinux-4-17=true" | ||
33 | |||