1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Set of components for creating classic desktop-style UIs for the Qt5 framework"
11 if [[ ${QT5_BUILD_TYPE} == release ]]; then
12 KEYWORDS="amd64 arm ~arm64 hppa ppc64 ~x86"
15 # keep IUSE defaults in sync with qtgui
16 IUSE="gles2 gtkstyle +png +xcb"
20 ~dev-qt/qtgui-${PV}[gles2=,gtkstyle=,png=,xcb?]
36 -opengl $(usex gles2 es2 desktop)
37 $(qt_use png libpng system)
38 $(qt_use xcb xcb system)
39 $(qt_use xcb xkbcommon system)
40 $(use xcb && echo -xcb-xlib -xinput2 -xkb -xrender)
42 qt5-build_src_configure