sbcl rebuild
[arch-packages.git] / ibus / trunk / PKGBUILD
blob6e8023469366bb6246aae6fb45e1e159adf80189
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgbase=ibus
4 pkgname=(ibus libibus)
5 pkgver=1.5.27
6 pkgrel=1
7 pkgdesc="Next Generation Input Bus for Linux"
8 arch=('x86_64')
9 url="https://github.com/ibus/ibus/wiki"
10 license=('LGPL')
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')
15 options=('!emptydirs' 'debug')
16 source=("https://github.com/ibus/ibus/releases/download/$pkgver/ibus-$pkgver.tar.gz")
17 sha512sums=('b5f3ae555d19eb780a416383e6351ed2cd8834fcc2bc4ebe4f4a194fc934dd055c5e782f9ec382fb21e1e2103c5409804174a79d192b5494a9018ce9081305e4')
19 build() {
20   cd ibus-$pkgver
21   ./configure \
22     --prefix=/usr \
23     --libexecdir=/usr/lib/ibus \
24     --sysconfdir=/etc \
25     --enable-dconf \
26     --enable-wayland \
27     --enable-gtk-doc \
28     --enable-gtk4 \
29     --disable-memconf \
30     --enable-ui \
31     --disable-python2 \
32     --with-python=python3 \
33     --with-ucd-dir=/usr/share/unicode/
34   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
35   make
38 package_ibus() {
39   depends+=("libibus=$pkgver")
41   cd ibus-$pkgver
42   make DESTDIR="$pkgdir" install
43   make -C src DESTDIR="$pkgdir" uninstall
44   make -C bindings DESTDIR="$pkgdir" uninstall
45   make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
48 package_libibus() {
49   pkgdesc="IBus support library"
50   depends=(libg{lib,object,io}-2.0.so)
51   provides=('libibus-1.0.so')
53   cd ibus-$pkgver
54   make -C src DESTDIR="$pkgdir" install
55   make -C bindings DESTDIR="$pkgdir" install
56   make DESTDIR="$pkgdir" install-pkgconfigDATA