1 # Copyright 1999-2019 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 ~x86"
13 IUSE="+libinput xcomposite"
16 >=dev-libs/wayland-1.6.0
18 ~dev-qt/qtdeclarative-${PV}
19 ~dev-qt/qtgui-${PV}[egl,libinput=]
21 >=x11-libs/libxkbcommon-0.2.0
24 x11-libs/libXcomposite
30 qt_use_disable_config libinput xkbcommon-evdev \
31 src/client/client.pro \
32 src/compositor/wayland_wrapper/wayland_wrapper.pri \
33 src/plugins/shellintegration/ivi-shell/ivi-shell.pro \
34 src/plugins/shellintegration/wl-shell/wl-shell.pro \
35 src/plugins/shellintegration/xdg-shell/xdg-shell.pro \
36 src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro \
37 src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \
38 tests/auto/compositor/compositor/compositor.pro
40 use xcomposite || rm -r config.tests/xcomposite || die