commit:     2fed186d10704196fab3e1924f92af0f210bc025
Author:     Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Wed Dec 24 03:58:20 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 25 10:46:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fed186d

app-i18n/fcitx-chinese-addons: add 5.1.11

Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/fcitx-chinese-addons/Manifest             |  1 +
 .../fcitx-chinese-addons-5.1.11.ebuild             | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-i18n/fcitx-chinese-addons/Manifest 
b/app-i18n/fcitx-chinese-addons/Manifest
index 6344ef7c4a04..359e59393b05 100644
--- a/app-i18n/fcitx-chinese-addons/Manifest
+++ b/app-i18n/fcitx-chinese-addons/Manifest
@@ -1,2 +1,3 @@
 DIST fcitx5-chinese-addons-5.1.10_dict.tar.zst 1014243 BLAKE2B 
8b8ac4fbf8df70c2d8087f69958c50f3a4bced248741f9d21022cee683485d447b131b43f692f8f8ae73ad7c47fc2cbb6ce7172a2761967c9974fa75ddab552a
 SHA512 
02463a781a0b8baf2ad56efc0d34d95bd4f70ec54db0b6a0d1eb2efb7b474bf8008aee5b9c1daf39aef7c4efecb63f0c0af8142271608237e048c48b4b55a6f1
+DIST fcitx5-chinese-addons-5.1.11_dict.tar.zst 1020827 BLAKE2B 
6d44c41ea6858fe9516eafbb7e3166cf9bfca6153e9f81631275d442a6ae35596cd70faf6968ffc5bbcb72972f840a13fcf747e177ab0bf7c38e85121c388538
 SHA512 
30c5a8ff6354c46eceaa541b83b81b6e8c325f9695fbfa4e96837ecd80cda0d9ca3c0de3c9c841bf98734937459f4c5ec5eeb01ca2fa0b6fccef0cfff39d8f9e
 DIST fcitx5-chinese-addons-5.1.9_dict.tar.zst 1006092 BLAKE2B 
d245de9be35ace413730763f808b2c38236d24240c7c6fac098d3359687c13335509a20bdea1aa76314f3fff5f25b5e2b47d2b33bf5e9475fbdec094c1b5d756
 SHA512 
7a2f0a57309d5209dd9cd61e980d03d0b5b4921a56470f3dd55ba8e091edcd950745c5e1eb1418496b8ec476f91c56fe8f280608baed9dbbf3f17cd9b7426089

diff --git a/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.11.ebuild 
b/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.11.ebuild
new file mode 100644
index 000000000000..45c8e8ac0515
--- /dev/null
+++ b/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.11.ebuild
@@ -0,0 +1,50 @@
+# 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.13: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)
+               -DENABLE_OPENCC=$(usex opencc)
+               -DENABLE_TEST=$(usex test)
+       )
+       cmake_src_configure
+}

Reply via email to