summaryrefslogtreecommitdiffstats
path: root/libraries/qt5/qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt5/qt5.SlackBuild')
-rw-r--r--libraries/qt5/qt5.SlackBuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild
index 6d36e054f0..03752f08a8 100644
--- a/libraries/qt5/qt5.SlackBuild
+++ b/libraries/qt5/qt5.SlackBuild
@@ -157,6 +157,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+( cd qtbase
+ # Support for openssl-1.1.x - Thanks a lot to Ole-André!
+ patch -p1 < $CWD/patches/qtbase59-openssl11.patch
+ # Patch also for the newer mesa
+ patch -p1 < $CWD/patches/eglfs_kms_egldevice.patch )
+
# Limit -reduce-relocations to ix86 and x86_64.
# https://bugreports.qt-project.org/browse/QTBUG-36129
if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then
@@ -173,6 +179,11 @@ if [ "$WEBENGINE" = "yes" ]; then
cat $CWD/patches/explicitly-initialize-sqlite.patch \
| patch -p1 --verbose
) || exit 1
+ # Fix also issues with gcc >= 8.x and pulseaudio >= 13.0
+ ( cd qtwebengine
+ patch -p1 < $CWD/patches/qt5.webengine_gcc8.patch )
+ ( cd qtwebengine/src/3rdparty
+ patch -p1 < $CWD/patches/pulseaudio-13.patch )
fi
# Borrowed a few things from alienBOB:
@@ -189,7 +200,7 @@ sed -i -e "/^QMAKE_LFLAGS\s/s,+=,+= $SLKLDFLAGS,g" \
qtbase/mkspecs/common/gcc-base.conf
export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS -std=c++11"
+export CXXFLAGS="$SLKCFLAGS"
./configure -v \
-confirm-license \
-opensource \
@@ -217,7 +228,7 @@ export CXXFLAGS="$SLKCFLAGS -std=c++11"
-no-strip \
-release \
-no-use-gold-linker \
- -c++std c++11 \
+ -optimized-qmake \
$CCACHE \
$CODECS \
$PULSE \