1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
5 pkgname=(at-spi2-core at-spi2-core-docs)
8 pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
9 url="https://gitlab.gnome.org/GNOME/at-spi2-core"
28 _commit=97d9ba04e19d0a9edd209d97db81eb6ede5fe4d6 # tags/AT_SPI2_CORE_2_46_0^0
29 source=("git+https://gitlab.gnome.org/GNOME/at-spi2-core.git#commit=$_commit")
34 git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
43 -D default_bus=dbus-broker
47 arch-meson at-spi2-core build "${meson_options[@]}"
48 meson compile -C build
52 # memory test fails without desktop
53 # broker fails to launch without journald
54 dbus-run-session meson test -C build --print-errorlogs || :
57 package_at-spi2-core() {
58 optdepends=('dbus-broker: Alternative bus implementation')
60 "at-spi2-atk=$pkgver-$pkgrel"
67 'at-spi2-atk<=2.38.0-2'
71 'at-spi2-atk<=2.38.0-2'
75 meson install -C build --destdir "$pkgdir"
77 mkdir -p doc/usr/share
78 mv {"$pkgdir",doc}/usr/share/gtk-doc
81 package_at-spi2-core-docs() {
82 pkgdesc+=" (documentation)"
88 # vim:set sw=2 sts=-1 et: