ibus-hangul: forcefully use python3

closes #7415
This commit is contained in:
maxice8 2019-01-19 13:03:12 -02:00 committed by maxice8
parent 51308b40a5
commit 4fea5165ef
1 changed files with 5 additions and 14 deletions

View File

@ -1,28 +1,19 @@
# Template file for 'ibus-hangul'
pkgname=ibus-hangul
version=1.5.1
revision=2
revision=3
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')"
configure_args="--libexec=/usr/lib/ibus --with-python=/usr/bin/python3"
hostmakedepends="automake gettext-devel intltool libtool pkg-config swig"
makedepends="ibus-devel libhangul-devel python-gobject-devel"
depends="ibus librsvg"
depends="ibus librsvg python3-gobject"
short_desc="Korean input engine for IBus"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
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