1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Set of components for creating classic desktop-style UIs for the Qt5 framework"
10 if [[ ${QT5_BUILD_TYPE} == release ]]; then
14 # keep IUSE defaults in sync with qtgui
15 IUSE="gles2 gtk +png +xcb"
19 ~dev-qt/qtgui-${PV}[gles2=,png=,xcb?]
21 ~dev-qt/qtgui-${PV}[dbus]
32 src/plugins/platformthemes
41 QT5_GENTOO_PRIVATE_CONFIG=(
47 -opengl $(usex gles2 es2 desktop)
50 $(qt_use png libpng system)
52 $(qt_use xcb xcb system)
53 $(usex xcb '-xcb-xlib -xcb-xinput -xkb -xkbcommon' '')
55 qt5-build_src_configure