summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus_1.12.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dbus/dbus_1.12.22.bb')
-rw-r--r--meta/recipes-core/dbus/dbus_1.12.22.bb40
1 files changed, 39 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.12.22.bb b/meta/recipes-core/dbus/dbus_1.12.22.bb
index e611e7d98a..792f34c7ef 100644
--- a/meta/recipes-core/dbus/dbus_1.12.22.bb
+++ b/meta/recipes-core/dbus/dbus_1.12.22.bb
@@ -3,7 +3,45 @@ DESCRIPTION = "D-Bus is a message bus system, a simple way for applications to t
3HOMEPAGE = "https://dbus.freedesktop.org" 3HOMEPAGE = "https://dbus.freedesktop.org"
4SECTION = "base" 4SECTION = "base"
5 5
6require dbus.inc 6inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome
7
8LICENSE = "AFL-2.1 | GPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
10 file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
11
12SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
13 file://run-ptest \
14 file://python-config.patch \
15 file://tmpdir.patch \
16 file://dbus-1.init \
17 file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
18 file://stop_using_selinux_set_mapping.patch \
19"
20
21SRC_URI[sha256sum] = "8d25785c798ec4f892e6f9d177fb0ceeb8b29867b119798f9d5228561d3ad474"
22
23EXTRA_OECONF = "--disable-xml-docs \
24 --disable-doxygen-docs \
25 --enable-largefile \
26 --with-system-socket=/run/dbus/system_bus_socket \
27 --enable-tests \
28 --enable-checks \
29 --enable-asserts \
30 "
31EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
32
33PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
34 user-session \
35 "
36PACKAGECONFIG:class-native = ""
37PACKAGECONFIG:class-nativesdk = ""
38
39PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd"
40PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
41PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
42PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"
43PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit"
44PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
7 45
8DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0" 46DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0"
9RDEPENDS:${PN} += "${PN}-common ${PN}-tools" 47RDEPENDS:${PN} += "${PN}-common ${PN}-tools"