qutebrowser: switch backend to webengine for 64 bit arch

This commit is contained in:
Đoàn Trần Công Danh 2020-08-16 00:01:28 +07:00 committed by Danh Doan
parent af49bd70d6
commit 855b1f6f85
1 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# not noarch as the package might be built with different backend for each arch
pkgname=qutebrowser
version=1.13.1
revision=1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools asciidoc"
depends="python3-PyQt5-quick python3-Jinja2 python3-Pygments python3-pyPEG2
@ -22,9 +22,7 @@ desc_option_webengine="Build Qt5 WebEngine support"
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; 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
if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
build_options_default="webengine"
fi
fi