wok-next rev 20086
qt5: add sse patch
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 26 23:14:03 2017 +0200 (2017-10-26) |
parents | ec0c15962394 |
children | f0b1ca77b714 |
files | QtWeb/receipt qt5/receipt |
line diff
1.1 --- a/QtWeb/receipt Wed Oct 25 21:45:59 2017 +0300 1.2 +++ b/QtWeb/receipt Thu Oct 26 23:14:03 2017 +0200 1.3 @@ -28,6 +28,8 @@ 1.4 # sed -i 's/* 0.9;/* ;/' browsermainwindow.cpp 1.5 sed 's|<QPrint|<QtPrintSupport/QPrint|' -i browsermainwindow.cpp savepdf.cpp 1.6 1.7 + export CXXFLAGS="$CXXFLAGS -std=gnu++98" 1.8 + 1.9 # Save profile to ~./config ; ~/.local/share/data instead of /tmp: 1.10 sed -i 's/unins000.exe/QtWeb/' browserapplication.cpp 1.11
2.1 --- a/qt5/receipt Wed Oct 25 21:45:59 2017 +0300 2.2 +++ b/qt5/receipt Thu Oct 26 23:14:03 2017 +0200 2.3 @@ -12,6 +12,9 @@ 2.4 TARBALL="qt-everywhere-opensource-src-$VERSION.tar.xz" 2.5 WGET_URL="https://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL" 2.6 2.7 +PATCH="Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch" 2.8 +PATCH_URL="https://anonscm.debian.org/cgit/pkg-kde/qt/qtdeclarative.git/plain/debian/patches/" 2.9 + 2.10 BUILD_DEPENDS="dbus-dev eudev-dev zlib-dev glib-dev icu-dev pcre-dev \ 2.11 openssl-dev sqlite3-dev xorg-libxcb-dev mesa17-dev freetype-dev fontconfig-dev \ 2.12 libinput-dev harfbuzz-dev libjpeg-turbo-dev libpng16-dev tslib-dev \ 2.13 @@ -60,6 +63,13 @@ 2.14 echo "INCLUDEPATH += /usr/include/openssl-1.0" >> qtbase/src/network/network.pro 2.15 export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto' 2.16 2.17 + [ -s $SOURCES_REPOSITORY/$PATCH ] || \ 2.18 + wget -O $SOURCES_REPOSITORY/$PATCH ${PATCH_URL}$PATCH 2.19 + cd $src/qtdeclarative 2.20 + cp $SOURCES_REPOSITORY/$PATCH ./$PATCH 2.21 + patch -p1 -i $PATCH 2.22 + cd .. 2.23 + 2.24 ./configure \ 2.25 -prefix $QT5PREFIX \ 2.26 $QT5OPTS \