1 # Copyright 1999-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 EGIT_REPO_URI
="https://github.com/fcitx/fcitx5-qt.git"
9 DESCRIPTION
="Qt library and IM module for fcitx5"
10 HOMEPAGE
="https://github.com/fcitx/fcitx5-qt"
12 LICENSE
="BSD LGPL-2.1+"
14 IUSE
="+qt5 onlyplugin staticplugin qt6 wayland"
17 staticplugin? ( onlyplugin )
22 >=app-i18n/fcitx-5.1.5:5
32 dev-qt/qtbase:6[dbus,gui,wayland?,widgets]
40 kde-frameworks/extra-cmake-modules:0
46 -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
47 -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
48 -DCMAKE_BUILD_TYPE=Release
50 -DENABLE_QT5=$
(usex qt5
)
51 -DENABLE_QT6=$
(usex qt6
)
52 -DENABLE_QT6_WAYLAND_WORKAROUND=$
(usex wayland
)
53 -DBUILD_ONLY_PLUGIN=$
(usex onlyplugin
)
54 -DBUILD_STATIC_PLUGIN=$
(usex staticplugin
)