mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
dbus: merge dbus.inc into the recipe
The content is unchanged. (From OE-Core rev: f4da7532b726c3661e71f90e79f6641f903fdc74) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7367324055
commit
1341ebeab0
@@ -1,39 +0,0 @@
|
|||||||
inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome
|
|
||||||
|
|
||||||
LICENSE = "AFL-2.1 | GPL-2.0-or-later"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
|
|
||||||
file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
|
|
||||||
|
|
||||||
SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
|
|
||||||
file://run-ptest \
|
|
||||||
file://python-config.patch \
|
|
||||||
file://tmpdir.patch \
|
|
||||||
file://dbus-1.init \
|
|
||||||
file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
|
|
||||||
file://stop_using_selinux_set_mapping.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "8d25785c798ec4f892e6f9d177fb0ceeb8b29867b119798f9d5228561d3ad474"
|
|
||||||
|
|
||||||
EXTRA_OECONF = "--disable-xml-docs \
|
|
||||||
--disable-doxygen-docs \
|
|
||||||
--enable-largefile \
|
|
||||||
--with-system-socket=/run/dbus/system_bus_socket \
|
|
||||||
--enable-tests \
|
|
||||||
--enable-checks \
|
|
||||||
--enable-asserts \
|
|
||||||
"
|
|
||||||
EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
|
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
|
|
||||||
user-session \
|
|
||||||
"
|
|
||||||
PACKAGECONFIG:class-native = ""
|
|
||||||
PACKAGECONFIG:class-nativesdk = ""
|
|
||||||
|
|
||||||
PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd"
|
|
||||||
PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
|
|
||||||
PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
|
|
||||||
PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"
|
|
||||||
PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit"
|
|
||||||
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
|
|
||||||
@@ -3,7 +3,45 @@ DESCRIPTION = "D-Bus is a message bus system, a simple way for applications to t
|
|||||||
HOMEPAGE = "https://dbus.freedesktop.org"
|
HOMEPAGE = "https://dbus.freedesktop.org"
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
|
|
||||||
require dbus.inc
|
inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome
|
||||||
|
|
||||||
|
LICENSE = "AFL-2.1 | GPL-2.0-or-later"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
|
||||||
|
file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
|
||||||
|
|
||||||
|
SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
|
||||||
|
file://run-ptest \
|
||||||
|
file://python-config.patch \
|
||||||
|
file://tmpdir.patch \
|
||||||
|
file://dbus-1.init \
|
||||||
|
file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
|
||||||
|
file://stop_using_selinux_set_mapping.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
SRC_URI[sha256sum] = "8d25785c798ec4f892e6f9d177fb0ceeb8b29867b119798f9d5228561d3ad474"
|
||||||
|
|
||||||
|
EXTRA_OECONF = "--disable-xml-docs \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--enable-largefile \
|
||||||
|
--with-system-socket=/run/dbus/system_bus_socket \
|
||||||
|
--enable-tests \
|
||||||
|
--enable-checks \
|
||||||
|
--enable-asserts \
|
||||||
|
"
|
||||||
|
EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
|
||||||
|
user-session \
|
||||||
|
"
|
||||||
|
PACKAGECONFIG:class-native = ""
|
||||||
|
PACKAGECONFIG:class-nativesdk = ""
|
||||||
|
|
||||||
|
PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd"
|
||||||
|
PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
|
||||||
|
PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
|
||||||
|
PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"
|
||||||
|
PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit"
|
||||||
|
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
|
||||||
|
|
||||||
DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0"
|
DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0"
|
||||||
RDEPENDS:${PN} += "${PN}-common ${PN}-tools"
|
RDEPENDS:${PN} += "${PN}-common ${PN}-tools"
|
||||||
|
|||||||
Reference in New Issue
Block a user