qt5-build.eclass: adjust to upstream multimedia build system changes in qtbase
authorMichael Palimaka <kensington@gentoo.org>
Sat, 19 Nov 2016 16:40:25 +0000 (03:40 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 8 Oct 2017 01:46:22 +0000 (12:46 +1100)
Change-Id: I1a2ee8be3efb7c4ee9a29d2a8e3fc1f3eea704fc
Gentoo-bug: 600226

eclass/qt5-build.eclass

index f08a6560425ec89bc801244deefd0d606b4956c1..fee5775d9084af1eceec393982aa039afc3ea9d6 100644 (file)
@@ -568,8 +568,8 @@ qt5_base_configure() {
                -glib
 
                # disable everything to prevent automagic deps (part 2)
-               -no-pulseaudio -no-alsa
                $([[ ${QT5_MINOR_VERSION} -ge 7 ]] && echo -no-gtk || echo -no-gtkstyle)
+               $([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -no-pulseaudio -no-alsa)
 
                # exclude examples and tests from default build
                -nomake examples
@@ -630,7 +630,7 @@ qt5_base_configure() {
                -no-libinput
 
                # disable gstreamer by default, override in qtmultimedia
-               -no-gstreamer
+               $([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -no-gstreamer)
 
                # respect system proxies by default: it's the most natural
                # setting, and it'll become the new upstream default in 5.8