42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'at-spi2-core'
|
|
pkgname=at-spi2-core
|
|
version=2.38.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="pkg-config dbus glib-devel gettext"
|
|
makedepends="libglib-devel libXext-devel libSM-devel libXtst-devel dbus-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}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=84e36c3fe66862133f5fe229772b76aa2526e10de5014a3778f2fa46ce550da5
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
# non-trivial dbus setup
|
|
do_check() {
|
|
:
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/lib/systemd
|
|
}
|
|
|
|
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
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|