summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongxiang Liang <tanekliang@gmail.com>2024-03-01 21:32:55 +0800
committerYixun Lan <dlan@gentoo.org>2024-03-08 09:06:26 +0000
commit1eca8602ab91a32e3735a5e2e938644d87ae8f76 (patch)
tree9cf4c76523fc9278e2641b01c54f38878835aee6 /app-i18n
parentapp-i18n/fcitx-qt: add 5.1.5 (diff)
downloadgentoo-1eca8602ab91a32e3735a5e2e938644d87ae8f76.tar.gz
gentoo-1eca8602ab91a32e3735a5e2e938644d87ae8f76.tar.bz2
gentoo-1eca8602ab91a32e3735a5e2e938644d87ae8f76.zip
app-i18n/fcitx-configtool: add 5.1.4
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/fcitx-configtool/Manifest1
-rw-r--r--app-i18n/fcitx-configtool/fcitx-configtool-5.1.4.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/app-i18n/fcitx-configtool/Manifest b/app-i18n/fcitx-configtool/Manifest
index dbd36834a892..10b2e3818783 100644
--- a/app-i18n/fcitx-configtool/Manifest
+++ b/app-i18n/fcitx-configtool/Manifest
@@ -1,2 +1,3 @@
DIST fcitx-configtool-0.4.10.tar.xz 50440 BLAKE2B f2f2241d3ea139f6f3de9b8c6ffcc71c789dfa291efe4c551596eebc8a04f13f9fe698cc25d8349a174399044d15ddca2aeab952ac2bc7f0f4e9e47d453329ca SHA512 1c1267e9de694bbd5f258b5bba1e7514c4f8556cdc82a1cce5eafd8a4ec571955285dade0acd02f128eca01f867a30c5c6264ee7e91d32a333eba6e4d275fe8f
DIST fcitx-configtool-5.1.3.tar.xz 110124 BLAKE2B 0aa608b80388ef0ecb2bb693a23bb600addcffcb61f446c7cdafe9930a00809ab62a77cad008602e3cc0bd0ae743fb1bbef9caabf52cc45fdb42586316031f9f SHA512 05be9591c7e609e302f4c803d2799ee7d02fab5de5577067bdffe31fb507f28deb1d674f38d319628c2fa4b5948c4a6958704d18e19bd7c9006683cdeaed11d3
+DIST fcitx-configtool-5.1.4.tar.xz 110356 BLAKE2B 942cd0b68d689f865bb46796543cea7746a0409bead0cb0d79f30ca23b988f93ac81ed862855f521c5e36541d210d12f898d45f195dc2afb2181198c846a8b27 SHA512 95ac4a8b8c261ae990d30d34ffa02f14f00916197f8f9f81ca4dd8a33c609124b1cfb25ce3ff8ccb653409879606f7f97dc0fd01e8e1d7f2ddba8bdfc51ac6eb
diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-5.1.4.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.4.ebuild
new file mode 100644
index 000000000000..f58d2433cd8f
--- /dev/null
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="fcitx5-configtool"
+
+inherit cmake
+
+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.xz -> ${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="kcm +config-qt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=app-i18n/fcitx-5.1.6:5
+ >=app-i18n/fcitx-qt-5.1.4:5[qt5,-onlyplugin]
+ app-text/iso-codes
+ 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
+ sys-devel/gettext
+ virtual/libintl
+ x11-libs/libX11
+ x11-libs/libxkbfile
+ x11-misc/xkeyboard-config
+ config-qt? (
+ kde-frameworks/kitemviews:5
+ )
+ kcm? (
+ x11-libs/libxkbcommon
+ 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
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ kde-frameworks/extra-cmake-modules:0
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+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)
+ # kde-frameworks/kitemviews:6 is not ready.
+ -DUSE_QT6=no
+ )
+
+ cmake_src_configure
+}