mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
fcitx5-chinese-addons: update to 5.1.6.
This commit is contained in:
parent
833430a79b
commit
7271d06743
1 changed files with 9 additions and 11 deletions
|
@ -1,13 +1,14 @@
|
||||||
# Template file for 'fcitx5-chinese-addons'
|
# Template file for 'fcitx5-chinese-addons'
|
||||||
pkgname=fcitx5-chinese-addons
|
pkgname=fcitx5-chinese-addons
|
||||||
version=5.1.5
|
version=5.1.6
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_OPENCC=ON -DENABLE_GUI=ON -DENABLE_BROWSER=ON
|
configure_args="-DENABLE_OPENCC=ON -DENABLE_GUI=ON -DENABLE_BROWSER=ON
|
||||||
-DENABLE_CLOUDPINYIN=ON -DENABLE_DATA=ON"
|
-DENABLE_CLOUDPINYIN=ON -DENABLE_DATA=ON"
|
||||||
hostmakedepends="pkg-config gettext doxygen extra-cmake-modules libime-utils"
|
hostmakedepends="pkg-config gettext doxygen extra-cmake-modules libime-utils
|
||||||
|
qt6-base"
|
||||||
makedepends="libfcitx5-devel fmt-devel opencc-devel fcitx5-lua-devel
|
makedepends="libfcitx5-devel fmt-devel opencc-devel fcitx5-lua-devel
|
||||||
libcurl-devel boost-devel libime-devel"
|
libcurl-devel boost-devel libime-devel fcitx5-qt6-devel"
|
||||||
short_desc="Fcitx5 - Chinese related addon"
|
short_desc="Fcitx5 - Chinese related addon"
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
|
@ -17,7 +18,7 @@ _pystroke_version=20121124
|
||||||
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/fcitx5-chinese-addons-${version}.tar.zst
|
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/fcitx5-chinese-addons-${version}.tar.zst
|
||||||
http://download.fcitx-im.org/data/py_table-${_pytable_version}.tar.gz
|
http://download.fcitx-im.org/data/py_table-${_pytable_version}.tar.gz
|
||||||
http://download.fcitx-im.org/data/py_stroke-${_pystroke_version}.tar.gz"
|
http://download.fcitx-im.org/data/py_stroke-${_pystroke_version}.tar.gz"
|
||||||
checksum="4987c529080d9920d1d29469f3721a57394e101d8ea05c4e3225bb689696da24
|
checksum="2a5e63618c1883b83f218e01fa3b7210ad7c678d52faf7787d0a3c41f9e004a5
|
||||||
42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04
|
42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04
|
||||||
8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248"
|
8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248"
|
||||||
skip_extraction="
|
skip_extraction="
|
||||||
|
@ -35,13 +36,9 @@ if [ "$XBPS_WORDSIZE" = 32 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$_have_webengine" = yes ]; then
|
if [ "$_have_webengine" = yes ]; then
|
||||||
configure_args+=" -DUSE_QT6=ON -DUSE_WEBKIT=OFF"
|
makedepends+=" qt6-webengine-devel"
|
||||||
hostmakedepends+=" qt6-base"
|
|
||||||
makedepends+=" qt6-webengine-devel fcitx5-qt6-devel"
|
|
||||||
else
|
else
|
||||||
configure_args+=" -DUSE_QT6=OFF -DUSE_WEBKIT=ON"
|
configure_args+=" -DENABLE_BROWSER=OFF"
|
||||||
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
||||||
makedepends+=" qt5-webkit-devel fcitx5-qt5-devel"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
@ -62,7 +59,8 @@ fcitx5-cloudpinyin_package() {
|
||||||
|
|
||||||
fcitx5-chinese-addons-pinyin-dict-manager_package() {
|
fcitx5-chinese-addons-pinyin-dict-manager_package() {
|
||||||
short_desc+=" - Pinyin Dictionaries Manager"
|
short_desc+=" - Pinyin Dictionaries Manager"
|
||||||
depends="fcitx5-chinese-addons>=${version}_${revision}"
|
depends="fcitx5-chinese-addons>=${version}_${revision}
|
||||||
|
libime-utils"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/fcitx5/qt*"
|
vmove "usr/lib/fcitx5/qt*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue