ibus: update to 1.5.23; add automake to hostmakedepends

Also remove build options for gir and vala as both are always required.
This commit is contained in:
Jürgen Buchmüller 2020-12-27 19:22:34 +01:00
parent e2bbe63a3a
commit 4620d3829b
1 changed files with 9 additions and 14 deletions

View File

@ -1,16 +1,15 @@
# Template file for 'ibus' # Template file for 'ibus'
pkgname=ibus pkgname=ibus
version=1.5.22 version=1.5.23
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
build_helper="gir" build_helper="gir"
configure_args="--enable-ui --enable-gtk3 --disable-tests configure_args="--enable-ui --enable-gtk3 --disable-tests
--disable-schemas-compile --enable-memconf --enable-dconf --disable-schemas-compile --enable-memconf --enable-dconf
--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 dicts emoji-dict) $(vopt_enable dicts unicode-dict)
$(vopt_enable gir introspection) $(vopt_enable ibus_setup setup) --enable-introspection --enable-vala $(vopt_enable ibus_setup setup)"
$(vopt_enable vala)" hostmakedepends="automake gettext-devel libtool pkg-config intltool dconf
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')" $(vopt_if dicts 'cldr-emoji-annotation unicode-character-database unicode-emoji')"
makedepends="dconf-devel gtk+-devel hicolor-icon-theme iso-codes makedepends="dconf-devel gtk+-devel hicolor-icon-theme iso-codes
@ -23,11 +22,11 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="https://github.com/ibus/ibus" homepage="https://github.com/ibus/ibus"
distfiles="https://github.com/ibus/ibus/releases/download/${version}/ibus-${version}.tar.gz" distfiles="https://github.com/ibus/ibus/releases/download/${version}/ibus-${version}.tar.gz"
checksum=8170eba58c28aa4818970751ebdeada728ebb63d535967a5c5f5c21b0017be4a checksum=b7e8d5bdb7d71a5ba4ee43cdf374675f77121a71c1679c9b9e7e02875bd0e150
build_options="gir vala ibus_setup dicts" build_options="ibus_setup dicts"
desc_option_ibus_setup="Enable support for building the ibus setup UI" desc_option_ibus_setup="Enable support for building the ibus setup UI"
build_options_default="gir vala ibus_setup" build_options_default="ibus_setup"
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" dicts" build_options_default+=" dicts"
@ -49,11 +48,7 @@ ibus-devel_package() {
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove usr/share/gtk-doc vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0
vmove usr/share/gir-1.0 vmove usr/share/vala
fi
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
} }
} }