net-im/wemeet: Wemeet - Tencent Video Conferencing (#1186)
[gentoo-zh.git] / app-i18n / fcitx5-qt / fcitx5-qt-5.0.6.ebuild
blobbb5d9c0cc35e8b61908cfeec687b4c89bce00574
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-qt.git"
11 KEYWORDS=""
12 else
13 SRC_URI="https://github.com/fcitx/fcitx5-qt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DESCRIPTION="Qt library and IM module for fcitx5"
18 HOMEPAGE="https://github.com/fcitx/fcitx5-qt"
20 LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
21 SLOT="5"
22 IUSE="qt5 only_plugin"
24 RDEPEND="app-i18n/fcitx5
25 dev-qt/qtcore:5
26 dev-qt/qtdbus:5
27 dev-qt/qtgui:5
28 dev-qt/qtwidgets:5
29 dev-qt/qtx11extras:5
30 dev-qt/qtconcurrent:5
31 kde-frameworks/extra-cmake-modules"
32 DEPEND="${RDEPEND}
33 virtual/pkgconfig"
35 src_configure() {
36 local mycmakeargs=(
37 -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
38 -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
39 -DCMAKE_BUILD_TYPE=Release
40 -DENABLE_QT4=no
41 -DENABLE_QT5=$(usex qt5)
42 -DBUILD_ONLY_PLUGIN=$(usex only_plugin)
44 cmake_src_configure