qupzilla1: fix cross
This commit is contained in:
parent
718267136f
commit
53ca320b9b
1 changed files with 13 additions and 3 deletions
|
@ -5,7 +5,7 @@ revision=4
|
||||||
wrksrc=QupZilla-${version}
|
wrksrc=QupZilla-${version}
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="qt5-devel qt5-script-devel qt5-tools-devel qt5-webkit-devel
|
makedepends="qt5-script-devel qt5-tools-devel qt5-webkit-devel
|
||||||
qt5-x11extras-devel hunspell-devel"
|
qt5-x11extras-devel hunspell-devel"
|
||||||
depends="qt5-plugin-sqlite"
|
depends="qt5-plugin-sqlite"
|
||||||
short_desc="Lightweight multiplatform browser"
|
short_desc="Lightweight multiplatform browser"
|
||||||
|
@ -16,8 +16,18 @@ distfiles="https://github.com/QupZilla/qupzilla/releases/download/v${version}/Qu
|
||||||
checksum=620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac
|
checksum=620ffb10a3f6b3f596c2c38a84d9c320cb66dd2d5e6701e8e31945e26308fcac
|
||||||
conflicts="qupzilla>=0"
|
conflicts="qupzilla>=0"
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools"
|
||||||
|
hostmakedepends+=" qt5-script-devel"
|
||||||
|
hostmakedepends+=" qt5-tools-devel"
|
||||||
|
hostmakedepends+=" qt5-webkit-devel"
|
||||||
|
hostmakedepends+=" qt5-x11extras-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# Avoid disable_parallel_build=yes by re-running make once
|
# Avoid disable_parallel_build=yes by re-running make once
|
||||||
make ${makejobs} ${make_build_args} ${make_build_target} ||
|
make ${makejobs} ${make_build_args} ${make_build_target} \
|
||||||
make ${makejobs} ${make_build_args} ${make_build_target}
|
CC="$CC" CXX="$CXX" LINK="$CXX" || \
|
||||||
|
make ${makejobs} ${make_build_args} ${make_build_target} \
|
||||||
|
CC="$CC" CXX="$CXX" LINK="$CXX"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue