void-packages/srcpkgs/ibus-hangul/template

30 lines
895 B
Bash

# Template file for 'ibus-hangul'
pkgname=ibus-hangul
version=1.5.0
revision=2
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="Matthew Wynn <matthew@matthewwynn.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/choehwanjin/ibus-hangul"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=a22d4030bb20f73914a9d8a28c71b823123a5d1902a30f8328111af50f4f1788
# 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
}