Files
Arch-R/packages/sysutils/dbus/package.mk
Rudi Heitbaum 5a4c34378a dbus: update to 1.15.8 and meson
news:
- https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/NEWS

dbus 1.15.8 (2023-08-21)
========================

Build-time configuration changes:

- For this version of dbus, Meson is the recommended build system for all
  Unix platforms. CMake continues to be recommended for Windows, but this
  recommendation might change to Meson in a future release, so please
  test the Meson build. See INSTALL for details.

- Autotools-generated files are no longer included in the tarball release.
  The Autotools build system is likely to be removed in a future dbus
  release, so Autotools users should migrate to Meson as soon as possible.
  It is still possible to build using Autotools, by following the same
  procedure as for a git clone (starting with the `./autogen.sh` script).
2023-10-27 12:26:25 +00:00

49 lines
1.9 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.15.8"
PKG_SHA256="84fc597e6ec82f05dc18a7d12c17046f95bad7be99fc03c15bc254c4701ed204"
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_MESON_OPTS_TARGET="--libexecdir=/usr/lib/dbus \
-Dverbose_mode=false \
-Dapparmor=disabled \
-Dasserts=false \
-Dchecks=true \
-Dembedded_tests=false \
-Dinstalled_tests=false \
-Dmodular_tests=disabled \
-Dxml_docs=disabled \
-Ddoxygen_docs=disabled \
-Dducktype_docs=disabled \
-Dx11_autolaunch=disabled \
-Dselinux=disabled \
-Dlibaudit=disabled \
-Dsystemd=enabled \
-Duser_session=false \
-Dinotify=enabled \
-Dvalgrind=disabled \
-Ddbus_user=dbus \
-Druntime_dir=/run \
-Dsystem_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}
}