fcitx-libpinyin: rebuilt for libpinyin 2.6.0

This commit is contained in:
Đoàn Trần Công Danh 2021-01-17 17:52:45 +07:00
parent fd5b66f422
commit 45036753ee
2 changed files with 22 additions and 15 deletions

View file

@ -0,0 +1,10 @@
--- data/table.conf.orig 2021-01-17 17:32:50.977868321 +0700
+++ data/table.conf 2021-01-17 17:34:32.055849637 +0700
@@ -3,6 +3,7 @@
lambda parameter:0.347121
source table format:pinyin
+database format:BerkeleyDB
default RESERVED NULL NULL NULL NOT_USED
default GB_DICTIONARY gb_char.table gb_char.bin gb_char.dbin SYSTEM_FILE

View file

@ -1,9 +1,10 @@
# Template file for 'fcitx-libpinyin'
pkgname=fcitx-libpinyin
version=0.5.3
revision=1
revision=2
build_style=cmake
hostmakedepends="pkg-config gobject-introspection fcitx"
configure_args="-DENABLE_QT=OFF"
hostmakedepends="pkg-config gobject-introspection fcitx libpinyin"
makedepends="libpinyin-devel fcitx-devel"
depends="fcitx"
short_desc="Fcitx wrapper for libpinyin"
@ -13,22 +14,18 @@ homepage="https://github.com/fcitx/fcitx-libpinyin"
distfiles="https://download.fcitx-im.org/$pkgname/$pkgname-${version}_dict.tar.xz"
checksum=fccd408b9fad8becebf7f736e3309e775d045d6383742892385b69be91f89b4c
if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ] &&
[ "$XBPS_TARGET_ENDIAN" = "le" ]
if [ "$XBPS_WORDSIZE$XBPS_TARGET_ENDIAN" = "${XBPS_TARGET_WORDSIZE}le" ]
then
configure_args="-DENABLE_QT=ON"
configure_args+=" -DENABLE_QT=ON"
hostmakedepends+=" qt5-devel"
makedepends+=" libfcitx-qt5-devel qt5-webengine-devel
qt5-declarative-devel qt5-webchannel-devel qt5-location-devel"
else
configure_args="-DENABLE_QT=OFF"
subpackages=" "
fi
fcitx-libpinyin-qt5_package() {
short_desc+=" - Qt5 IM module"
depends="fcitx-libpinyin-${version}_${revision}"
pkg_install() {
vmove usr/lib/fcitx/qt
fcitx-libpinyin-qt5_package() {
short_desc+=" - Qt5 IM module"
depends="fcitx-libpinyin-${version}_${revision}"
pkg_install() {
vmove usr/lib/fcitx/qt
}
}
}
fi