New package: ibus-libpinyin

This commit adds a new package to add Chinese language input support for
'ibus' via libpinyin.

This input engine supports Simplified Chinese PinYin and also Traditional
Chinese ZhuYin (Bopomofo) phoenetic input method.

PATCH 2: Cleaned up build process and dependencies

(*) Note that glib-devel is still needed beause the build process
    uses the glib-gettextsize library on the host system.
(*) Moved ibus-devel to hostmakedepends to avoid causing ibus to be
    built when cross compiling, which requires librsvg, which requires
    rust, etc.

PATCH 3: Cleaned up long line

closes #6423
This commit is contained in:
Ben Sung Hsu 2018-12-31 21:37:27 -06:00 committed by maxice8
parent 87daa40553
commit df9807f638
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -0,0 +1,18 @@
# Template file for 'ibus-libpinyin'
pkgname=ibus-libpinyin
version=1.10.92
revision=1
build_style=gnu-configure
hostmakedepends="intltool libtool pkg-config autoconf-archive autoconf automake
gnome-common gettext-devel glib-devel ibus-devel"
makedepends="sqlite-devel libpinyin-devel"
short_desc="Intelligent Pinyin engine using libpinyin for IBus"
maintainer="Ben Sung Hsu <pobetiger+github@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/libpinyin/ibus-libpinyin"
distfiles="https://github.com/libpinyin/ibus-libpinyin/archive/${version}.tar.gz"
checksum=f9eb47c914914e082057e39e1d670482b43b1180f88250bc3c8d87264adae103
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}