libreoffice: adjust "any" subpackages and app: PROVIDES

Only x86 actually changed, so only that one gets a revbump.
This commit is contained in:
Joachim Mairböck
2025-07-13 15:39:47 +02:00
parent f72cf80b4b
commit 3bc214cc1c
2 changed files with 25 additions and 13 deletions

View File

@@ -71,7 +71,7 @@ libreofficeLanguages="af ar be bg bn br brx bs ca ca-valencia cs cy da de dsb el
PROVIDES="
libreoffice$secondaryArchSuffix = $portVersion
app:LibreOffice$secondaryArchSuffix = $portVersion
app:LibreOffice = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -160,23 +160,29 @@ REQUIRES="
ARCHITECTURES_galleries="any"
PROVIDES_galleries="
libreoffice${secondaryArchSuffix}_galleries = $portVersion
libreoffice_galleries = $portVersion
"
REQUIRES_galleries="
libreoffice$secondaryArchSuffix == $portVersion base
app:LibreOffice == $portVersion base
"
REPLACES_galleries="
libreoffice_x86_galleries
"
for lang in $libreofficeLanguages; do
typeset -l langcode
langcode=${lang/-/_}
eval "PROVIDES_${langcode}=\"\
libreoffice${secondaryArchSuffix}_${langcode} = $portVersion\
libreoffice_${langcode} = $portVersion\
\"; \
REQUIRES_${langcode}=\"\
libreoffice$secondaryArchSuffix == $portVersion base\
app:LibreOffice == $portVersion base\
\"; \
DESCRIPTION_${langcode}=\"Translations for the Libreoffice suite ($lang)\"; \
ARCHITECTURES_${langcode}=\"any\""
ARCHITECTURES_${langcode}=\"any\"; \
REPLACES_${langcode}=\"\
libreoffice_x86_${langcode}\
\""
done
BUILD_REQUIRES="

View File

@@ -17,7 +17,7 @@ and Open Source office suite on the market:
HOMEPAGE="https://www.libreoffice.org/"
COPYRIGHT="2000-2020 LibreOffice contributors"
LICENSE="MPL v2.0"
REVISION="15"
REVISION="16"
SOURCE_URI="https://github.com/LibreOffice/core/archive/libreoffice-$portVersion.tar.gz"
SOURCE_DIR="core-libreoffice-$portVersion"
@@ -52,7 +52,7 @@ libreofficeLanguages="af ar be bg bn br brx bs ca ca-valencia cs cy da de dsb el
PROVIDES="
libreoffice$secondaryArchSuffix = $portVersion
app:LibreOffice$secondaryArchSuffix = $portVersion
app:LibreOffice = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -140,23 +140,29 @@ REQUIRES="
ARCHITECTURES_galleries="any"
PROVIDES_galleries="
libreoffice${secondaryArchSuffix}_galleries = $portVersion
libreoffice_galleries = $portVersion
"
REQUIRES_galleries="
libreoffice$secondaryArchSuffix == $portVersion base
app:LibreOffice == $portVersion base
"
REPLACES_galleries="
libreoffice_x86_galleries
"
for lang in $libreofficeLanguages; do
typeset -l langcode
langcode=${lang/-/_}
eval "PROVIDES_${langcode}=\"\
libreoffice${secondaryArchSuffix}_${langcode} = $portVersion\
libreoffice_${langcode} = $portVersion\
\"; \
REQUIRES_${langcode}=\"\
libreoffice$secondaryArchSuffix == $portVersion base\
app:LibreOffice == $portVersion base\
\"; \
DESCRIPTION_${langcode}=\"Translations for the Libreoffice suite ($lang)\"; \
ARCHITECTURES_${langcode}=\"any\""
ARCHITECTURES_${langcode}=\"any\"; \
REPLACES_${langcode}=\"
libreoffice_x86_${langcode}\
\""
done
BUILD_REQUIRES="