# Template file for 'at-spi2-atk'
pkgname=at-spi2-atk
version=2.10.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel>=2.38 atk-devel>=2.10 at-spi2-core-devel>=2.10"
short_desc="A GTK+ module that bridges ATK to D-Bus at-spi"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=dea7ff2f9bc9bbdb0351112616d738de718b55739cd2511afecac51604c31a94
long_desc="
 This package includes a gtk-module that bridges ATK to the new D-Bus based
 AT-SPI as well as C and Python client libraries.

 These libraries depend on the at-spi2-core code that contains the daemon for
 registering applications, D-Bus helper libraries and te AT-SPI D-Bus
 specifications."

at-spi2-atk-devel_package() {
	depends="libglib-devel at-spi2-core-devel>=2.10 ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}

at-spi2-atk_package() {
	depends="at-spi2-core>=2.10"
	pkg_install() {
		vmove all
	}
}
