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

Felix Yan felixonmars at archlinux.org
Thu Aug 16 13:27:30 UTC 2018


    Date: Thursday, August 16, 2018 @ 13:27:30
  Author: felixonmars
Revision: 331593

archrelease: copy trunk to testing-x86_64

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

--------------+
 PKGBUILD     |   63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ibus.install |   16 ++++++++++++++
 2 files changed, 79 insertions(+)

Copied: ibus/repos/testing-x86_64/PKGBUILD (from rev 331592, ibus/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-08-16 13:27:30 UTC (rev 331593)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.19
+pkgrel=1
+pkgdesc="Next Generation Input Bus for Linux"
+arch=('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' 'gnome-common' 'gtk-doc' 'gconf' 'qt5-base'
+             'cldr-emoji-annotation' 'unicode-character-database' 'unicode-emoji')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz")
+sha512sums=('28554a6ffcf4aa3426b9df18ce16790a8f81be09f4bd6733e7f6d9fe9cbb43519e2cbf12bc7b406e1a9deca9ba7f2fa8e1526101661697529aad9f04428bd69a')
+
+prepare() {
+  cd ibus-$pkgver
+  sed -i 's|$(libibus) $(libibus_emoji_dialog)|$(libibus_emoji_dialog) $(libibus)|' ui/gtk3/Makefile.am
+}
+
+build() {
+  cd ibus-$pkgver
+  ./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 \
+    --with-ucd-dir=/usr/share/unicode/
+  make
+}
+
+package_ibus() {
+  depends+=("libibus=$pkgver")
+  install=ibus.install
+
+  cd ibus-$pkgver
+  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 ibus-$pkgver
+  make -C src DESTDIR="$pkgdir" install
+  make -C bindings DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install-pkgconfigDATA
+}

Copied: ibus/repos/testing-x86_64/ibus.install (from rev 331592, ibus/trunk/ibus.install)
===================================================================
--- testing-x86_64/ibus.install	                        (rev 0)
+++ testing-x86_64/ibus.install	2018-08-16 13:27:30 UTC (rev 331593)
@@ -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