mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
hunspell-*: build bdic on all 64bit host
This commit is contained in:
parent
bfbde254bb
commit
d2d868ce5a
3 changed files with 24 additions and 23 deletions
|
@ -4,7 +4,6 @@ _vpkgname=${pkgname%-*}
|
||||||
_variant=${pkgname##*-}
|
_variant=${pkgname##*-}
|
||||||
version=2020.12.07
|
version=2020.12.07
|
||||||
revision=2
|
revision=2
|
||||||
hostmakedepends="unzip"
|
|
||||||
short_desc="English dictionary for hunspell ${_variant} variant"
|
short_desc="English dictionary for hunspell ${_variant} variant"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="SCOWL" # not in SPDX
|
license="SCOWL" # not in SPDX
|
||||||
|
@ -17,16 +16,17 @@ replaces="${_vpkgname}>=0"
|
||||||
build_options="bdic"
|
build_options="bdic"
|
||||||
desc_option_bdic="Enable Chromium's bdic format"
|
desc_option_bdic="Enable Chromium's bdic format"
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
if [ "$XBPS_WORDSIZE" = 64 ]; then
|
||||||
x86_64*)
|
hostmakedepends=" qt6-webengine"
|
||||||
hostmakedepends+=" qt6-webengine"
|
build_options_default="bdic"
|
||||||
build_options_default="bdic"
|
else
|
||||||
;;
|
case "$XBPS_MACHINE" in
|
||||||
i686*)
|
i686*)
|
||||||
hostmakedepends+=" qt5-webengine"
|
hostmakedepends=" qt5-webengine"
|
||||||
build_options_default="bdic"
|
build_options_default="bdic"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$build_option_bdic" ]; then
|
if [ "$build_option_bdic" ]; then
|
||||||
depends="libreoffice-qtwebengine-dict"
|
depends="libreoffice-qtwebengine-dict"
|
||||||
|
|
|
@ -14,16 +14,17 @@ replaces="hunspell-pt_PT>=0"
|
||||||
build_options="bdic"
|
build_options="bdic"
|
||||||
desc_option_bdic="Enable Chromium's bdic format"
|
desc_option_bdic="Enable Chromium's bdic format"
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
if [ "$XBPS_WORDSIZE" = 64 ]; then
|
||||||
x86_64*)
|
hostmakedepends="qt6-webengine"
|
||||||
hostmakedepends+=" qt6-webengine"
|
build_options_default="bdic"
|
||||||
build_options_default="bdic"
|
else
|
||||||
;;
|
case "$XBPS_MACHINE" in
|
||||||
i686*)
|
i686*)
|
||||||
hostmakedepends+=" qt5-webengine"
|
hostmakedepends="qt5-webengine"
|
||||||
build_options_default="bdic"
|
build_options_default="bdic"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$build_option_bdic" ]; then
|
if [ "$build_option_bdic" ]; then
|
||||||
depends="libreoffice-qtwebengine-dict"
|
depends="libreoffice-qtwebengine-dict"
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
pkgname=hunspell-ru_RU-ieyo
|
pkgname=hunspell-ru_RU-ieyo
|
||||||
version=0.3.9
|
version=0.3.9
|
||||||
revision=4
|
revision=4
|
||||||
hostmakedepends="unzip"
|
|
||||||
short_desc="Russian dictionary for hunspell, variant with ie and yo"
|
short_desc="Russian dictionary for hunspell, variant with ie and yo"
|
||||||
maintainer="Andrey Raugas <kainonergon@gmail.com>"
|
maintainer="Andrey Raugas <kainonergon@gmail.com>"
|
||||||
license="LGPL-2.1-only"
|
license="LGPL-2.1-only"
|
||||||
|
@ -15,16 +14,17 @@ replaces="hunspell-ru_RU>=0"
|
||||||
build_options="bdic"
|
build_options="bdic"
|
||||||
desc_option_bdic="Enable Chromium's bdic format"
|
desc_option_bdic="Enable Chromium's bdic format"
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
if [ "$XBPS_WORDSIZE" = 64 ]; then
|
||||||
x86_64*)
|
hostmakedepends=" qt6-webengine"
|
||||||
hostmakedepends+=" qt6-webengine"
|
build_options_default="bdic"
|
||||||
build_options_default="bdic"
|
else
|
||||||
;;
|
case "$XBPS_MACHINE" in
|
||||||
i686*)
|
i686*)
|
||||||
hostmakedepends+=" qt5-webengine"
|
hostmakedepends=" qt5-webengine"
|
||||||
build_options_default="bdic"
|
build_options_default="bdic"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$build_option_bdic" ]; then
|
if [ "$build_option_bdic" ]; then
|
||||||
depends="libreoffice-qtwebengine-dict"
|
depends="libreoffice-qtwebengine-dict"
|
||||||
|
|
Loading…
Add table
Reference in a new issue