1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
7 pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
8 url="https://gitlab.gnome.org/GNOME/at-spi2-core"
11 depends=(dbus glib2 libxtst systemd)
12 makedepends=(gobject-introspection git gtk-doc meson dbus-broker)
13 optdepends=('dbus-broker: Alternative bus implementation')
15 _commit=9a1f0aec0b7dc55360310b6d02c2b7798511268f # tags/AT_SPI2_CORE_2_44_1^0
16 source=("git+https://gitlab.gnome.org/GNOME/at-spi2-core.git#commit=$_commit")
21 git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
29 arch-meson $pkgname build \
30 -D default_bus=dbus-broker \
32 meson compile -C build
36 # memory test fails without desktop
37 # broker fails to launch without journald
38 dbus-run-session meson test -C build --print-errorlogs || :
42 meson install -C build --destdir "$pkgdir"