1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
7 pkgdesc="Next Generation Input Bus for Linux"
9 url="https://github.com/ibus/ibus/wiki"
11 depends=('dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject'
12 'iso-codes' 'librsvg')
13 makedepends=('gobject-introspection' 'vala' 'intltool' 'gnome-common' 'gtk-doc' 'gtk4' 'gtk2'
14 'qt5-base' 'unicode-cldr' 'unicode-character-database' 'unicode-emoji' 'git')
15 options=('!emptydirs')
16 _commit=cfb263f04f82a83dd94f6eedcd5017d40a4a1a05 # 1.5.25
17 source=("git+https://github.com/ibus/ibus#commit=$_commit")
22 git describe --tags | sed 's/-/+/g'
27 sed -i 's|$(libibus) $(libibus_emoji_dialog)|$(libibus_emoji_dialog) $(libibus)|' ui/gtk3/Makefile.am
28 git cherry-pick -n 936a0e76df79d92a8bdc03e9205330fb84a2083e
29 NOCONFIGURE=1 ./autogen.sh
36 --libexecdir=/usr/lib/ibus \
45 --with-python=python3 \
46 --with-ucd-dir=/usr/share/unicode/
47 sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
52 depends+=("libibus=$pkgver")
55 make DESTDIR="$pkgdir" install
56 make -C src DESTDIR="$pkgdir" uninstall
57 make -C bindings DESTDIR="$pkgdir" uninstall
58 make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
62 pkgdesc="IBus support library"
63 depends=(libg{lib,object,io}-2.0.so)
64 provides=('libibus-1.0.so')
67 make -C src DESTDIR="$pkgdir" install
68 make -C bindings DESTDIR="$pkgdir" install
69 make DESTDIR="$pkgdir" install-pkgconfigDATA