diff options
| -rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker_37.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_37.bb b/meta-oe/recipes-core/dbus/dbus-broker_37.bb index c531f555d2..ae9c8f2fcd 100644 --- a/meta-oe/recipes-core/dbus/dbus-broker_37.bb +++ b/meta-oe/recipes-core/dbus/dbus-broker_37.bb | |||
| @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" | |||
| 6 | DEPENDS = "\ | 6 | DEPENDS = "\ |
| 7 | expat \ | 7 | expat \ |
| 8 | systemd \ | 8 | systemd \ |
| 9 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)} \ | ||
| 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)} \ | ||
| 11 | " | 9 | " |
| 12 | 10 | ||
| 13 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/${BP}.tar.xz \ | 11 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/${BP}.tar.xz \ |
| @@ -23,9 +21,11 @@ SYSTEMD_SERVICE:${PN} = "${BPN}.service" | |||
| 23 | 21 | ||
| 24 | inherit meson pkgconfig systemd features_check ptest | 22 | inherit meson pkgconfig systemd features_check ptest |
| 25 | 23 | ||
| 26 | EXTRA_OEMESON += "-Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | 24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit selinux', '', d)} \ |
| 27 | EXTRA_OEMESON += "-Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | 25 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'test', '', d)}" |
| 28 | EXTRA_OEMESON += "-Dtests=${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}" | 26 | PACKAGECONFIG[audit] = "-Daudit=true, -Daudit=false, audit (>= 3.0)" |
| 27 | PACKAGECONFIG[selinux] = "-Dselinux=true, -Dselinux=false, libselinux (>= 3.2)" | ||
| 28 | PACKAGECONFIG[test] = "-Dtests=true, -Dtests=false" | ||
| 29 | 29 | ||
| 30 | REQUIRED_DISTRO_FEATURES = "systemd" | 30 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 31 | 31 | ||
