2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2019-05-28 18:37:57 +01:00
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2013-08-03 16:27:45 +02:00
|
|
|
|
|
|
|
|
PKG_NAME="dbus"
|
2020-11-18 11:50:47 +00:00
|
|
|
PKG_VERSION="1.13.18"
|
|
|
|
|
PKG_SHA256="8078f5c25e34ab907ce06905d969dc8ef0ccbec367e1e1707c7ecf8460f4254e"
|
2013-08-03 16:27:45 +02:00
|
|
|
PKG_LICENSE="GPL"
|
2016-02-07 19:22:45 +01:00
|
|
|
PKG_SITE="https://dbus.freedesktop.org"
|
2021-01-19 19:34:16 +00:00
|
|
|
PKG_URL="https://dbus.freedesktop.org/releases/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
2014-01-30 14:31:09 +01:00
|
|
|
PKG_DEPENDS_TARGET="toolchain expat systemd"
|
2018-10-22 15:06:12 +02:00
|
|
|
PKG_LONGDESC="D-Bus is a message bus, used for sending messages between applications."
|
2019-05-28 18:37:57 +01:00
|
|
|
PKG_TOOLCHAIN="configure"
|
2013-08-03 16:27:45 +02:00
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="export ac_cv_have_abstract_sockets=yes \
|
2021-01-19 19:34:16 +00:00
|
|
|
--with-sysroot=${SYSROOT_PREFIX} \
|
2013-08-03 16:27:45 +02:00
|
|
|
--libexecdir=/usr/lib/dbus \
|
2013-08-15 13:49:06 +02:00
|
|
|
--disable-verbose-mode \
|
|
|
|
|
--disable-asserts \
|
2013-08-03 16:27:45 +02:00
|
|
|
--enable-checks \
|
|
|
|
|
--disable-tests \
|
|
|
|
|
--disable-ansi \
|
|
|
|
|
--disable-xml-docs \
|
|
|
|
|
--disable-doxygen-docs \
|
|
|
|
|
--disable-x11-autolaunch \
|
|
|
|
|
--disable-selinux \
|
|
|
|
|
--disable-libaudit \
|
2013-08-04 14:29:54 +02:00
|
|
|
--enable-systemd \
|
2013-08-03 16:27:45 +02:00
|
|
|
--enable-inotify \
|
2014-08-26 20:45:29 +03:00
|
|
|
--without-valgrind \
|
2013-08-03 16:27:45 +02:00
|
|
|
--without-x \
|
2018-06-24 14:41:32 +02:00
|
|
|
--with-dbus-user=dbus \
|
|
|
|
|
--runstatedir=/run \
|
|
|
|
|
--with-system-socket=/run/dbus/system_bus_socket"
|
2013-08-03 16:27:45 +02:00
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2021-01-19 19:34:16 +00:00
|
|
|
rm -rf ${INSTALL}/etc/rc.d
|
|
|
|
|
rm -rf ${INSTALL}/usr/lib/dbus-1.0/include
|
2013-08-03 16:27:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
|
add_user dbus x 81 81 "System message bus" "/" "/bin/sh"
|
|
|
|
|
add_group dbus 81
|
|
|
|
|
add_group netdev 497
|
|
|
|
|
|
2021-01-19 19:34:16 +00:00
|
|
|
echo "chmod 4750 ${INSTALL}/usr/lib/dbus/dbus-daemon-launch-helper" >> ${FAKEROOT_SCRIPT}
|
|
|
|
|
echo "chown 0:81 ${INSTALL}/usr/lib/dbus/dbus-daemon-launch-helper" >> ${FAKEROOT_SCRIPT}
|
2013-08-03 16:27:45 +02:00
|
|
|
}
|