hunspell-*: build bdic on all 64bit host

This commit is contained in:
Đoàn Trần Công Danh 2024-04-18 07:43:10 +07:00
parent bfbde254bb
commit d2d868ce5a
3 changed files with 24 additions and 23 deletions

View File

@ -4,7 +4,6 @@ _vpkgname=${pkgname%-*}
_variant=${pkgname##*-}
version=2020.12.07
revision=2
hostmakedepends="unzip"
short_desc="English dictionary for hunspell ${_variant} variant"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="SCOWL" # not in SPDX
@ -17,16 +16,17 @@ replaces="${_vpkgname}>=0"
build_options="bdic"
desc_option_bdic="Enable Chromium's bdic format"
case "$XBPS_MACHINE" in
x86_64*)
hostmakedepends+=" qt6-webengine"
build_options_default="bdic"
;;
if [ "$XBPS_WORDSIZE" = 64 ]; then
hostmakedepends=" qt6-webengine"
build_options_default="bdic"
else
case "$XBPS_MACHINE" in
i686*)
hostmakedepends+=" qt5-webengine"
hostmakedepends=" qt5-webengine"
build_options_default="bdic"
;;
esac
esac
fi
if [ "$build_option_bdic" ]; then
depends="libreoffice-qtwebengine-dict"

View File

@ -14,16 +14,17 @@ replaces="hunspell-pt_PT>=0"
build_options="bdic"
desc_option_bdic="Enable Chromium's bdic format"
case "$XBPS_MACHINE" in
x86_64*)
hostmakedepends+=" qt6-webengine"
build_options_default="bdic"
;;
if [ "$XBPS_WORDSIZE" = 64 ]; then
hostmakedepends="qt6-webengine"
build_options_default="bdic"
else
case "$XBPS_MACHINE" in
i686*)
hostmakedepends+=" qt5-webengine"
hostmakedepends="qt5-webengine"
build_options_default="bdic"
;;
esac
esac
fi
if [ "$build_option_bdic" ]; then
depends="libreoffice-qtwebengine-dict"

View File

@ -2,7 +2,6 @@
pkgname=hunspell-ru_RU-ieyo
version=0.3.9
revision=4
hostmakedepends="unzip"
short_desc="Russian dictionary for hunspell, variant with ie and yo"
maintainer="Andrey Raugas <kainonergon@gmail.com>"
license="LGPL-2.1-only"
@ -15,16 +14,17 @@ replaces="hunspell-ru_RU>=0"
build_options="bdic"
desc_option_bdic="Enable Chromium's bdic format"
case "$XBPS_MACHINE" in
x86_64*)
hostmakedepends+=" qt6-webengine"
build_options_default="bdic"
;;
if [ "$XBPS_WORDSIZE" = 64 ]; then
hostmakedepends=" qt6-webengine"
build_options_default="bdic"
else
case "$XBPS_MACHINE" in
i686*)
hostmakedepends+=" qt5-webengine"
hostmakedepends=" qt5-webengine"
build_options_default="bdic"
;;
esac
esac
fi
if [ "$build_option_bdic" ]; then
depends="libreoffice-qtwebengine-dict"