# Template file for 'at-spi2-core'
pkgname=at-spi2-core
version=2.8.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool dbus"
makedepends="gobject-introspection libXtst-devel libXevie-devel dbus-devel"
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=1861a30fc7f583d5a567a0ba547db67ce9bd294f0d1c9f7403c96a10a481c458
long_desc="
 This package includes the protocol definitions for the new D-Bus
 at-spi.

 Also included is the daemon neccessary for forwarding device events
 and registering accessible applicaitons."

at-spi2-core-devel_package() {
	depends="dbus-devel ${sourcepkg}-${version}_${revision}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

at-spi2-core_package() {
	conf_files="/etc/at-spi2/accessibility.conf"
	pkg_install() {
		vmove usr
	}
}
