From 9552290f430ddbe3eddb9dcfcf2444378594cc28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 18 Apr 2024 07:15:35 +0700 Subject: [PATCH] libreoffice-dictionaries: update to 24.2.2.2. --- srcpkgs/libreoffice-dictionaries/template | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/libreoffice-dictionaries/template b/srcpkgs/libreoffice-dictionaries/template index df0313000e5..1c04ffd7a54 100644 --- a/srcpkgs/libreoffice-dictionaries/template +++ b/srcpkgs/libreoffice-dictionaries/template @@ -1,6 +1,6 @@ # Template file for 'libreoffice-dictionaries' pkgname=libreoffice-dictionaries -version=24.2.1.2 +version=24.2.2.2 revision=1 build_style=meta hostmakedepends="mythes perl" @@ -9,8 +9,8 @@ maintainer="Đoàn Trần Công Danh " license="GPL-3.0-or-later" homepage="https://www.libreoffice.org/" distfiles="https://download.documentfoundation.org/libreoffice/src/${version%.*}/${pkgname}-${version}.tar.xz" -# distfiles="https://download.nus.edu.sg/mirror/tdf/libreoffice/src/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=db010c781e85b401e87aa2030902565d5dfceb2c5ff4483c7172484d0f645eab +distfiles="https://download.nus.edu.sg/mirror/tdf/libreoffice/src/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=a4606997cbb04d5aa0043ccdc55abad802d8fe6aab78b1166ef562fb678f130d depends="hunspell-af hyphen-af hunspell-an @@ -76,16 +76,17 @@ depends="hunspell-af hyphen-af 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" build_options_default="bdic" ;; -esac + esac +fi _drop_long_dic() { local lang="$1"