# at-spi2-core - Accessibility bus
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=at-spi2-core
version=2.58.0
release=1
desc="Accessibility bus"
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
license="LGPL-2.1-or-later"
depend="glib dbus libx11"
makedepend="meson ninja"
source="https://download.gnome.org/sources/at-spi2-core/2.58/at-spi2-core-2.58.0.tar.xz"
sha256="SKIP"

build() {
	cd "at-spi2-core-2.58.0"
	meson setup build \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nodownload \
		-Db_lto=true
	ninja -C build -j"$JOBS"
}

package() {
	cd "at-spi2-core-2.58.0"
	DESTDIR="$pkgdir" ninja -C build install
}
