# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=at-spi2-core pkgver=2.52.0 pkgrel=0 pkgdesc="Protocol definitions and daemon for D-Bus at-spi" url="https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/" arch="all" options="!check" # Requires running dbus daemon. license="LGPL-2.1-or-later" makedepends=" dbus-dev glib-dev gobject-introspection-dev gtk-doc libxml2-dev libxtst-dev meson " subpackages=" $pkgname-dbg $pkgname-dev $pkgname-lang libatk-1.0:libatk libatk-bridge-2.0:libatk_bridge " source="https://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz" # both were merged into this replaces="atk at-spi2-atk" build() { abuild-meson \ -Db_lto=true \ -Dx11=enabled \ -Dintrospection=enabled \ -Ddocs=false \ -Ddbus_daemon=/usr/bin/dbus-daemon \ . build meson compile -C build } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C build rm -rf "$pkgdir"/usr/lib/systemd } dev() { default_dev replaces="atk-dev at-spi2-atk-dev" } libatk() { pkgdesc="ATK library accessibility interfaces (1.0)" amove \ usr/lib/libatk-1.0* \ usr/lib/girepository-1.0/Atk-1.0.typelib } libatk_bridge() { pkgdesc="GTK+2.0 module that bridges ATK to D-Bus at-spi" amove \ usr/lib/gnome-settings-daemon-3.0 \ usr/lib/gtk-2.0 \ usr/lib/libatk-bridge-2.0* } sha512sums=" 0482cae97cf5e2295ab56f6ae83db9e1047813a1c3c2b6cd6012f95dfabec1f7a93d0045a1a7c3fabb7a389f71dc43f797b2ad9242e97ddf565cf63948ae146b at-spi2-core-2.52.0.tar.xz "