81 lines
2.4 KiB
Bash
81 lines
2.4 KiB
Bash
# Template file for 'at-spi2-core'
|
|
pkgname=at-spi2-core
|
|
version=2.52.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_feature gir introspection)"
|
|
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"
|
|
changelog="https://gitlab.gnome.org/GNOME/at-spi2-core/-/raw/gnome-46/NEWS"
|
|
#changelog="https://gitlab.gnome.org/GNOME/at-spi2-core/-/raw/main/NEWS"
|
|
distfiles="${GNOME_SITE}/at-spi2-core/${version%.*}/at-spi2-core-${version}.tar.xz"
|
|
checksum=0ac3fc8320c8d01fa147c272ba7fa03806389c6b03d3c406d0823e30e35ff5ab
|
|
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
|
|
}
|
|
}
|