commit: 4f5dd407e8fa7895622187160666be5b0a1e1d95 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Apr 21 10:56:14 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Apr 22 16:27:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f5dd407
app-i18n/fcitx-chinese-addons: Drop IUSE qt5, qt6 - app-i18n/fcitx-qt[qt6(+)] USEdep default analogous to fcitx-configtool - ebuild style fixes: sorting, variable blocks - DESCRIPTION w/o trailing dot - add missing Qt6 USE deps Bug: https://bugs.gentoo.org/954145 Closes: https://bugs.gentoo.org/954143 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../fcitx-chinese-addons-5.1.8-r1.ebuild | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.8-r1.ebuild b/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.8-r1.ebuild new file mode 100644 index 000000000000..186b2b35dc02 --- /dev/null +++ b/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.8-r1.ebuild @@ -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.12:5 + >=app-i18n/libime-1.1.7: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 +}
