1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Wayland platform plugin for Qt"
9 if [[ ${QT5_BUILD_TYPE} == release ]]; then
10 KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86"
16 >=dev-libs/wayland-1.6.0
18 ~dev-qt/qtdeclarative-${PV}
19 ~dev-qt/qtgui-${PV}[egl,libinput,vulkan=]
21 >=x11-libs/libxkbcommon-0.2.0
22 vulkan? ( dev-util/vulkan-headers )
24 ~dev-qt/qtgui-${PV}[-gles2-only]
26 x11-libs/libXcomposite
32 use X || rm -r config.tests/xcomposite || die
40 $(qt_use vulkan feature-wayland-vulkan-server-buffer)
41 $(qt_use X feature-xcomposite-egl)
42 $(qt_use X feature-xcomposite-glx)
44 qt5-build_src_configure