void-packages/srcpkgs/geis/template

40 lines
1.1 KiB
Bash

# Template file for 'geis'
pkgname=geis
version=2.2.17
revision=2
hostmakedepends="pkg-config python3-devel"
makedepends="dbus-devel grail-devel frame-devel libXi-devel python3-devel xorg-server-devel"
build_style="gnu-configure"
configure_args="--disable-static"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL"
homepage="https://launchpad.net/geis"
short_desc="Gesture Engine Interface and Support"
distfiles="https://launchpad.net/geis/trunk/$version/+download/geis-$version.tar.xz"
checksum=8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb
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_package() {
replaces="geis-python3.4>=0"
pycompile_module="geis geisview"
short_desc+=" - Python3 bindings"
pkg_install() {
vmove usr/bin/pygeis
vmove usr/share/man/man1/pygeis.1
vmove usr/lib/python3*
}
}
geis-python3.4_package() {
build_style=meta
short_desc+=" - Python3.4 bindings (transitional dummy package)"
depends="geis-python3>=${version}_${revision}"
}