qt-webkit: undo native build changes
This commit is contained in:
parent
066ed21512
commit
a9814f549c
1 changed files with 13 additions and 4 deletions
|
@ -5,8 +5,6 @@ revision=3
|
||||||
_qtver=4.8.7
|
_qtver=4.8.7
|
||||||
wrksrc="qtwebkit-${version}"
|
wrksrc="qtwebkit-${version}"
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=cmake
|
|
||||||
configure_args="-DPORT=Efl"
|
|
||||||
hostmakedepends="automake libtool bison flex gperf ruby pkg-config qt-qmake"
|
hostmakedepends="automake libtool bison flex gperf ruby pkg-config qt-qmake"
|
||||||
makedepends="MesaLib-devel libjpeg-turbo-devel qt-devel qt-designer-devel
|
makedepends="MesaLib-devel libjpeg-turbo-devel qt-devel qt-designer-devel
|
||||||
glib-devel fontconfig-devel gst-plugins-base1-devel sqlite-devel libXrender-devel"
|
glib-devel fontconfig-devel gst-plugins-base1-devel sqlite-devel libXrender-devel"
|
||||||
|
@ -36,8 +34,19 @@ post_extract() {
|
||||||
mv qt-everywhere-opensource-src-${_qtver} ..
|
mv qt-everywhere-opensource-src-${_qtver} ..
|
||||||
}
|
}
|
||||||
|
|
||||||
post_build() {
|
do_configure() {
|
||||||
cd ${wrksrc}/../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
local opts="--qt --prefix=/usr --no-webkit2"
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*) opts+=" --no-force-sse2" ;;
|
||||||
|
esac
|
||||||
|
export QTDIR=/usr
|
||||||
|
export PATH="/usr/lib/qt/bin:$PATH"
|
||||||
|
Tools/Scripts/build-webkit --makeargs="${makejobs}" ${opts}
|
||||||
|
cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview
|
||||||
qmake CC="$CC" CXX="$CXX" LINK="$CXX"
|
qmake CC="$CC" CXX="$CXX" LINK="$CXX"
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue