mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 02:14:23 +02:00
73 lines
1.7 KiB
Text
73 lines
1.7 KiB
Text
# Maintainer: team/gnome <fossdd@pwned.life>
|
|
pkgname=at-spi2-core
|
|
pkgver=2.56.2
|
|
pkgrel=0
|
|
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.1-or-later"
|
|
makedepends="
|
|
dbus-dev
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gtk-doc
|
|
libxml2-dev
|
|
libxtst-dev
|
|
meson
|
|
"
|
|
subpackages="
|
|
$pkgname-dbg
|
|
$pkgname-dev
|
|
$pkgname-lang
|
|
libatk-1.0:libatk
|
|
libatk-bridge-2.0:libatk_bridge
|
|
$pkgname-libs
|
|
"
|
|
# Allows disabling installation of the accessibility service with `apk add !at-spi2-core`.
|
|
# See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/80773
|
|
install_if="$pkgname-libs=$pkgver-r$pkgrel"
|
|
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 \
|
|
-Db_lto=true \
|
|
-Dx11=enabled \
|
|
-Dintrospection=enabled \
|
|
-Ddocs=false \
|
|
-Ddbus_daemon=/usr/bin/dbus-daemon \
|
|
. build
|
|
meson compile -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="
|
|
223908ebf65b6e44681deec4ec0cbcc55300f8a53b5b60f6d7720cbbed4588110dca2d3d8fb7470718abe0b35fe6ca819051570a5c4ee62707b7d6d99fecc8d0 at-spi2-core-2.56.2.tar.xz
|
|
"
|