blob: a43bf6562912db1e77af8999a835e683dec46ad9 [file] [log] [blame]
Andrew Geisslerd25ed322020-06-27 00:28:28 -05001inherit autotools pkgconfig gettext upstream-version-is-even
2
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00003LICENSE = "AFL-2.1 | GPL-2.0-or-later"
Andrew Geisslerd25ed322020-06-27 00:28:28 -05004LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
5 file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
6
7SRC_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 Williams0ca19cc2021-08-16 14:03:13 -050011 file://stop_using_selinux_set_mapping.patch \
Andrew Geisslerd25ed322020-06-27 00:28:28 -050012"
13
Andrew Geisslerb7d28612020-07-24 16:15:54 -050014SRC_URI[md5sum] = "dfe8a71f412e0b53be26ed4fbfdc91c4"
15SRC_URI[sha256sum] = "f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe"
Andrew Geisslerd25ed322020-06-27 00:28:28 -050016
17EXTRA_OECONF = "--disable-xml-docs \
18 --disable-doxygen-docs \
Andrew Geisslerd25ed322020-06-27 00:28:28 -050019 --enable-largefile \
20 --with-system-socket=/run/dbus/system_bus_socket \
21 "
Patrick Williams213cb262021-08-07 19:21:33 -050022EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
Andrew Geisslerd25ed322020-06-27 00:28:28 -050023
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
25 user-session \
26 "
Patrick Williams213cb262021-08-07 19:21:33 -050027PACKAGECONFIG:class-native = ""
28PACKAGECONFIG:class-nativesdk = ""
Andrew Geisslerd25ed322020-06-27 00:28:28 -050029
30PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd"
31PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
32PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
33PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"
Patrick Williams0ca19cc2021-08-16 14:03:13 -050034PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit"
35PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"