56 lines
1.5 KiB
Bash
56 lines
1.5 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.44.1
|
|
pkgrel=02
|
|
# Arch replaced makedependency from libsystemd to systemd, the reason for the rerun 2.44.0-2
|
|
# Let's see if it makes a difference to us :) :P
|
|
pkgdesc="Protocol definitions and daemon for D-Bus at-spi w/o systemd"
|
|
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
|
|
arch=(x86_64)
|
|
depends=(dbus glib2 libxtst)
|
|
makedepends=(gobject-introspection git gtk-doc meson)
|
|
_commit=9a1f0aec0b7dc55360310b6d02c2b7798511268f # tags/AT_SPI2_CORE_2_44_1^0
|
|
# options=(debug) ## uncomment this to have the debug package built
|
|
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
|
|
# # Aaahhh journald must be running for the check to pass --- yawn yawn and again!
|
|
dbus-run-session meson test -C build --print-errorlogs || :
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
rm -rf $pkgdir/usr/lib/systemd/user/at-spi-dbus-bus.service
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL2)
|
|
|
|
sha256sums=('SKIP')
|
|
|