commit: d23ca8c99d302ea6c88c81be8b87c436cba184a9 Author: Yongxiang Liang <tanekliang <AT> gmail <DOT> com> AuthorDate: Mon Jun 16 18:58:14 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Sun Jun 29 04:23:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23ca8c9
app-i18n/fcitx-qt: add 5.1.10 Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> app-i18n/fcitx-qt/Manifest | 1 + app-i18n/fcitx-qt/fcitx-qt-5.1.10.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/app-i18n/fcitx-qt/Manifest b/app-i18n/fcitx-qt/Manifest index c628998c7f1e..51e78ccbb7b0 100644 --- a/app-i18n/fcitx-qt/Manifest +++ b/app-i18n/fcitx-qt/Manifest @@ -1 +1,2 @@ +DIST fcitx-qt-5.1.10.tar.zst 128563 BLAKE2B ff30f086d7267cc0c00e438a0795560e4a175fecd31efb740b569370b9427869fa62633e33464bf042139b6d1eb844dc4f3e473ec8da31ead678bd2964876b90 SHA512 89ca4b70d573823a804e2c4749f1d12c047689aa57db7a4ce17dbfaff9ad82a52c3db476aa54442a027121767bbc2b4e4830fea19e49198a0fccbcd2c66a6867 DIST fcitx-qt-5.1.9.tar.zst 128804 BLAKE2B c21e344c1eab3933abe4eb9558ec55a24ed952dcb0f00e16542be6408f4ac98714ba989dd442c1b9ea39e26fe3656f2d1ddbaac4380e6ef535048673637e85f0 SHA512 81859215884e3f4a598e2f1d60c2403fa4ddb078732b1292df9083a539e470e7bbb44319e968d47fecad1e4bc28424f451c1a54918ba12d2a265c59ae69f798e diff --git a/app-i18n/fcitx-qt/fcitx-qt-5.1.10.ebuild b/app-i18n/fcitx-qt/fcitx-qt-5.1.10.ebuild new file mode 100644 index 000000000000..783aea771fcc --- /dev/null +++ b/app-i18n/fcitx-qt/fcitx-qt-5.1.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="fcitx5-qt" + +inherit cmake unpacker + +DESCRIPTION="Qt library and IM module for fcitx5" +HOMEPAGE="https://github.com/fcitx/fcitx5-qt" +SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst -> ${P}.tar.zst" + +S="${WORKDIR}/${MY_PN}-${PV}" +LICENSE="BSD LGPL-2.1+" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="qt5 onlyplugin staticplugin +qt6 +X wayland" +REQUIRED_USE=" + || ( qt5 qt6 ) + qt5? ( X ) + staticplugin? ( onlyplugin ) +" + +RDEPEND=" + !onlyplugin? ( + >=app-i18n/fcitx-5.1.5:5 + qt5? ( dev-qt/qtconcurrent:5 ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5= + dev-qt/qtwidgets:5 + wayland? ( dev-qt/qtwayland:5 ) + ) + qt6? ( + dev-qt/qtbase:6=[dbus,gui,widgets,wayland?] + wayland? ( dev-qt/qtwayland:6 ) + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libxkbcommon + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig + !onlyplugin? ( sys-devel/gettext ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_QT4=no + -DENABLE_QT5=$(usex qt5) + -DENABLE_QT6=$(usex qt6) + -DENABLE_QT6_WAYLAND_WORKAROUND=$(usex qt6 $(usex wayland)) + -DENABLE_X11=$(usex X) + -DBUILD_ONLY_PLUGIN=$(usex onlyplugin) + -DBUILD_STATIC_PLUGIN=$(usex staticplugin) + ) + cmake_src_configure +}
