1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Wayland platform plugin for Qt"
10 if [[ ${QT5_BUILD_TYPE} == release ]]; then
11 KEYWORDS="amd64 arm ~hppa ~ppc64 ~x86"
14 IUSE="egl qml wayland-compositor xcomposite"
17 >=dev-libs/wayland-1.3.0
18 >=dev-qt/qtcore-${PV}:5
19 >=dev-qt/qtgui-${PV}:5[egl=]
21 >=x11-libs/libxkbcommon-0.2.0
22 qml? ( >=dev-qt/qtdeclarative-${PV}:5 )
25 x11-libs/libXcomposite
31 if use wayland-compositor; then
32 echo "CONFIG += wayland-compositor" >> "${QT5_BUILD_DIR}"/.qmake.cache
35 qt_use_compile_test xcomposite
37 qt5-build_src_configure