Lakka-LibreELEC/packages/sysutils/dbus/package.mk
Rudi Heitbaum fa9cd58d01 dbus: update to 1.14.0
minor update from 1.13.22 (release candidate) to 1.14.0 (stable release
version of dbus)

changelog:
- https://gitlab.freedesktop.org/dbus/dbus/-/compare/dbus-1.13.22...dbus-1.14?from_project_id=1187
2022-03-05 12:01:21 +00:00

48 lines
2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dbus"
PKG_VERSION="1.14.0"
PKG_SHA256="ccd7cce37596e0a19558fd6648d1272ab43f011d80c8635aea8fd0bad58aebd4"
PKG_LICENSE="GPL"
PKG_SITE="https://dbus.freedesktop.org"
PKG_URL="https://dbus.freedesktop.org/releases/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain expat systemd"
PKG_LONGDESC="D-Bus is a message bus, used for sending messages between applications."
PKG_TOOLCHAIN="configure"
PKG_CONFIGURE_OPTS_TARGET="export ac_cv_have_abstract_sockets=yes \
--with-sysroot=${SYSROOT_PREFIX} \
--libexecdir=/usr/lib/dbus \
--disable-verbose-mode \
--disable-asserts \
--enable-checks \
--disable-tests \
--disable-ansi \
--disable-xml-docs \
--disable-doxygen-docs \
--disable-x11-autolaunch \
--disable-selinux \
--disable-libaudit \
--enable-systemd \
--enable-inotify \
--without-valgrind \
--without-x \
--with-dbus-user=dbus \
--runstatedir=/run \
--with-system-socket=/run/dbus/system_bus_socket"
post_makeinstall_target() {
rm -rf ${INSTALL}/etc/rc.d
rm -rf ${INSTALL}/usr/lib/dbus-1.0/include
}
post_install() {
add_user dbus x 81 81 "System message bus" "/" "/bin/sh"
add_group dbus 81
add_group netdev 497
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}
}