[arch-commits] Commit in ibus/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Wed Mar 12 02:47:36 UTC 2014


    Date: Wednesday, March 12, 2014 @ 03:47:36
  Author: fyan
Revision: 207523

upgpkg: ibus 1.5.6-1

- enable wayland support
- switch from python2 to python3, and removed pygtk as dependency. please test if the settings/options work, since this was the most broken part before.

Modified:
  ibus/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-12 01:11:27 UTC (rev 207522)
+++ PKGBUILD	2014-03-12 02:47:36 UTC (rev 207523)
@@ -3,29 +3,31 @@
 
 pkgbase=ibus
 pkgname=(ibus libibus)
-pkgver=1.5.5
+pkgver=1.5.6
 pkgrel=1
 pkgdesc="Next Generation Input Bus for Linux"
 arch=('i686' 'x86_64')
 url="http://ibus.googlecode.com"
 license=('LGPL')
-depends=('dconf' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'pygtk' 'python2-dbus' 'python2-gobject' 'iso-codes')
-makedepends=('gobject-introspection' 'vala' 'gconf' 'intltool')
+depends=('dconf' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject' 'iso-codes')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'git' 'gnome-common' 'gtk-doc' 'gconf')
 options=('!emptydirs')
-source=(http://ibus.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz)
+source=("git+https://github.com/ibus/ibus.git#tag=$pkgver")
 
 build() {
-  cd ${pkgbase}-${pkgver}
-  export PYTHON=python2
-  ./configure \
+  cd ${pkgbase}
+  ./autogen.sh \
     --prefix=/usr \
     --libexecdir=/usr/lib/ibus \
     --sysconfdir=/etc \
     --disable-gconf \
     --enable-dconf \
+    --enable-wayland \
+    --enable-gtk-doc \
     --disable-memconf \
     --enable-ui \
-    --enable-python-library
+    --enable-python-library \
+    --with-python=python3
   make
 }
 
@@ -33,7 +35,7 @@
   depends+=("libibus=$pkgver")
   install=ibus.install
 
-  cd ${pkgbase}-${pkgver}
+  cd ${pkgbase}
   make DESTDIR="${pkgdir}" install
   make -C src DESTDIR="${pkgdir}" uninstall
   make -C bindings DESTDIR="${pkgdir}" uninstall
@@ -44,10 +46,10 @@
   pkgdesc="IBus support library"
   depends=('glib2')
 
-  cd ${pkgbase}-${pkgver}
+  cd ${pkgbase}
   make -C src DESTDIR="${pkgdir}" install
   make -C bindings DESTDIR="${pkgdir}" install
   make DESTDIR="${pkgdir}" install-pkgconfigDATA
 }
 
-sha512sums=('8249d6ee4918b0e0fe030af736eed2260e1376b2fdaf0d819f289e0bd880a5e3874f1fb3d097fc74b9f359822ce16f4dae52a263aa28c2e2ce7bdf671cb2fea9')
+sha512sums=('SKIP')




More information about the arch-commits mailing list