mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libreoffice: adjust "any" subpackages and app: PROVIDES
Only x86 actually changed, so only that one gets a revbump.
This commit is contained in:
@@ -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="
|
||||
|
||||
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user