51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=at-spi2-core
|
|
pkgver=2.42.0
|
|
pkgrel=02
|
|
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
|
|
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
|
|
arch=(x86_64)
|
|
depends=(dbus glib2 libxtst)
|
|
makedepends=(gobject-introspection git gtk-doc meson)
|
|
|
|
_commit=b22b7dcfcb34f01218de0f6aa0d10b4d34fb07aa # tags/AT_SPI2_CORE_2_42_0^0
|
|
source=("git+$url.git#commit=$_commit")
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
jobo-meson $pkgname build \
|
|
-D default_bus=dbus-daemon \
|
|
-D docs=true
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
# memory test fails without desktop
|
|
# broker fails to launch without journald
|
|
dbus-run-session meson test -C build --print-errorlogs || :
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL2)
|
|
|
|
sha256sums=('SKIP')
|