-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathPKGBUILD
97 lines (86 loc) · 1.87 KB
/
PKGBUILD
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=at-spi2-core
pkgname=(
at-spi2-core
at-spi2-core-docs
)
pkgver=2.54.1
pkgrel=1
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://gitlab.gnome.org/GNOME/at-spi2-core"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=(LGPL-2.1-or-later)
depends=(
bash
dbus
glib2
glibc
gsettings-desktop-schemas
libx11
libxi
libxtst
systemd-libs
xorg-xprop
)
makedepends=(
dbus-broker
gi-docgen
git
glib2-devel
gobject-introspection
libxml2
meson
python-sphinx
systemd
)
checkdepends=(
at-spi2-core
)
source=("git+https://gitlab.gnome.org/GNOME/at-spi2-core.git?signed#tag=$pkgver")
b2sums=('c91373beaf6bd08785c0f1423ce9fc920fb084db6b2c9aacea101ab59c4273d5ca7c2d3b45c20e11dbe05357dfbf1552cad9c7ead515404834e7fc9ada0515ce')
validpgpkeys=(
276BFDAFB36212F8DB095E2140823A056FD6D4B3 # Mike Gorse <mgorse@suse.com>
)
prepare() {
cd at-spi2-core
}
build() {
local meson_options=(
-D default_bus=dbus-broker
-D docs=true
)
arch-meson at-spi2-core build "${meson_options[@]}"
meson compile -C build
}
check() {
dbus-run-session meson test -C build --print-errorlogs
}
package_at-spi2-core() {
provides=(
"at-spi2-atk=$pkgver-$pkgrel"
"atk=$pkgver-$pkgrel"
libatk-1.0.so
libatk-bridge-2.0.so
libatspi.so
)
conflicts=(
'at-spi2-atk<=2.38.0-2'
'atk<=2.38.0-2'
)
replaces=(
'at-spi2-atk<=2.38.0-2'
'atk<=2.38.0-2'
)
meson install -C build --destdir "$pkgdir"
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc
}
package_at-spi2-core-docs() {
pkgdesc+=" (documentation)"
depends=()
mv doc/* "$pkgdir"
}
# vim:set sw=2 sts=-1 et: