void-packages/srcpkgs/ibus-anthy/template

28 lines
861 B
Bash

# Template file for 'ibus-anthy'
pkgname=ibus-anthy
version=1.5.11
revision=1
build_style=gnu-configure
configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
hostmakedepends="automake gettext $(vopt_if gir gobject-introspection) libtool pkg-config swig"
makedepends="anthy-devel gettext-devel ibus-devel python-gobject-devel"
depends="ibus"
short_desc="Japanese input method Anthy IMEngine for IBus Framework"
maintainer="7185 <7185@free.fr>"
license="LGPL-2.1-or-later"
homepage="https://github.com/ibus/ibus/wiki"
distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
autoreconf -fi
}