38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'at-spi2-core'
|
|
pkgname=at-spi2-core
|
|
version=2.28.0
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config intltool dbus glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="libglib-devel libXext-devel libSM-devel libXtst-devel libXevie-devel dbus-devel"
|
|
short_desc="Assistive Technology Service Provider Interface"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/lib/systemd
|
|
}
|
|
|
|
at-spi2-core-devel_package() {
|
|
depends="dbus-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"
|
|
}
|
|
}
|