qutebrowser: disable webengine for cross builds
python3-PyQt5-webengine is nocross because its configure script is broken for anything but native builds. Better to have a current qutebrowser that uses -webkit than a stale package with old -webengine.
This commit is contained in:
parent
e42c1c1e83
commit
9deb94f8b6
1 changed files with 5 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# not noarch as the package might be built with different backend for each arch
|
||||
pkgname=qutebrowser
|
||||
version=1.13.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools asciidoc"
|
||||
depends="python3-PyQt5-quick python3-Jinja2 python3-Pygments python3-pyPEG2
|
||||
|
@ -21,7 +21,10 @@ build_options="webengine"
|
|||
desc_option_webengine="Build Qt5 WebEngine support"
|
||||
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
|
||||
if [ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
|
||||
# qt5-webengine is only available for little-endian systems
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
# qt5-webengine can only be built when target and host bitness match
|
||||
# python3-PyQt5-webengine is currently nocross
|
||||
build_options_default="webengine"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue