void-packages/srcpkgs/ibus-hangul/template

30 lines
898 B
Bash

# Template file for 'ibus-hangul'
pkgname=ibus-hangul
version=1.5.1
revision=1
build_style=gnu-configure
configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
short_desc="Korean input engine for IBus"
hostmakedepends="automake gettext-devel intltool libtool pkg-config swig
$(vopt_if gir 'gobject-introspection')"
makedepends="ibus-devel libhangul-devel python-gobject-devel"
depends="ibus"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="GPL-2.0-or-later"
homepage="https://github.com/choehwanjin/ibus-hangul"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=7af195ba9c7b7964f079900e84a8c1989ad7de9ad1f9b11dea9914d75c430a3e
# 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
intltoolize -f
}