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

Felix Yan fyan at archlinux.org
Sun Sep 20 01:38:49 UTC 2015


    Date: Sunday, September 20, 2015 @ 03:38:49
  Author: fyan
Revision: 246709

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

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

-----------------------------+
 staging-i686/PKGBUILD       |   56 ++++++++++++++++++++++++++++++++++++++++++
 staging-i686/ibus.install   |   20 +++++++++++++++
 staging-x86_64/PKGBUILD     |   56 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/ibus.install |   20 +++++++++++++++
 4 files changed, 152 insertions(+)

Copied: ibus/repos/staging-i686/PKGBUILD (from rev 246708, ibus/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-20 01:38:49 UTC (rev 246709)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.11
+pkgrel=2
+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')
+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/staging-i686/ibus.install (from rev 246708, ibus/trunk/ibus.install)
===================================================================
--- staging-i686/ibus.install	                        (rev 0)
+++ staging-i686/ibus.install	2015-09-20 01:38:49 UTC (rev 246709)
@@ -0,0 +1,20 @@
+post_install() {
+  gtk-query-immodules-2.0 --update-cache
+  gtk-query-immodules-3.0 --update-cache
+
+  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+
+  glib-compile-schemas usr/share/glib-2.0/schemas
+
+  dconf update
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+
+  rm -f etc/dconf/db/ibus
+}

Copied: ibus/repos/staging-x86_64/PKGBUILD (from rev 246708, ibus/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-20 01:38:49 UTC (rev 246709)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.11
+pkgrel=2
+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')
+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/staging-x86_64/ibus.install (from rev 246708, ibus/trunk/ibus.install)
===================================================================
--- staging-x86_64/ibus.install	                        (rev 0)
+++ staging-x86_64/ibus.install	2015-09-20 01:38:49 UTC (rev 246709)
@@ -0,0 +1,20 @@
+post_install() {
+  gtk-query-immodules-2.0 --update-cache
+  gtk-query-immodules-3.0 --update-cache
+
+  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+
+  glib-compile-schemas usr/share/glib-2.0/schemas
+
+  dconf update
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+
+  rm -f etc/dconf/db/ibus
+}



More information about the arch-commits mailing list