</maintainer>
<use>
<flag name="libinput">Enable support for input devices via <pkg>dev-libs/libinput</pkg></flag>
+ <flag name="vulkan">Enable support for Vulkan-based server buffer integration</flag>
</use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
fi
-IUSE="+libinput xcomposite"
+IUSE="+libinput vulkan xcomposite"
DEPEND="
>=dev-libs/wayland-1.6.0
~dev-qt/qtcore-${PV}
~dev-qt/qtdeclarative-${PV}
- ~dev-qt/qtgui-${PV}[egl,libinput=]
+ ~dev-qt/qtgui-${PV}[egl,libinput=,vulkan=]
media-libs/mesa[egl]
>=x11-libs/libxkbcommon-0.2.0
+ vulkan? ( dev-util/vulkan-headers )
xcomposite? (
x11-libs/libX11
x11-libs/libXcomposite
src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \
tests/auto/compositor/compositor/compositor.pro
+ qt_use_disable_config vulkan wayland-vulkan-server-buffer \
+ src/plugins/hardwareintegration/client/client.pro \
+ src/plugins/hardwareintegration/compositor/compositor.pro
+
use xcomposite || rm -r config.tests/xcomposite || die
qt5-build_src_prepare