gtk/ibus/PKGBUILD

44 lines
1.3 KiB
Bash
Raw Normal View History

pkgname=ibus
2018-10-12 10:01:14 +08:00
pkgver=1.5.19
pkgrel=2
pkgdesc="Next Generation Input Bus for Linux, IBus qt library and IBus qt input method plugin included"
arch=('x86_64')
2016-02-22 22:11:50 +08:00
url="https://github.com/ibus/ibus"
license=('LGPL')
2015-07-16 20:39:29 +08:00
depends=('dconf' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python3-dbus' 'python3-gobject'
'iso-codes' 'python2-gobject2' 'python2-dbus' 'python2-gobject' 'librsvg')
2018-10-12 10:01:14 +08:00
makedepends=('gobject-introspection' 'vala' 'intltool' 'gnome-common' 'gtk-doc' 'gconf' 'qt5-base'
'unicode-emoji' 'unicode-character-database' 'cldr-emoji-annotation')
2017-03-23 14:38:35 +08:00
options=('!emptydirs')
install=ibus.install
2018-10-12 10:01:14 +08:00
source=("$pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz")
sha1sums=('04be911a8b5b2f0a6148149536ae54a7f1b25ba8')
2017-05-03 16:47:14 +08:00
prepare() {
2018-10-12 10:01:14 +08:00
cd ${pkgname}-${pkgver}
sed -i 's|$(libibus) $(libibus_emoji_dialog)|$(libibus_emoji_dialog) $(libibus)|' ui/gtk3/Makefile.am
2017-05-03 16:47:14 +08:00
}
build() {
cd ${pkgname}-${pkgver}
2016-02-22 22:11:50 +08:00
./autogen.sh \
--prefix=/usr \
--libexecdir=/usr/lib/ibus \
--sysconfdir=/etc \
--disable-gconf \
2018-10-12 10:01:14 +08:00
--enable-dconf \
--enable-wayland \
2016-02-22 22:11:50 +08:00
--enable-gtk-doc \
2018-10-12 10:01:14 +08:00
--disable-memconf \
--enable-ui \
2015-07-16 20:39:29 +08:00
--enable-python-library \
2018-10-12 10:01:14 +08:00
--with-python=python3 \
--with-ucd-dir=/usr/share/unicode/
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}