void-packages/srcpkgs/ibus-hangul/template
Matthew Wynn 84860264bc New package: ibus-hangul
Closes: #4701 [via git-merge-pr]
2017-02-22 17:13:08 -05:00

28 lines
922 B
Bash

# Template file for 'ibus-hangul'
pkgname=ibus-hangul
version=1.5.0
revision=1
build_style=gnu-configure
configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)"
short_desc="Korean input engine for IBus"
hostmakedepends="pkg-config intltool automake gettext-devel libtool swig $(vopt_if gir gobject-introspection)"
makedepends="python-gobject-devel libhangul ibus-devel"
depends="ibus libhangul gtk-update-icon-cache python-gobject"
maintainer="Matthew Wynn <matthew@matthewwynn.com>"
homepage="https://github.com/choehwanjin/ibus-hangul"
license="GPL-2"
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
}