mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
app-i18n/fcitx-chinese-addons: add 5.1.9
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
2040726aa6
commit
fe2d02bd57
@@ -1 +1,2 @@
|
||||
DIST fcitx5-chinese-addons-5.1.8_dict.tar.zst 1009572 BLAKE2B 63014424ca758cce38b2bc24c08c9add503e73c1e94e574cbae5d051753c6bca134bc88f4e096c264a3731b556f748e8af9496f78d5348956aa5cc78cbb843a1 SHA512 0fc8d3daf608781b573bfb5239988ae07f251558fc1d963f99962eb33a35d374f4a3e146f5c7bec1c403fa268495075cb3805f6478788fa79220377c72a98ea9
|
||||
DIST fcitx5-chinese-addons-5.1.9_dict.tar.zst 1006092 BLAKE2B d245de9be35ace413730763f808b2c38236d24240c7c6fac098d3359687c13335509a20bdea1aa76314f3fff5f25b5e2b47d2b33bf5e9475fbdec094c1b5d756 SHA512 7a2f0a57309d5209dd9cd61e980d03d0b5b4921a56470f3dd55ba8e091edcd950745c5e1eb1418496b8ec476f91c56fe8f280608baed9dbbf3f17cd9b7426089
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="fcitx5-chinese-addons"
|
||||
inherit cmake unpacker xdg
|
||||
|
||||
DESCRIPTION="Addons related to Chinese, including IME previous bundled inside fcitx4"
|
||||
HOMEPAGE="https://github.com/fcitx/fcitx5-chinese-addons"
|
||||
SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}_dict.tar.zst"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||||
IUSE="+cloudpinyin +data +gui lua +opencc test webengine"
|
||||
REQUIRED_USE="webengine? ( gui )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-i18n/fcitx-5.1.13:5
|
||||
>=app-i18n/libime-1.1.11:5[data?]
|
||||
>=dev-libs/boost-1.61:=
|
||||
cloudpinyin? ( net-misc/curl )
|
||||
gui? (
|
||||
>=app-i18n/fcitx-qt-5.1.4:5[qt6(+),-onlyplugin]
|
||||
dev-qt/qtbase:6[concurrent,gui,network,widgets]
|
||||
webengine? ( dev-qt/qtwebengine:6[widgets] )
|
||||
)
|
||||
lua? ( app-i18n/fcitx-lua:5 )
|
||||
opencc? ( app-i18n/opencc:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
kde-frameworks/extra-cmake-modules:0
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_BROWSER=$(usex webengine)
|
||||
-DENABLE_CLOUDPINYIN=$(usex cloudpinyin)
|
||||
-DENABLE_DATA=$(usex data)
|
||||
-DENABLE_GUI=$(usex gui)
|
||||
-DUSE_QT6=$(usex gui)
|
||||
-DENABLE_OPENCC=$(usex opencc)
|
||||
-DENABLE_TEST=$(usex test)
|
||||
-DUSE_WEBKIT=no
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user