hunspell-fr_FR: depends on bdic layout
This commit is contained in:
parent
9aaffe3f95
commit
bfbde254bb
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'hunspell-fr_FR'
|
||||
pkgname=hunspell-fr_FR
|
||||
version=7.0
|
||||
revision=3
|
||||
hostmakedepends="unzip"
|
||||
revision=4
|
||||
short_desc="French dictionary for hunspell"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="MPL-1.1"
|
||||
|
@ -14,16 +13,17 @@ checksum=eb7ac36dc14b9c3e3c0cabae0f90304a137da8e6ae607bcaf56d65720fbd097f
|
|||
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"
|
||||
|
@ -68,6 +68,9 @@ do_install() {
|
|||
|
||||
hunspell-fr_FR-reforme1990_package() {
|
||||
short_desc+=" - Reforme 1990 Variant"
|
||||
if [ "$build_option_bdic" ]; then
|
||||
depends="libreoffice-qtwebengine-dict"
|
||||
fi
|
||||
provides="${sourcepkg}-${version}_${revision}"
|
||||
replaces="${sourcepkg}>=0"
|
||||
pkg_install() {
|
||||
|
@ -78,6 +81,9 @@ hunspell-fr_FR-reforme1990_package() {
|
|||
|
||||
hunspell-fr_FR-toutesvariantes_package() {
|
||||
short_desc+=" - All variant in one file"
|
||||
if [ "$build_option_bdic" ]; then
|
||||
depends="libreoffice-qtwebengine-dict"
|
||||
fi
|
||||
provides="${sourcepkg}-${version}_${revision}"
|
||||
replaces="${sourcepkg}>=0"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in New Issue