blob: 2ce67c1ca82c0a626837cb035e6614ee8d0d893a (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=at-spi2-core
pkgver=2.45.1
pkgrel=1
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
arch="all"
options="!check" # Requires running dbus daemon.
license="LGPL-2.0-or-later"
makedepends="
dbus-dev
glib-dev
gobject-introspection-dev
gtk-doc
libxml2-dev
libxtst-dev
meson
"
subpackages="
$pkgname-dbg
$pkgname-dev
$pkgname-lang
$pkgname-doc
libatk-1.0:libatk
libatk-bridge-2.0:libatk_bridge
"
source="https://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz"
# both were merged into this
replaces="atk at-spi2-atk"
build() {
abuild-meson \
-Dx11=yes \
-Dintrospection=yes \
-Ddocs=true \
-Ddbus_daemon=/usr/bin/dbus-daemon \
. build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
rm -rf "$pkgdir"/usr/lib/systemd
}
dev() {
default_dev
replaces="atk-dev at-spi2-atk-dev"
}
libatk() {
pkgdesc="ATK library accessibility interfaces (1.0)"
amove \
usr/lib/libatk-1.0* \
usr/lib/girepository-1.0/Atk-1.0.typelib
}
libatk_bridge() {
pkgdesc="GTK+2.0 module that bridges ATK to D-Bus at-spi"
amove \
usr/lib/gnome-settings-daemon-3.0 \
usr/lib/gtk-2.0 \
usr/lib/libatk-bridge-2.0*
}
sha512sums="
989d696aec54b5148f938614c96fbc6c04f72af6ed863ab076b945954c5bf7ce205a41b2739b68968e18c1c014f18273c95bb8967e1cdc853440fffd7a441a77 at-spi2-core-2.45.1.tar.xz
"
|