diff options
Diffstat (limited to 'community/ibus/APKBUILD')
-rw-r--r-- | community/ibus/APKBUILD | 65 |
1 files changed, 42 insertions, 23 deletions
diff --git a/community/ibus/APKBUILD b/community/ibus/APKBUILD index 36680e3885e..19b024fdb2a 100644 --- a/community/ibus/APKBUILD +++ b/community/ibus/APKBUILD @@ -1,7 +1,7 @@ -# Maintainer: Drew DeVault <sir@cmpwn.com> +# Maintainer: Will Sinatra <wpsinatra@gmail.com> pkgname=ibus -pkgver=1.5.25 -pkgrel=0 +pkgver=1.5.29 +pkgrel=1 pkgdesc="Next Generation Input Bus for Linux" url="https://github.com/ibus/ibus/wiki" arch="all" @@ -10,30 +10,33 @@ depends=" dconf hicolor-icon-theme iso-codes dbus py3-gobject3 " makedepends=" - dconf-dev gtk+-dev gtk+3.0-dev libnotify-dev iso-codes-dev - gobject-introspection-dev vala intltool qt5-qtbase - automake autoconf gnome-common gtk-doc wayland-dev wayland-protocols - dbus-x11 unicode-character-database xz cldr-emoji-annotation + bash dconf-dev gtk+2.0-dev gtk+3.0-dev gtk4.0-dev + libnotify-dev iso-codes-dev gobject-introspection-dev vala qt5-qtbase + wayland-dev wayland-protocols + dbus-x11 unicode-character-database cldr-emoji-annotation + libdbusmenu-glib-dev libdbusmenu-gtk3-dev " subpackages=" $pkgname-dev $pkgname-doc $pkgname-lang + $pkgname-pyc $pkgname-emoji - $pkgname-bash-completion:bashcomp:noarch + $pkgname-gtk2 + $pkgname-gtk3 + $pkgname-gtk4 + $pkgname-bash-completion " -source=" - $pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz - 0001-Use-more-portable-call-to-mktemp.patch -" +source="https://github.com/ibus/ibus/releases/download/$pkgver/ibus-$pkgver-rc2.tar.gz" install="$pkgname.post-install" +#https://github.com/ibus/ibus/issues/2584 +builddir="$srcdir/$pkgname-$pkgver-rc2" prepare() { - # Fix all shebangs from 'python' to 'python3' - grep -r -l '#!/usr/bin/python' . | xargs sed -i '1s|python|python3|' - default_prepare - NOCONFIGURE=1 ./autogen.sh + + # disable-gtk-doc doesn't prevent install of what exists + rm -r docs/reference/ibus/html/ } build() { @@ -43,9 +46,11 @@ build() { --sysconfdir=/etc \ --enable-dconf \ --enable-wayland \ + --enable-gtk4 \ --disable-memconf \ --enable-ui \ --disable-gtk-doc \ + --disable-systemd-services \ --enable-emoji-dict \ --with-ucd-dir=/usr/share/unicode/ make @@ -67,15 +72,29 @@ emoji() { mv "$pkgdir"/usr/share/ibus/dicts "$subpkgdir"/usr/share/ibus } -bashcomp() { - depends="" - pkgdesc="Bash completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel bash-completion" +gtk2() { + install_if="$pkgname=$pkgver-r$pkgrel gtk+2.0" + + amove usr/lib/gtk-2.0/2.10.0 +} + +gtk3() { + install_if="$pkgname=$pkgver-r$pkgrel gtk+3.0" + + amove usr/lib/gtk-3.0/3.0.0 +} + +gtk4() { + install_if="$pkgname=$pkgver-r$pkgrel gtk4.0" + + amove usr/lib/gtk-4.0/4.0.0 +} - amove usr/share/bash-completion +pyc() { + default_pyc + amove usr/share/ibus/setup/__pycache__ } sha512sums=" -128373c6c35c7c8df02fa9e8e5458db6e38a35a7a7debf340c2b21d8e2ec803e3c95ed800211785b13b99210e1877322adb67ce47e5e9ef25e2734487af388fa ibus-1.5.25.tar.gz -1e2e62ce52becf75d794c403e8f21bb72e8406aacbdbc5189f62a3b7c54166c40da0032d3f3865f5a23d9d2c782f974b7bcc9ba5ce437d9eb435dd3db3ff0b06 0001-Use-more-portable-call-to-mktemp.patch +47dd39c9615783b6c157a25e8a2506dc2e1f440d56aa649ee8cb95a390cb4efab9c95e72ac84b5d042c25e350599b4d352ddc66f1385af6660d4a7a296e44ca7 ibus-1.5.29-rc2.tar.gz " |