qt5-build.eclass: Disable zstd for Qt5 >=5.13.2 RCC compression
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 16 Dec 2019 06:27:46 +0000 (07:27 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 16 Dec 2019 15:40:02 +0000 (16:40 +0100)
Closes: https://bugs.gentoo.org/699248
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/qt5-build.eclass

index 2bee3a3fae477a71e1bb12f77f4f06dc2260e68d..e1b32e71ab4fc3d5f393df7ef61f26098ad9ff4a 100644 (file)
@@ -643,6 +643,9 @@ qt5_base_configure() {
                # enable in respective modules to avoid poisoning QT.global_private.enabled_features
                -no-gui -no-widgets
 
+               # QTBUG-76521, default will change to zstd in Qt6
+               $([[ ${QT5_MINOR_VERSION} -ge 13 ]] && echo -no-zstd)
+
                # module-specific options
                "${myconf[@]}"
        )