# Template file for 'caribou'
pkgname=caribou
version=0.4.10
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module"
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
makedepends="vala-devel>=0.20 libxklavier-devel libgee08-devel pygobject-devel>=3.4.2
 clutter-devel gtk+3-devel libXtst-devel gir-freedesktop"
short_desc="An alternative to the Gnome On-screen Keyboard"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-3"
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
checksum=6480ce3a87cf4f01dd1fb52edbb31a2aa9f5573a0860b67115c86bbcd7b17865
long_desc="
 Caribou is a text entry and UI navigation application being developed as an
 alternative to the Gnome On-screen Keyboard. The overarching goal for Caribou
 is to create a usable solution for people whose primary way of accessing a
 computer is a switch device.

 The initial goal is to make an in-place on-screen keyboard suitable for people
 who can use a mouse but not a hardware keyboard. This on-screen keyboard may
 also be useful for touch screen or tablet users."

caribou-devel_package() {
	depends="libXtst-devel libgee08-devel libxklavier-devel gtk+3-devel libxml2-devel caribou>=${version}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/vala
	}
}

caribou_package() {
	depends="pygobject>=3.4.2 pyatspi dbus-python gir-freedesktop
		at-spi2-atk desktop-file-utils"
	pycompile_module="$pkgname"
	pkg_install() {
		vmove usr
	}
}
