diff options
author | Yongxiang Liang <tanekliang@gmail.com> | 2023-11-30 23:51:54 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2023-12-11 13:33:39 +0000 |
commit | 896fe1a28a143b63fdbae26f6352ff744e7b1b1f (patch) | |
tree | a8a457703ba86c6e2a6d17f1beacb8a12dc361fd /app-i18n/fcitx-configtool | |
parent | app-i18n/fcitx-qt: new package, add 5.1.3 (diff) | |
download | gentoo-896fe1a28a143b63fdbae26f6352ff744e7b1b1f.tar.gz gentoo-896fe1a28a143b63fdbae26f6352ff744e7b1b1f.tar.bz2 gentoo-896fe1a28a143b63fdbae26f6352ff744e7b1b1f.zip |
app-i18n/fcitx-configtool: add 5.1.2
After fcitx5, the configtool for fcitx was split into separate package
Closes: https://github.com/gentoo/gentoo/pull/34066
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n/fcitx-configtool')
-rw-r--r-- | app-i18n/fcitx-configtool/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/fcitx-configtool/fcitx-configtool-5.1.2.ebuild | 69 | ||||
-rw-r--r-- | app-i18n/fcitx-configtool/metadata.xml | 14 |
3 files changed, 84 insertions, 0 deletions
diff --git a/app-i18n/fcitx-configtool/Manifest b/app-i18n/fcitx-configtool/Manifest index 1cf6ca87802c..084499ce246e 100644 --- a/app-i18n/fcitx-configtool/Manifest +++ b/app-i18n/fcitx-configtool/Manifest @@ -1 +1,2 @@ DIST fcitx-configtool-0.4.10.tar.xz 50440 BLAKE2B f2f2241d3ea139f6f3de9b8c6ffcc71c789dfa291efe4c551596eebc8a04f13f9fe698cc25d8349a174399044d15ddca2aeab952ac2bc7f0f4e9e47d453329ca SHA512 1c1267e9de694bbd5f258b5bba1e7514c4f8556cdc82a1cce5eafd8a4ec571955285dade0acd02f128eca01f867a30c5c6264ee7e91d32a333eba6e4d275fe8f +DIST fcitx-configtool-5.1.2.tar.xz 114064 BLAKE2B 856ae67ab5d2b4c40e83d7bac57e3c92b6525259931bdaf63328a88f5c3dc36b52ec116502d01b02dd10a779330f81e779ba732f0cd9df85c77634ba3b3d4e82 SHA512 66271146d0867f629d9dfe193c4b9a0aa5e3f81ecd94fc3e8e6273a7332bcddb321f4993e7fc3794bd1172aceaaa21f9bab7449b45b1a23b6523ecd67712ad84 diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-5.1.2.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.2.ebuild new file mode 100644 index 000000000000..52c58f63ba0c --- /dev/null +++ b/app-i18n/fcitx-configtool/fcitx-configtool-5.1.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 2023 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 ~x86" +IUSE="kcm +config-qt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-i18n/fcitx-5.1.5:5 + >=app-i18n/fcitx-qt-5.1.3: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/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) + ) + + cmake_src_configure +} diff --git a/app-i18n/fcitx-configtool/metadata.xml b/app-i18n/fcitx-configtool/metadata.xml index e2e7b8d6f49a..4ca0ab7fbf64 100644 --- a/app-i18n/fcitx-configtool/metadata.xml +++ b/app-i18n/fcitx-configtool/metadata.xml @@ -2,14 +2,28 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person" proxied="yes"> + <email>tanekliang@gmail.com</email> + <name>Yongxiang Liang</name> + </maintainer> + <maintainer type="person" proxied="yes"> <email>arfrever.fta@gmail.com</email> <name>Arfrever Frehtes Taifersar Arahesis</name> </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <maintainer type="project"> <email>cjk@gentoo.org</email> <name>Cjk</name> </maintainer> + <use> + <flag name="config-qt">Enable fcitx5-config-qt</flag> + <flag name="kcm">Enable KDE KCM support</flag> + <flag name="test">Enable Test</flag> + </use> <upstream> <remote-id type="github">fcitx/fcitx-configtool</remote-id> + <remote-id type="github">fcitx/fcitx5-configtool</remote-id> </upstream> </pkgmetadata> |