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=36b6bae1542a5201ff25ed16e4c026512f4fecdb # tags/AT_SPI2_CORE_2_48_2^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'
50 -D default_bus=dbus-broker
54 arch-meson at-spi2-core build "${meson_options[@]}"
55 meson compile -C build
59 dbus-run-session meson test -C build --print-errorlogs
62 package_at-spi2-core() {
63 optdepends=('dbus-broker: Alternative bus implementation')
65 "at-spi2-atk=$pkgver-$pkgrel"
72 'at-spi2-atk<=2.38.0-2'
76 'at-spi2-atk<=2.38.0-2'
80 meson install -C build --destdir "$pkgdir"
82 mkdir -p doc/usr/share
83 mv {"$pkgdir",doc}/usr/share/doc
86 package_at-spi2-core-docs() {
87 pkgdesc+=" (documentation)"
93 # vim:set sw=2 sts=-1 et: