44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
# Template file for 'at-spi2-core'
|
|
pkgname=at-spi2-core
|
|
version=2.12.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config intltool dbus glib-devel"
|
|
makedepends="libglib-devel libXext-devel libSM-devel libXtst-devel libXevie-devel dbus-devel"
|
|
conf_files="/etc/at-spi2/accessibility.conf"
|
|
short_desc="Assistive Technology Service Provider Interface"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=db550edd98e53b4252521459c2dcaf0f3b060a9bad52489b9dbadbaedad3fb89
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
configure_args+=" --enable-introspection"
|
|
makedepends+=" gobject-introspection"
|
|
else
|
|
configure_args+=" --disable-introspection"
|
|
fi
|
|
|
|
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/share/gtk-doc
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|