# Template file for 'ibus'
pkgname=ibus
version=1.4.99.20120917
revision=2
subpackages="ibus-devel"
build_style=gnu-configure
configure_args="--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--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"
fulldepends="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=190d4bf2b8cfb53393712d2843ef7ff61a277a7ecd684fb749dd7afc598221c9
long_desc="
 IBus means Intelligent Input Bus. It is an open source input framework
 for Linux/Unix OS."

triggers="gtk-immodules gtk3-immodules"
gtk_iconcache_dirs="/usr/share/icons/hicolor"

post_install() {
	vmkdir etc/xdg/autostart
	ln -sf /usr/share/applications/ibus.desktop \
		${DESTDIR}/etc/xdg/autostart/ibus.desktop
}
