# Template file for 'ibus'
pkgname=ibus
version=1.5.2
revision=1
build_style=gnu-configure
configure_args="--enable-ui --enable-gtk3 --disable-python
 --disable-schemas-compile --enable-memconf
 --disable-schemas-install --enable-dconf --disable-gconf"
makedepends="pkg-config intltool dconf-devel>=0.13.90 librsvg-devel
 gobject-introspection gtk+-devel gtk+3-devel vala-devel
 hicolor-icon-theme iso-codes dbus-x11 pyxdg"
short_desc="Intelligent Input Bus for Linux / Unix OS"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://ibus.googlecode.com"
license="LGPL-2.1"
distfiles="http://ibus.googlecode.com/files/ibus-${version}.tar.gz"
checksum=394f5653e336c6bc02cb055b8eac9f0c9b2a337d582b278e3e825e8cf3f0230d
long_desc="
 IBus means Intelligent Input Bus. It is an open source input framework
 for Linux/Unix OS."

ibus-devel_package() {
	depends="libglib-devel ibus-${version}_${revision}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/gir-1.0
		vmove usr/share/vala
	}
}

ibus_package() {
	triggers="gtk-immodules gtk3-immodules"
	depends="hicolor-icon-theme iso-codes dbus-x11 pyxdg"
	pkg_install() {
		vmove all
	}
}
