summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 69c9106e700ab4d7c9ac2f99a4988aad368ff5ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer:  Vincent Grande <shoober420@gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=at-spi2-core-git
pkgver=2.38.0
pkgrel=1
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
arch=(x86_64)
license=(GPL2)
depends=(dbus glib2 libxtst)
makedepends=(gobject-introspection git meson dbus-broker)
optdepends=('dbus-broker: Alternative bus implementation')
provides=(at-spi2-core)
conflicts=(at-spi2-core)
source=("git+https://gitlab.gnome.org/GNOME/at-spi2-core.git")
sha256sums=('SKIP')

pkgver() {
	  cd at-spi2-core
	    git describe --tags | sed 's/^AT_SPI2_CORE_//;s/_/./g;s/-/+/g'
    }

prepare() {
	  cd at-spi2-core
  }

build() {
	  arch-meson at-spi2-core build \
		      -D default_bus=dbus-broker \
		      -D docs=false
	    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() {
	  DESTDIR="$pkgdir" meson install -C build
  }

# vim:set ts=2 sw=2 et: