# Template file for 'geis'
pkgname=geis
version=2.2.16
revision=4
hostmakedepends="pkg-config python3.4-devel"
makedepends="dbus-devel grail-devel frame-devel libXi-devel python3.4-devel xorg-server-devel"
build_style="gnu-configure"
configure_args="--disable-static"
maintainer="Enno Boland <eb@s01.de>"
license="GPL"
homepage="https://launchpad.net/geis"
short_desc="Gesture Engine Interface and Support"
distfiles="https://launchpadlibrarian.net/140855467/${pkgname}-${version}.tar.xz"
checksum=40a694092c79f325a2fbf8a9f301177bc91c364f4e637c2aa8963ad2a5aabbcf

geis-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}

geis-python3.4_package() {
	short_desc+=" - python3.4 bindings"
	pkg_install() {
		vmove usr/bin/pygeis
		vmove usr/share/man/man1/pygeis.1
		vmove usr/lib/python3.4
	}
}
