Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 1 | inherit autotools pkgconfig gettext upstream-version-is-even |
| 2 | |
| 3 | LICENSE = "AFL-2.1 | GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ |
| 5 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" |
| 6 | |
| 7 | SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ |
| 8 | file://tmpdir.patch \ |
| 9 | file://dbus-1.init \ |
| 10 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 11 | file://stop_using_selinux_set_mapping.patch \ |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 12 | " |
| 13 | |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame] | 14 | SRC_URI[md5sum] = "dfe8a71f412e0b53be26ed4fbfdc91c4" |
| 15 | SRC_URI[sha256sum] = "f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe" |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 16 | |
| 17 | EXTRA_OECONF = "--disable-xml-docs \ |
| 18 | --disable-doxygen-docs \ |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 19 | --enable-largefile \ |
| 20 | --with-system-socket=/run/dbus/system_bus_socket \ |
| 21 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 23 | |
| 24 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ |
| 25 | user-session \ |
| 26 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | PACKAGECONFIG:class-native = "" |
| 28 | PACKAGECONFIG:class-nativesdk = "" |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 29 | |
| 30 | PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd" |
| 31 | PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" |
| 32 | PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" |
| 33 | PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 34 | PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit" |
| 35 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" |