summaryrefslogtreecommitdiff
path: root/community/ibus
diff options
context:
space:
mode:
Diffstat (limited to 'community/ibus')
-rw-r--r--community/ibus/PKGBUILD7
-rw-r--r--community/ibus/ibus.install6
2 files changed, 10 insertions, 3 deletions
diff --git a/community/ibus/PKGBUILD b/community/ibus/PKGBUILD
index 2ad3e0e93..ab31b3bf7 100644
--- a/community/ibus/PKGBUILD
+++ b/community/ibus/PKGBUILD
@@ -4,12 +4,12 @@
pkgname=ibus
pkgver=1.3.9
-pkgrel=2
+pkgrel=3
pkgdesc='Next Generation Input Bus for Linux.'
arch=('i686' 'x86_64')
license=('LGPL')
url='http://ibus.googlecode.com'
-depends=('dbus-python>=0.83.0' 'gconf' 'python2' 'pygtk' 'pyxdg' 'iso-codes' 'librsvg' 'python-notify' 'hicolor-icon-theme')
+depends=('dbus-python>=0.83.0' 'gconf' 'python2' 'pygtk' 'pyxdg' 'iso-codes' 'librsvg' 'python-notify' 'hicolor-icon-theme' 'gtk3')
optdepends=('notification-daemon')
makedepends=('intltool')
options=('!libtool')
@@ -27,7 +27,8 @@ build() {
--libexecdir=/usr/lib/ibus \
--sysconfdir=/etc \
--with-gconf-schema-file-dir=/usr/share/gconf/schemas \
- --enable-introspection=no # disabled because build fails with
+ --enable-gtk3
+ #--enable-introspection=no # disabled because build fails with
# gobject-introspection 0.9.10-2
# python2 fix
diff --git a/community/ibus/ibus.install b/community/ibus/ibus.install
index d5c04de2b..439f00b29 100644
--- a/community/ibus/ibus.install
+++ b/community/ibus/ibus.install
@@ -5,6 +5,9 @@ post_install() {
/usr/sbin/gconfpkg --install ibus
gtk-update-icon-cache -fq -t /usr/share/icons/hicolor
+
+ # update for gkt3
+ gtk-query-immodules-3.0 --update-cache
}
pre_upgrade() {
@@ -22,4 +25,7 @@ pre_remove() {
post_remove() {
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
gtk-update-icon-cache -fq -t /usr/share/icons/hicolor
+
+ # update for gkt3
+ gtk-query-immodules-3.0 --update-cache
}