From 3af8ea384ba5899bb6c70fbdd47ae877a04b4321 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 15 Apr 2018 23:28:33 +0200 Subject: Update mlt and qt5 A newer mlt was required by kdenlive. And a new version of Qt 5.9 is always a good thing. --- deps/qt5/.url | 2 +- deps/qt5/qt5.SlackBuild | 19 ++++++------------- 2 files changed, 7 insertions(+), 14 deletions(-) (limited to 'deps/qt5') diff --git a/deps/qt5/.url b/deps/qt5/.url index 685d8f4..a8f964a 100644 --- a/deps/qt5/.url +++ b/deps/qt5/.url @@ -1 +1 @@ -https://download.qt.io/archive/qt/5.9/5.9.4/single/qt-everywhere-opensource-src-5.9.4.tar.xz +http://download.qt.io/official_releases/qt/5.9/5.9.5/single/qt-everywhere-opensource-src-5.9.5.tar.xz diff --git a/deps/qt5/qt5.SlackBuild b/deps/qt5/qt5.SlackBuild index e70e42a..48f973f 100755 --- a/deps/qt5/qt5.SlackBuild +++ b/deps/qt5/qt5.SlackBuild @@ -54,10 +54,11 @@ # Modifications for qt 5.9.2 2017 by Eric Hameleers, Eindhoven, NL # Modifications for qt 5.9.3 2017 by Eric Hameleers, Eindhoven, NL # Modifications for qt 5.9.4 2018 by Eric Hameleers, Eindhoven, NL +# Modifications for qt 5.9.5 2018 by Eric Hameleers, Eindhoven, NL PKGNAM=qt5 -VERSION=${VERSION:-5.9.4} -BUILD=${BUILD:-3} +VERSION=${VERSION:-5.9.5} +BUILD=${BUILD:-1} PKGSRC=$(echo $VERSION |cut -d- -f1) PKGVER=$(echo $VERSION |tr - _) @@ -139,16 +140,6 @@ fi # Fix path to mysql header: cat $CWD/patches/qt5.mysql.h.diff | patch -p1 --verbose || exit 1 -# Fix a bug, evident in Plasma5 where drag'n'drop makes wrong icon hover: -cd qtbase - cat $CWD/patches/qt5.qtbug-66103.patch | patch -p1 --verbose || exit 1 -cd - - -# Extend the MariaDB define check to cover the later versions too: -cd qtbase - cat $CWD/patches/qt5.cr206850.patch | patch -p1 --verbose || exit 1 -cd - - # Fix missing private includes: QTBUG-37417 sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' \ -i qtbase/mkspecs/features/create_cmake.prf @@ -162,8 +153,10 @@ else PACONF=" " fi -sed -i -e "s/-O2/$SLKCFLAGS/" qtbase/mkspecs/common/g++-base.conf || exit 1 +# Use our custom compiler and linker flags: +#sed -i -e "s/-O2/$SLKCFLAGS/" qtbase/mkspecs/common/g++-base.conf || exit 1 sed -i -e "s/-O2/$SLKCFLAGS/" qtbase/mkspecs/common/gcc-base.conf || exit 1 +sed -i -e "s/-O3/$SLKCFLAGS/" qtbase/mkspecs/common/gcc-base.conf || exit 1 sed -i -e "/^QMAKE_LFLAGS\s/s,+=,+= $SLKLDFLAGS,g" qtbase/mkspecs/common/gcc-base.conf || exit 1 # Enable h.264 codec support: -- cgit v1.2.3