diff options
author | Davide Pesavento <pesa@gentoo.org> | 2016-06-09 17:11:59 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2016-06-09 17:11:59 +0200 |
commit | 6d75fc97bb13f59b6d4aaa3a09f3acf6b7a9b27f (patch) | |
tree | f00c32e389ba9c1ad1205760972928ad8b56d676 /eclass/qt5-build.eclass | |
parent | x11-themes/qtcurve: remove old (diff) | |
download | gentoo-6d75fc97bb13f59b6d4aaa3a09f3acf6b7a9b27f.tar.gz gentoo-6d75fc97bb13f59b6d4aaa3a09f3acf6b7a9b27f.tar.bz2 gentoo-6d75fc97bb13f59b6d4aaa3a09f3acf6b7a9b27f.zip |
qt5-build.eclass: initial configure support for Qt 5.8 (current dev branch)
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 1e4fc88e21bb..349e5513ba01 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -537,7 +537,7 @@ qt5_base_configure() { -shared # always enable large file support - -largefile + $([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -largefile) # disabling accessibility is not recommended by upstream, as # it will break QStyle and may break other internal parts of Qt @@ -557,9 +557,11 @@ qt5_base_configure() { # use pkg-config to detect include and library paths -pkg-config - # prefer system libraries (only common deps here) + # prefer system libraries (only common hard deps here) -system-zlib -system-pcre + # TODO after bug 581054 + #$([[ ${QT5_MINOR_VERSION} -ge 7 ]] && echo -system-doubleconversion) # disable everything to prevent automagic deps (part 1) -no-mtdev @@ -571,7 +573,7 @@ qt5_base_configure() { -no-xkbcommon-x11 -no-xkbcommon-evdev -no-xinput2 -no-xcb-xlib - # don't specify -no-gif because there is no way to override it later + # cannot use -no-gif because there is no way to override it later #-no-gif # always enable glib event loop support @@ -629,8 +631,7 @@ qt5_base_configure() { -no-xkb -no-xrender # disable obsolete/unused X11-related flags - # (not shown in ./configure -help output) - -no-mitshm -no-xcursor -no-xfixes -no-xrandr -no-xshape -no-xsync + $([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -no-mitshm -no-xcursor -no-xfixes -no-xrandr -no-xshape -no-xsync) # always enable session management support: it doesn't need extra deps # at configure time and turning it off is dangerous, see bug 518262 |