blob: b237476493012659b958722acc47a7431586779a [file] [log] [blame]
Andrew Geisslerd25ed322020-06-27 00:28:28 -05001inherit autotools pkgconfig gettext upstream-version-is-even
2
3LICENSE = "AFL-2.1 | GPLv2+"
4LIC_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 \
11"
12
Andrew Geisslerb7d28612020-07-24 16:15:54 -050013SRC_URI[md5sum] = "dfe8a71f412e0b53be26ed4fbfdc91c4"
14SRC_URI[sha256sum] = "f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe"
Andrew Geisslerd25ed322020-06-27 00:28:28 -050015
16EXTRA_OECONF = "--disable-xml-docs \
17 --disable-doxygen-docs \
18 --disable-libaudit \
19 --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"
23EXTRA_OECONF:append:class-native = " --disable-selinux"
Andrew Geisslerd25ed322020-06-27 00:28:28 -050024
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
26 user-session \
27 "
Patrick Williams213cb262021-08-07 19:21:33 -050028PACKAGECONFIG:class-native = ""
29PACKAGECONFIG:class-nativesdk = ""
Andrew Geisslerd25ed322020-06-27 00:28:28 -050030
31PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd"
32PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
33PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
34PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"