79 lines
2.2 KiB
Bash
79 lines
2.2 KiB
Bash
# Template file for 'at-spi2-core'
|
|
pkgname=at-spi2-core
|
|
version=2.48.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
|
|
hostmakedepends="pkg-config dbus glib-devel gettext"
|
|
makedepends="libglib-devel libXext-devel libSM-devel libXtst-devel dbus-devel
|
|
libxml2-devel"
|
|
short_desc="Assistive Technology Service Provider Interface"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/at-spi2-core"
|
|
distfiles="${GNOME_SITE}/at-spi2-core/${version%.*}/at-spi2-core-${version}.tar.xz"
|
|
checksum=905a5b6f1790b68ee803bffa9f5fab4ceb591fb4fae0b2f8c612c54f1d4e8a30
|
|
make_check=no # non-trivial dbus setup
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
at-spi2-core-devel_package() {
|
|
depends="dbus-devel libglib-devel libX11-devel libXtst-devel libXi-devel
|
|
${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include/at-spi-2.0
|
|
vmove usr/lib/libatspi.so
|
|
vmove usr/lib/pkgconfig/atspi-2.pc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0/Atspi-2.0.gir
|
|
fi
|
|
}
|
|
}
|
|
|
|
atk_package() {
|
|
short_desc="Set of interfaces for accessibility"
|
|
pkg_install() {
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/lib/girepository-1.0/Atk-1.0.typelib
|
|
fi
|
|
vmove "usr/lib/libatk-1.0.so.*"
|
|
}
|
|
}
|
|
|
|
atk-devel_package() {
|
|
depends="libglib-devel atk>=${version}_${revision}"
|
|
short_desc="Set of interfaces for accessibility - development files"
|
|
pkg_install() {
|
|
vmove usr/include/atk-1.0
|
|
vmove usr/lib/libatk-1.0.so
|
|
vmove usr/lib/pkgconfig/atk.pc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0/Atk-1.0.gir
|
|
fi
|
|
}
|
|
}
|
|
|
|
at-spi2-atk_package() {
|
|
short_desc+=" - ATK bridge"
|
|
pkg_install() {
|
|
vmove usr/lib/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop
|
|
vmove usr/lib/gtk-2.0/modules/libatk-bridge.so
|
|
vmove "usr/lib/libatk-bridge-2.0.so.*"
|
|
}
|
|
}
|
|
|
|
at-spi2-atk-devel_package() {
|
|
depends="libglib-devel atk-devel at-spi2-core-devel libxml2-devel
|
|
at-spi2-atk>=${version}_${revision}"
|
|
short_desc+=" - ATK bridge development files"
|
|
pkg_install() {
|
|
vmove usr/include/at-spi2-atk
|
|
vmove usr/lib/pkgconfig/atk-bridge-2.0.pc
|
|
vmove usr/lib/libatk-bridge-2.0.so
|
|
}
|
|
}
|