aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ibus/APKBUILD
blob: ffe3194767ef918afd8a9441a3803e5dce7ecd5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=ibus
pkgver=1.5.19
pkgrel=0
pkgdesc="Next Generation Input Bus for Linux"
url="https://github.com/ibus/ibus/wiki"
arch="all"
license="LGPL-2.1-or-later"
depends="
	dconf hicolor-icon-theme iso-codes dbus py-gobject3
"
makedepends="
	dconf-dev gtk+-dev gtk+3.0-dev libnotify-dev iso-codes-dev librsvg-dev
	gobject-introspection-dev vala intltool qt5-qtbase
	automake autoconf gnome-common gtk-doc wayland-dev wayland-protocols gconf
	dbus-x11 unicode-character-database
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz
	0001-Use-more-portable-call-to-mktemp.patch
"
install="$pkgname.post-install"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./autogen.sh \
		--prefix=/usr \
		--libexecdir=/usr/lib/ibus \
		--sysconfdir=/etc \
		--disable-gconf \
		--enable-dconf \
		--enable-wayland \
		--disable-memconf \
		--enable-ui \
		--disable-gtk-doc \
		--disable-emoji-dict \
		--with-ucd-dir=/usr/share/unicode/
	make
}

check() {
	cd "$builddir"
	./bus/ibus-daemon --version
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
}

sha512sums="28554a6ffcf4aa3426b9df18ce16790a8f81be09f4bd6733e7f6d9fe9cbb43519e2cbf12bc7b406e1a9deca9ba7f2fa8e1526101661697529aad9f04428bd69a  ibus-1.5.19.tar.gz
1e2e62ce52becf75d794c403e8f21bb72e8406aacbdbc5189f62a3b7c54166c40da0032d3f3865f5a23d9d2c782f974b7bcc9ba5ce437d9eb435dd3db3ff0b06  0001-Use-more-portable-call-to-mktemp.patch"