[arch-commits] Commit in ibus/repos (6 files)

Felix Yan felixonmars at archlinux.org
Sat Aug 6 03:25:23 UTC 2016


    Date: Saturday, August 6, 2016 @ 03:25:23
  Author: felixonmars
Revision: 273381

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ibus/repos/testing-i686/
  ibus/repos/testing-i686/PKGBUILD
    (from rev 273380, ibus/trunk/PKGBUILD)
  ibus/repos/testing-i686/ibus.install
    (from rev 273380, ibus/trunk/ibus.install)
  ibus/repos/testing-x86_64/
  ibus/repos/testing-x86_64/PKGBUILD
    (from rev 273380, ibus/trunk/PKGBUILD)
  ibus/repos/testing-x86_64/ibus.install
    (from rev 273380, ibus/trunk/ibus.install)

-----------------------------+
 testing-i686/PKGBUILD       |   56 ++++++++++++++++++++++++++++++++++++++++++
 testing-i686/ibus.install   |   16 ++++++++++++
 testing-x86_64/PKGBUILD     |   56 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/ibus.install |   16 ++++++++++++
 4 files changed, 144 insertions(+)

Copied: ibus/repos/testing-i686/PKGBUILD (from rev 273380, ibus/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-08-06 03:25:23 UTC (rev 273381)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.14
+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' 'python-dbus' 'python-gobject' 'iso-codes' 'python2-gobject2' 'python2-dbus' 'python2-gobject' 'librsvg')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'git' 'gnome-common' 'gtk-doc' 'gconf' 'qt5-base' 'nodejs-emojione')
+options=('!emptydirs')
+source=("git+https://github.com/ibus/ibus.git#tag=$pkgver")
+
+build() {
+  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 \
+    --with-python=python3
+  make
+}
+
+package_ibus() {
+  depends+=("libibus=$pkgver")
+  install=ibus.install
+
+  cd ${pkgbase}
+  make DESTDIR="${pkgdir}" install
+  make -C src DESTDIR="${pkgdir}" uninstall
+  make -C bindings DESTDIR="${pkgdir}" uninstall
+  rm -r "$pkgdir/usr/lib/python2.7/site-packages/gi" # compiled pyc/pyo files were not cleaned
+  make DESTDIR="${pkgdir}" uninstall-pkgconfigDATA
+}
+
+package_libibus() {
+  pkgdesc="IBus support library"
+  depends=('glib2')
+
+  cd ${pkgbase}
+  make -C src DESTDIR="${pkgdir}" install
+  make -C bindings DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" install-pkgconfigDATA
+}
+
+sha512sums=('SKIP')

Copied: ibus/repos/testing-i686/ibus.install (from rev 273380, ibus/trunk/ibus.install)
===================================================================
--- testing-i686/ibus.install	                        (rev 0)
+++ testing-i686/ibus.install	2016-08-06 03:25:23 UTC (rev 273381)
@@ -0,0 +1,16 @@
+post_install() {
+  gtk-query-immodules-2.0 --update-cache
+  gtk-query-immodules-3.0 --update-cache
+
+  dconf update
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+
+  rm -f etc/dconf/db/ibus
+}

Copied: ibus/repos/testing-x86_64/PKGBUILD (from rev 273380, ibus/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-08-06 03:25:23 UTC (rev 273381)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.14
+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' 'python-dbus' 'python-gobject' 'iso-codes' 'python2-gobject2' 'python2-dbus' 'python2-gobject' 'librsvg')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'git' 'gnome-common' 'gtk-doc' 'gconf' 'qt5-base' 'nodejs-emojione')
+options=('!emptydirs')
+source=("git+https://github.com/ibus/ibus.git#tag=$pkgver")
+
+build() {
+  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 \
+    --with-python=python3
+  make
+}
+
+package_ibus() {
+  depends+=("libibus=$pkgver")
+  install=ibus.install
+
+  cd ${pkgbase}
+  make DESTDIR="${pkgdir}" install
+  make -C src DESTDIR="${pkgdir}" uninstall
+  make -C bindings DESTDIR="${pkgdir}" uninstall
+  rm -r "$pkgdir/usr/lib/python2.7/site-packages/gi" # compiled pyc/pyo files were not cleaned
+  make DESTDIR="${pkgdir}" uninstall-pkgconfigDATA
+}
+
+package_libibus() {
+  pkgdesc="IBus support library"
+  depends=('glib2')
+
+  cd ${pkgbase}
+  make -C src DESTDIR="${pkgdir}" install
+  make -C bindings DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" install-pkgconfigDATA
+}
+
+sha512sums=('SKIP')

Copied: ibus/repos/testing-x86_64/ibus.install (from rev 273380, ibus/trunk/ibus.install)
===================================================================
--- testing-x86_64/ibus.install	                        (rev 0)
+++ testing-x86_64/ibus.install	2016-08-06 03:25:23 UTC (rev 273381)
@@ -0,0 +1,16 @@
+post_install() {
+  gtk-query-immodules-2.0 --update-cache
+  gtk-query-immodules-3.0 --update-cache
+
+  dconf update
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+
+  rm -f etc/dconf/db/ibus
+}



More information about the arch-commits mailing list