42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'at-spi2-core'
|
|
pkgname=at-spi2-core
|
|
version=2.30.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="pkg-config intltool dbus glib-devel"
|
|
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.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.gnome.org"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=856f1f8f1bf0482a1bc275b18b9f28815d346bc4175004d37e175a1a0e50ca48
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
|
|
*-musl) ;;
|
|
*) build_options_default+=" gir" ;;
|
|
esac
|
|
|
|
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"
|
|
}
|
|
}
|