1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 VIRTUALX_REQUIRED="test"
9 DESCRIPTION="Printing support library for the Qt5 framework"
11 if [[ ${QT5_BUILD_TYPE} == release ]]; then
12 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
19 ~dev-qt/qtgui-${PV}[gles2=]
20 ~dev-qt/qtwidgets-${PV}[gles2=]
21 cups? ( >=net-print/cups-1.4 )
24 test? ( ~dev-qt/qtnetwork-${PV} )
29 src/plugins/printsupport
36 PATCHES=( "${FILESDIR}/${PN}-5.13.2-no-cups.patch" ) # bug #704936, QTBUG-80945
41 -opengl $(usex gles2 es2 desktop)
43 qt5-build_src_configure