ibus: build emoji and unicode dicts

This commit is contained in:
John 2020-02-11 19:01:22 +01:00
parent 8de6b4b8e7
commit 335e62ba3b
1 changed files with 10 additions and 5 deletions

View File

@ -1,17 +1,18 @@
# Template file for 'ibus'
pkgname=ibus
version=1.5.21
revision=2
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-ui --enable-gtk3 --disable-tests
--disable-schemas-compile --enable-memconf --enable-dconf
--disable-emoji-dict --disable-unicode-dict --enable-wayland
--enable-python2 --with-python=/usr/bin/python3
--enable-wayland --enable-python2 --with-python=/usr/bin/python3
$(vopt_enable dicts emoji-dict) $(vopt_enable dicts unicode-dict)
$(vopt_enable gir introspection) $(vopt_enable ibus_setup setup)
$(vopt_enable vala)"
hostmakedepends="gettext-devel libtool pkg-config intltool dconf
python3 python glib-devel $(vopt_if vala vala) python-gobject-devel"
python3 python glib-devel $(vopt_if vala vala) python-gobject-devel
$(vopt_if dicts 'cldr-emoji-annotation unicode-character-database unicode-emoji')"
makedepends="dconf-devel gtk+-devel hicolor-icon-theme iso-codes
json-glib-devel libnotify-devel librsvg-devel python3-xdg
$(vopt_if vala vala) libXtst-devel"
@ -24,10 +25,14 @@ homepage="https://github.com/ibus/ibus"
distfiles="https://github.com/ibus/ibus/releases/download/${version}/ibus-${version}.tar.gz"
checksum=adc1e5e620d6a89a49306f022b50561f2c05218dec13d0c9b136dc8b6568a2b9
build_options="gir vala ibus_setup"
build_options="gir vala ibus_setup dicts"
desc_option_ibus_setup="Enable support for building the ibus setup UI"
build_options_default="gir vala ibus_setup"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" dicts"
fi
pre_install() {
vmkdir etc/dconf/db
}