wok-next rev 20066
qtwebkit : up compile_rules
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 24 16:18:07 2017 +0200 (2017-10-24) |
parents | 96bee9cba9cc |
children | 685f9eb83991 |
files | qtwebkit/receipt |
line diff
1.1 --- a/qtwebkit/receipt Tue Oct 24 11:59:13 2017 +0200 1.2 +++ b/qtwebkit/receipt Tue Oct 24 16:18:07 2017 +0200 1.3 @@ -22,21 +22,25 @@ 1.4 1.5 compile_rules() 1.6 { 1.7 - sed 's|FixedFont, default.*$|FixedFont, QLatin1String("monospace"));|' -i \ 1.8 - $src/Source/WebKit/qt/Api/qwebsettings.cpp 1.9 - QTDIR=/usr QMAKE_CXXFLAGS=$CFLAGS \ 1.10 - Tools/Scripts/build-webkit \ 1.11 - --qt \ 1.12 - --makeargs=$MAKEFLAGS \ 1.13 - --prefix=/usr \ 1.14 - --no-webkit2 \ 1.15 - --no-force-sse2 \ 1.16 - DEFINES+=ENABLE_JIT=0 \ 1.17 - DEFINES+=ENABLE_YARR_JIT=0 \ 1.18 - DEFINES+=ENABLE_ASSEMBLER=0 \ 1.19 - DEFINES+=ENABLE_SMOOTH_SCROLLING=1 1.20 - make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install 1.21 - 1.22 +# sed 's|FixedFont, default.*$|FixedFont, QLatin1String("monospace"));|' -i \ 1.23 +# $src/Source/WebKit/qt/Api/qwebsettings.cpp 1.24 + mkdir -p WebKitBuild/Release 1.25 + cd WebKitBuild/Release 1.26 + export CFLAGS=${CFLAGS/486/686} 1.27 + export CXXFLAGS=${CXXFLAGS/486/686} 1.28 + #QTDIR=/usr 1.29 + QMAKE_CFLAGS=$CFLAGS QMAKE_CXXFLAGS=$CXXFLAGS \ 1.30 + cmake -DPORT=Qt \ 1.31 + -DCMAKE_BUILD_TYPE=Release \ 1.32 + -DENABLE_ALLINONE_BUILD=OFF \ 1.33 + -DENABLE_JIT=OFF \ 1.34 + -DENABLE_YARR_JIT=0 \ 1.35 + -DENABLE_ASSEMBLER=0 \ 1.36 + -DENABLE_SMOOTH_SCROLLING=1 \ 1.37 + ../.. 1.38 + make 1.39 + make install 1.40 +# make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install 1.41 } 1.42 1.43 genpkg_rules()