# Description: A message bus system # URL: https://freedesktop.org/wiki/Software/dbus # Maintainer: CRUX System Team, core-ports at crux dot nu # Depends on: expat name=dbus version=1.16.0 release=1 source=(https://dbus.freedesktop.org/releases/dbus/$name-$version.tar.xz fix-daemon-location.patch rc.dbus 30-dbus.launch) build() { patch -Np1 -d $name-$version -i $SRC/fix-daemon-location.patch meson setup $name-$version build \ --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --libexecdir=lib/dbus \ --buildtype=plain \ --wrap-mode nodownload \ -D b_lto=true \ -D b_pie=true \ -D dbus_daemondir=/usr/sbin \ -D dbus_user=messagebus \ -D runtime_dir=/run \ -D system_pid_file=/run/dbus/pid \ -D system_socket=/run/dbus/system_bus_socket meson compile -C build DESTDIR=$PKG meson install -C build install -D -m 0755 $SRC/rc.dbus $PKG/etc/rc.d/dbus install -D -m 0755 $SRC/30-dbus.launch \ $PKG/etc/X11/xinit/xinitrc.d/30-dbus.launch.sh rm -r $PKG/usr/share/doc $PKG/run rm -rf $PKG/usr/share/xml }