net-fs/ksmbd: fix CONFIG_CHECK
[gentoo-zh.git] / app-i18n / fcitx5-configtool / fcitx5-configtool-5.0.6.ebuild
blob809ae162733bfdd2a44c92eb9c638fabcb20048c
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 inherit cmake
8 if [[ "${PV}" == 9999 ]]; then
9 inherit git-r3
10 EGIT_REPO_URI="https://github.com/fcitx/fcitx5-configtool.git"
11 KEYWORDS=""
12 else
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"
20 LICENSE="GPL-2+"
21 SLOT="5-plasma5"
22 IUSE="+kcm +config-qt test"
24 RDEPEND="app-i18n/fcitx5
25 app-i18n/fcitx5-qt[qt5,-only_plugin]
26 dev-qt/qtcore:5
27 dev-qt/qtdbus:5
28 dev-qt/qtgui:5
29 dev-qt/qtwidgets:5
30 dev-qt/qtx11extras:5
31 kde-frameworks/kitemviews:5
32 kde-frameworks/kwidgetsaddons:5
33 virtual/libintl
34 x11-libs/libX11
35 x11-libs/libxkbfile
36 kcm? (
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
43 !kcm? (
44 dev-qt/qtdeclarative
46 config-qt? (
47 kde-frameworks/kitemviews:5
49 !${CATEGORY}/${PN}:4[-minimal(-)]"
51 DEPEND="${RDEPEND}
52 kde-frameworks/extra-cmake-modules:5
53 sys-devel/gettext
54 virtual/pkgconfig"
56 src_configure() {
57 local mycmakeargs=(
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)
64 cmake_src_configure