qt-webkit: fix build and disable jit/asm for ppc

It is necessary to add python to host makedepends as python2
is necessary on host during build (python3 will fail to run the
respective script). Adding it early is necessary for proper
alternatives registration for py2.

[ci skip]
This commit is contained in:
q66 2019-05-05 01:55:42 +02:00 committed by Helmut Pozimski
parent 94a37304bd
commit 1a1f6a876b

View file

@ -5,7 +5,7 @@ revision=7
_qtver=4.8.7
wrksrc="qtwebkit-${version}"
create_wrksrc=yes
hostmakedepends="automake libtool bison flex gperf ruby pkg-config qt-qmake"
hostmakedepends="automake libtool bison flex gperf python ruby pkg-config qt-qmake"
makedepends="MesaLib-devel libjpeg-turbo-devel qt-devel qt-designer-devel
glib-devel fontconfig-devel gst-plugins-base1-devel sqlite-devel libXrender-devel"
short_desc="Open source web browser engine (Qt4 port)"
@ -50,7 +50,7 @@ do_build() {
opts+=" DEFINES+=ENABLE_JIT=0"
opts+=" DEFINES+=ENABLE_YARR_JIT=0"
;;
arm*|mips*)
arm*|mips*|ppc*)
# Disable JIT and assembler
opts+=" DEFINES+=ENABLE_JIT=0"
opts+=" DEFINES+=ENABLE_YARR_JIT=0"