qt-webkit: undo native build changes
This commit is contained in:
parent
066ed21512
commit
a9814f549c
|
@ -5,8 +5,6 @@ revision=3
|
|||
_qtver=4.8.7
|
||||
wrksrc="qtwebkit-${version}"
|
||||
create_wrksrc=yes
|
||||
build_style=cmake
|
||||
configure_args="-DPORT=Efl"
|
||||
hostmakedepends="automake libtool bison flex gperf 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"
|
||||
|
@ -36,8 +34,19 @@ post_extract() {
|
|||
mv qt-everywhere-opensource-src-${_qtver} ..
|
||||
}
|
||||
|
||||
post_build() {
|
||||
cd ${wrksrc}/../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview
|
||||
do_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
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"
|
||||
make ${makejobs}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue