From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1643567-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 961CD15817D
	for <garchives@archives.gentoo.org>; Sun, 16 Jun 2024 06:21:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E28BAE2A73;
	Sun, 16 Jun 2024 06:21:45 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C4AFAE2A73
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Jun 2024 06:21:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C668733BDFF
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Jun 2024 06:21:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CE7D1ADC
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Jun 2024 06:21:43 +0000 (UTC)
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" <dlan@gentoo.org>
Message-ID: <1718518781.7d46f0d58290a14a0b25fcbe0a4558ba15b23d05.dlan@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-configtool/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-i18n/fcitx-configtool/fcitx-configtool-5.1.6-r1.ebuild
X-VCS-Directories: app-i18n/fcitx-configtool/
X-VCS-Committer: dlan
X-VCS-Committer-Name: Yixun Lan
X-VCS-Revision: 7d46f0d58290a14a0b25fcbe0a4558ba15b23d05
X-VCS-Branch: master
Date: Sun, 16 Jun 2024 06:21:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b20f78da-fd2c-4d91-99ad-444d468b4987
X-Archives-Hash: b6fd2d9fbf3191e32bc523637f3bb474

commit:     7d46f0d58290a14a0b25fcbe0a4558ba15b23d05
Author:     Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Sat Jun 15 16:23:23 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 06:19:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d46f0d5

app-i18n/fcitx-configtool: add qt6 support

fcitx-configtool provides a QT-based configuration UI
 for fcitx and KDE Configuration Modules.
Now it's time to support QT6 and KDE Plasma 6.

Closes: https://github.com/gentoo/gentoo/pull/37177
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../fcitx-configtool-5.1.6-r1.ebuild               | 94 ++++++++++++++++++++++
 1 file changed, 94 insertions(+)

diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-5.1.6-r1.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.6-r1.ebuild
new file mode 100644
index 000000000000..69d95324d3f2
--- /dev/null
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.6-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 2023-2024 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"
+IUSE="kcm +config-qt qt6 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=app-i18n/fcitx-5.1.6:5
+	app-text/iso-codes
+	sys-devel/gettext
+	virtual/libintl
+	x11-libs/libX11
+	x11-libs/libxkbfile
+	x11-misc/xkeyboard-config
+	kcm? ( x11-libs/libxkbcommon )
+	!qt6? (
+		>=app-i18n/fcitx-qt-5.1.4:5[qt5,-onlyplugin]
+		dev-qt/qtconcurrent:5
+		dev-qt/qtcore:5
+		dev-qt/qtdbus:5
+		dev-qt/qtgui:5
+		dev-qt/qtsvg:5
+		dev-qt/qtwidgets:5
+		dev-qt/qtx11extras:5
+		kde-frameworks/kwidgetsaddons:5
+		config-qt? (
+			kde-frameworks/kitemviews:5
+		)
+		kcm? (
+			dev-qt/qtquickcontrols2:5
+			kde-frameworks/kcoreaddons:5
+			kde-frameworks/kdeclarative:5
+			kde-frameworks/ki18n:5
+			kde-frameworks/kiconthemes:5
+			kde-frameworks/kirigami:5
+			kde-frameworks/kpackage:5
+			kde-plasma/libplasma:5
+		)
+	)
+	qt6? (
+		>=app-i18n/fcitx-qt-5.1.4:5[qt6,-onlyplugin]
+		dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
+		dev-qt/qtsvg:6
+		kde-frameworks/kwidgetsaddons:6
+		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
+		)
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	$(unpacker_src_uri_depends)
+	kde-frameworks/extra-cmake-modules:0
+	sys-devel/gettext
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local mycmakeargs=(
+		-DKDE_INSTALL_USE_QT_SYS_PATHS=yes
+		-DENABLE_KCM=$(usex kcm)
+		-DENABLE_CONFIG_QT=$(usex config-qt)
+		-DENABLE_TEST=$(usex test)
+		-DUSE_QT6=$(usex qt6)
+	)
+
+	cmake_src_configure
+}