From c9f27fa87247cfd8bd3967d8519daa3c19a86987 Mon Sep 17 00:00:00 2001 From: Yongxiang Liang Date: Wed, 9 Sep 2026 11:39:08 +0800 Subject: [PATCH] app-i18n/fcitx-configtool: add 5.1.15 Part-of: https://github.com/gentoo/gentoo/pull/46769 Signed-off-by: Yongxiang Liang Signed-off-by: Yixun Lan --- app-i18n/fcitx-configtool/Manifest | 1 + .../fcitx-configtool-5.1.15.ebuild | 71 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 app-i18n/fcitx-configtool/fcitx-configtool-5.1.15.ebuild diff --git a/app-i18n/fcitx-configtool/Manifest b/app-i18n/fcitx-configtool/Manifest index 89b77f4aab9f0..7cc02aedd8b7c 100644 --- a/app-i18n/fcitx-configtool/Manifest +++ b/app-i18n/fcitx-configtool/Manifest @@ -1 +1,2 @@ DIST fcitx-configtool-5.1.14.tar.zst 152234 BLAKE2B 624757bc7a5c00fa0744dcbb0603f3aaedbb543a2d822d383e47cb3473d9e74e25d07c60f0849be8ea941cb081e40bf75a51b9e10e317f74c40b562952582225 SHA512 be06a960d2f8bf2a6a91062f5de3b419dcd52f7108fc8589da0cb57205a45f479b81e38868e2acd2ad4ac2a41d794ff111681f84c76cdfdfd8b7055000b8f472 +DIST fcitx-configtool-5.1.15.tar.zst 156782 BLAKE2B 315ef12af88d569a448c4733a4cf16fe89a0cad34671d3e414a6935702f9c47f7d0e06e85f21e594985c074822ed1ee3e4e5dc78c29028feadbfa556064302bf SHA512 e43cc8cf27908ceb72d0b9ad420da6c1ec74c93a8145825081785afb916ce18ac4b9de2900897f6d6d2e4630a763fcc43377ac06bb931caec5fe1d353661b709 diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-5.1.15.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.15.ebuild new file mode 100644 index 0000000000000..b92063f2497f6 --- /dev/null +++ b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.15.ebuild @@ -0,0 +1,71 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="fcitx5-configtool" + +inherit cmake unpacker + +DESCRIPTION="Configuration module for Fcitx" +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool" +SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst -> ${P}.tar.zst" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="kcm +config-qt test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-i18n/fcitx-5.1.13:5 + >=app-i18n/fcitx-qt-5.1.4:5[qt6(+),-onlyplugin] + app-text/iso-codes + dev-qt/qtbase:6[concurrent,dbus,gui,widgets] + dev-qt/qtsvg:6 + kde-frameworks/kwidgetsaddons:6 + sys-devel/gettext + virtual/libintl + X? ( + x11-libs/libX11 + x11-misc/xkeyboard-config + ) + config-qt? ( kde-frameworks/kitemviews:6 ) + kcm? ( + dev-qt/qtdeclarative:6 + kde-frameworks/kcoreaddons:6 + kde-frameworks/kdeclarative:6 + kde-frameworks/ki18n:6 + kde-frameworks/kiconthemes:6 + kde-frameworks/kirigami:6 + kde-frameworks/kpackage:6 + kde-frameworks/ksvg:6 + kde-frameworks/kcmutils:6 + kde-plasma/libplasma:6= + x11-libs/libxkbcommon + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + $(unpacker_src_uri_depends) + kde-frameworks/extra-cmake-modules:0 + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-make-x11-dependencies-optional.patch +) + +src_configure() { + local mycmakeargs=( + -DKDE_INSTALL_USE_QT_SYS_PATHS=yes + -DENABLE_KCM=$(usex kcm) + -DENABLE_CONFIG_QT=$(usex config-qt) + -DENABLE_X11=$(usex X) + -DENABLE_TEST=$(usex test) + ) + + cmake_src_configure +}