media-gfx/zwcad: add 2023.23.0.3.4
[gentoo-zh.git] / app-i18n / fcitx-configtool / fcitx-configtool-9999.ebuild
blob08e92586bf1a37032394bb9bcabe9ee2d511d9bd
1 # Copyright 1999-2022 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 else
12 MY_PN="fcitx5-configtool"
13 S="${WORKDIR}/${MY_PN}-${PV}"
14 SRC_URI="https://github.com/fcitx/fcitx5-configtool/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DESCRIPTION="Configuration module for Fcitx"
19 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool"
21 LICENSE="GPL-2+"
22 SLOT="5"
23 IUSE="+kcm +config-qt test"
24 RESTRICT="!test? ( test )"
26 RDEPEND="app-i18n/fcitx:5
27 app-i18n/fcitx-qt:5[qt5,-onlyplugin]
28 dev-qt/qtcore:5
29 dev-qt/qtdbus:5
30 dev-qt/qtgui:5
31 dev-qt/qtwidgets:5
32 dev-qt/qtx11extras:5
33 kde-frameworks/kwidgetsaddons:5
34 virtual/libintl
35 x11-libs/libX11
36 x11-libs/libxkbfile
37 kcm? (
38 kde-frameworks/kconfigwidgets:5
39 kde-frameworks/kcoreaddons:5
40 kde-frameworks/ki18n:5
41 kde-frameworks/kirigami:5
42 kde-frameworks/kdeclarative:5
44 config-qt? (
45 kde-frameworks/kitemviews:5
47 !${CATEGORY}/${PN}:4[-minimal(-)]"
49 DEPEND="${RDEPEND}
50 kde-frameworks/extra-cmake-modules:5
51 sys-devel/gettext
52 virtual/pkgconfig"
54 src_configure() {
55 local mycmakeargs=(
56 -DKDE_INSTALL_USE_QT_SYS_PATHS=yes
57 -DENABLE_KCM=$(usex kcm)
58 -DENABLE_CONFIG_QT=$(usex config-qt)
59 -DENABLE_TEST=$(usex test)
62 cmake_src_configure