1 # Copyright 1999-2020 Gentoo Authors
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 ~ppc ppc64 ~sparc x86"
15 # keep IUSE defaults in sync with qtgui
16 IUSE="gles2-only gtk +png +X"
19 ~dev-qt/qtcore-${PV}:5=
20 ~dev-qt/qtgui-${PV}[gles2-only=,png=,X?]
22 ~dev-qt/qtgui-${PV}[dbus]
33 src/plugins/platformthemes
42 QT5_GENTOO_PRIVATE_CONFIG=(
48 -opengl $(usex gles2-only es2 desktop)
51 $(qt_use png libpng system)
53 $(qt_use X xcb system)
54 $(usex X '-xcb-xlib -xcb-xinput -xkb -xkbcommon' '')
56 qt5-build_src_configure