qt5-build.eclass: Fix qtbase configure for {5,5.8}.9999

Upstream has removed an "unused Xlib's XRender dependency", which
results into live and future packages failing during their configure
phases due to an unknown command line option (-xrender or -no-xrender).

http://code.qt.io/cgit/qt/qtbase.git/commit/?id=d37c353dc0f2ae5bb803fe9e5752eff846246439
This commit is contained in:
Jimi Huotari
2017-10-08 12:46:23 +11:00
committed by Michael Palimaka
parent 94f2b4eba3
commit 442e76a602
+3 -1
View File
@@ -639,7 +639,9 @@ qt5_base_configure() {
# disable undocumented X11-related flags, override in qtgui
# (not shown in ./configure -help output)
-no-xkb -no-xrender
-no-xkb
$([[ ${QT5_MINOR_VERSION} -lt 8 || ${QT5_MINOR_VERSION} -eq 8
&& ${QT5_PATCH_VERSION} -lt 1 ]] && echo -no-xrender)
# disable obsolete/unused X11-related flags
$([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -no-mitshm -no-xcursor -no-xfixes -no-xrandr -no-xshape -no-xsync)