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

Felix Yan fyan at archlinux.org
Wed Feb 25 11:24:20 UTC 2015


    Date: Wednesday, February 25, 2015 @ 12:24:20
  Author: fyan
Revision: 231970

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

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

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

Copied: ibus/repos/testing-i686/PKGBUILD (from rev 231969, ibus/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-25 11:24:20 UTC (rev 231970)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.10
+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')
+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 231969, ibus/trunk/ibus.install)
===================================================================
--- testing-i686/ibus.install	                        (rev 0)
+++ testing-i686/ibus.install	2015-02-25 11:24:20 UTC (rev 231970)
@@ -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/testing-x86_64/PKGBUILD (from rev 231969, ibus/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-25 11:24:20 UTC (rev 231970)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.10
+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')
+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 231969, ibus/trunk/ibus.install)
===================================================================
--- testing-x86_64/ibus.install	                        (rev 0)
+++ testing-x86_64/ibus.install	2015-02-25 11:24:20 UTC (rev 231970)
@@ -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