1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ "${PV}" == 9999 ]]; then
10 EGIT_REPO_URI
="https://github.com/fcitx/fcitx5-configtool.git"
13 SRC_URI
="https://github.com/fcitx/fcitx5-configtool/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS
="~amd64 ~x86"
17 DESCRIPTION
="Configuration module for Fcitx"
18 HOMEPAGE
="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool"
22 IUSE
="+kcm +config-qt test"
24 RDEPEND
="app-i18n/fcitx5
25 app-i18n/fcitx5-qt[qt5,-only_plugin]
31 kde-frameworks/kitemviews:5
32 kde-frameworks/kwidgetsaddons:5
37 kde-frameworks/kconfigwidgets:5
38 kde-frameworks/kcoreaddons:5
39 kde-frameworks/ki18n:5
40 kde-frameworks/kirigami:5
41 kde-frameworks/kdeclarative:5
47 kde-frameworks/kitemviews:5
49 !${CATEGORY}/${PN}:4[-minimal(-)]"
52 kde-frameworks/extra-cmake-modules:5
58 -DKDE_INSTALL_USE_QT_SYS_PATHS=yes
59 -DENABLE_KCM=$
(usex kcm
)
60 -DENABLE_CONFIG_QT=$
(usex config-qt
)
61 -DENABLE_TEST=$
(usex
test)