1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
11 pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
12 url="https://gitlab.gnome.org/GNOME/at-spi2-core"
18 gsettings-desktop-schemas
35 _commit=6ee2b837cc378a0438c5b615c014026cf15e9954 # tags/AT_SPI2_CORE_2_48_1^0
36 source=("git+https://gitlab.gnome.org/GNOME/at-spi2-core.git#commit=$_commit")
41 git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
47 # https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/115
48 git revert -n 6c165512fc0d33ba62bff5936b1593480193e764
53 -D default_bus=dbus-broker
57 arch-meson at-spi2-core build "${meson_options[@]}"
58 meson compile -C build
62 dbus-run-session meson test -C build --print-errorlogs
65 package_at-spi2-core() {
66 optdepends=('dbus-broker: Alternative bus implementation')
68 "at-spi2-atk=$pkgver-$pkgrel"
75 'at-spi2-atk<=2.38.0-2'
79 'at-spi2-atk<=2.38.0-2'
83 meson install -C build --destdir "$pkgdir"
85 mkdir -p doc/usr/share
86 mv {"$pkgdir",doc}/usr/share/doc
89 package_at-spi2-core-docs() {
90 pkgdesc+=" (documentation)"
96 # vim:set sw=2 sts=-1 et: