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

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 25 17:47:33 UTC 2016


    Date: Sunday, December 25, 2016 @ 17:47:32
  Author: foutrelis
Revision: 284751

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

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

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

Copied: ibus/repos/staging-i686/PKGBUILD (from rev 284750, ibus/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-12-25 17:47:32 UTC (rev 284751)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.14
+pkgrel=2
+pkgdesc="Next Generation Input Bus for Linux"
+arch=('i686' 'x86_64')
+url="https://github.com/ibus/ibus/wiki"
+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/staging-i686/ibus.install (from rev 284750, ibus/trunk/ibus.install)
===================================================================
--- staging-i686/ibus.install	                        (rev 0)
+++ staging-i686/ibus.install	2016-12-25 17:47:32 UTC (rev 284751)
@@ -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/staging-x86_64/PKGBUILD (from rev 284750, ibus/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-12-25 17:47:32 UTC (rev 284751)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.14
+pkgrel=2
+pkgdesc="Next Generation Input Bus for Linux"
+arch=('i686' 'x86_64')
+url="https://github.com/ibus/ibus/wiki"
+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/staging-x86_64/ibus.install (from rev 284750, ibus/trunk/ibus.install)
===================================================================
--- staging-x86_64/ibus.install	                        (rev 0)
+++ staging-x86_64/ibus.install	2016-12-25 17:47:32 UTC (rev 284751)
@@ -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