diff options
author | Yongxiang Liang <tanekliang@gmail.com> | 2024-01-10 00:40:01 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-01-11 00:20:15 +0000 |
commit | 4783a3a084ee311f3325e7c1e57ed99bf6d765cf (patch) | |
tree | 20d5b664759b608a3658596ece72b51ce68d1d94 /app-i18n/fcitx-chinese-addons | |
parent | app-i18n/libime: add 1.1.4 (diff) | |
download | gentoo-4783a3a084ee311f3325e7c1e57ed99bf6d765cf.tar.gz gentoo-4783a3a084ee311f3325e7c1e57ed99bf6d765cf.tar.bz2 gentoo-4783a3a084ee311f3325e7c1e57ed99bf6d765cf.zip |
app-i18n/fcitx-chinese-addons: add 5.1.3, add new use flags
data: use data from fcitx5
qt6: add QT6 support
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n/fcitx-chinese-addons')
-rw-r--r-- | app-i18n/fcitx-chinese-addons/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.3.ebuild | 63 | ||||
-rw-r--r-- | app-i18n/fcitx-chinese-addons/metadata.xml | 1 |
3 files changed, 65 insertions, 0 deletions
diff --git a/app-i18n/fcitx-chinese-addons/Manifest b/app-i18n/fcitx-chinese-addons/Manifest index e044fd5b8310..6f9c005661a6 100644 --- a/app-i18n/fcitx-chinese-addons/Manifest +++ b/app-i18n/fcitx-chinese-addons/Manifest @@ -1 +1,2 @@ DIST fcitx5-chinese-addons-5.1.2_dict.tar.xz 883388 BLAKE2B 7db9fcd8b9fddce9db5b0cf23e5300d7a246183184c32d8292a92617f5b66bebd81a5876cb197508676266c39fbeae5a17fd659feadab0a41be1df948c9663fe SHA512 8a94b974b461dc0a20ee7c243d482295359be27a7cc2152755aebdde3330a62f579506666e231d15cd081e58794359f1791b674f8d9f873babf7c68f4dea81a1 +DIST fcitx5-chinese-addons-5.1.3_dict.tar.xz 884664 BLAKE2B 6e9f931c146798bbbd76e7a55d62d50de2c8173d0dddcb48ea78259dac62fe41cb4be4421c6d6d81a5b094a3ebe258b1d20b42e2891451da55723e3978c1379a SHA512 4ea52ec45af70b552d8d4af3ed077662d6d839d3984bc41858b4710fe5b1dc169c63e223770f5400718c1c18aa745e77305f242409fa1cc523cee8475eb2e9ff diff --git a/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.3.ebuild b/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.3.ebuild new file mode 100644 index 000000000000..67b8c1a3d265 --- /dev/null +++ b/app-i18n/fcitx-chinese-addons/fcitx-chinese-addons-5.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="fcitx5-chinese-addons" + +inherit cmake 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.xz" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="~amd64 ~loong ~x86" +SLOT="5" +IUSE="+data +gui webengine +cloudpinyin +qt5 qt6 lua +opencc test" +REQUIRED_USE=" + webengine? ( gui ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-i18n/fcitx-5.1.6:5 + >=app-i18n/libime-1.1.3:5[data?] + >=dev-libs/boost-1.61:= + cloudpinyin? ( net-misc/curl ) + lua? ( app-i18n/fcitx-lua:5 ) + opencc? ( app-i18n/opencc:= ) + gui? ( + qt5? ( + dev-qt/qtconcurrent:5 + app-i18n/fcitx-qt:5[qt5,-onlyplugin] + webengine? ( dev-qt/qtwebengine:5[widgets] ) + ) + qt6? ( + dev-qt/qtbase:6[concurrent] + app-i18n/fcitx-qt:5[qt6,-onlyplugin] + webengine? ( dev-qt/qtwebengine:6[widgets] ) + ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +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) + -DUSE_WEBKIT=no + -DUSE_QT6=$(usex qt6) + ) + cmake_src_configure +} diff --git a/app-i18n/fcitx-chinese-addons/metadata.xml b/app-i18n/fcitx-chinese-addons/metadata.xml index c73b7e1cf220..2b09f33c853c 100644 --- a/app-i18n/fcitx-chinese-addons/metadata.xml +++ b/app-i18n/fcitx-chinese-addons/metadata.xml @@ -15,6 +15,7 @@ </maintainer> <use> <flag name="cloudpinyin">Build cloud pinyin addon</flag> + <flag name="data">Build data</flag> <flag name="gui">Enable GUI support (qt5 or qt6)</flag> <flag name="opencc">Enable support for conversion between Traditional and Simplified Chinese</flag> <flag name="qt5">Enable configure qt5</flag> |