1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tom Gundersen <teg@jklm.no>
4 # Contributor: Link Dupont <link@subpop.net>
7 pkgname=(dbus dbus-docs)
10 pkgdesc="Freedesktop.org message bus system"
11 url="https://wiki.freedesktop.org/www/Software/dbus/"
14 depends=(systemd-libs expat audit)
15 makedepends=(systemd xmlto docbook-xsl python yelp-tools doxygen git autoconf-archive)
16 source=("git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
17 dbus-reload.hook no-fatal-warnings.diff)
19 'd636205622d0ee3b0734360225739ef0c7ad2468a09489e6ef773d88252960f3'
20 'c10395be67e1127a58d7173b587fbbf16f8a8b271c41293558fcf9e27c185478')
21 validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
26 # Allow us to enable checks without them being fatal
27 patch -Np1 -i ../no-fatal-warnings.diff
29 NOCONFIGURE=1 ./autogen.sh
37 --localstatedir=/var \
38 --libexecdir=/usr/lib/dbus-1.0 \
40 --with-console-auth-dir=/run/console/ \
41 --with-dbus-user=dbus \
42 --with-system-pid-file=/run/dbus/pid \
43 --with-system-socket=/run/dbus/system_bus_socket \
44 --with-systemdsystemunitdir=/usr/lib/systemd/system \
48 --enable-user-session \
50 --enable-doxygen-docs \
51 --enable-ducktype-docs \
58 make -C dbus -j1 check
62 depends+=(libsystemd.so libaudit.so)
63 provides=(libdbus libdbus-1.so)
67 DESTDIR="$pkgdir" make -C dbus install
69 rm -r "$pkgdir"/{etc,var}
71 # We have a pre-assigned uid (81)
72 echo 'u dbus 81 "System Message Bus"' |
73 install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/dbus.conf"
75 install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
78 mkdir -p doc/usr/share
79 mv {"$pkgdir",doc}/usr/share/doc
81 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
85 pkgdesc+=" (documentation)"
90 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING