summaryrefslogtreecommitdiff
path: root/app-office/openoffice-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
commita8b0d35ab742f31538d515dea39716e566d533c0 (patch)
tree40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /app-office/openoffice-bin
parent8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff)
gentoo resync : 06.01.2018
Diffstat (limited to 'app-office/openoffice-bin')
-rw-r--r--app-office/openoffice-bin/Manifest4
-rw-r--r--app-office/openoffice-bin/openoffice-bin-4.1.4.ebuild23
-rw-r--r--app-office/openoffice-bin/openoffice-bin-4.1.5.ebuild23
3 files changed, 28 insertions, 22 deletions
diff --git a/app-office/openoffice-bin/Manifest b/app-office/openoffice-bin/Manifest
index ac333bfdcf3e..4b7d04f198ef 100644
--- a/app-office/openoffice-bin/Manifest
+++ b/app-office/openoffice-bin/Manifest
@@ -160,6 +160,6 @@ DIST Apache_OpenOffice_4.1.5_Linux_x86_langpack-rpm_tr.tar.gz 12192098 BLAKE2B 8
DIST Apache_OpenOffice_4.1.5_Linux_x86_langpack-rpm_vi.tar.gz 13435858 BLAKE2B ab60a610cd30d3ea0726f0a6111fa47c2409b9c7347d51b2aa10d8a09f4281e053595e017db5a5f98de338f9937237988163c7d31274ec494893dc04447cb919 SHA512 648af13c4c1aa8e68e765afdca078203ec08edd130bfd65cd1e81b45e0ee7c6ebf1c06a114b82cb36a1bbef9148bf9c2dccbd090fa1e8d828c67bd42d0872a36
DIST Apache_OpenOffice_4.1.5_Linux_x86_langpack-rpm_zh-CN.tar.gz 13870834 BLAKE2B 6eebb98351195f3712ac5db2134bfe97df9f3c5df12015f998d3b8dac18394c4b5f079f7274ba1d755350118f5159190c4735161dfaa652b75d8b1d20e6c00b8 SHA512 5a63e88278b18d76a497fc60829f533da8c9ac1c1af11d9b217942e57f14516784022fddbd1943ec4ed49efd64616f4496de11de9626e6787b8b35b6a06f9634
DIST Apache_OpenOffice_4.1.5_Linux_x86_langpack-rpm_zh-TW.tar.gz 14082525 BLAKE2B 3799b4c5a5d282dd78e7d93687acacd0a4c0c08f9558c2baa2aa444425c5eeffd0616c0312b65b326619ac8865c505bcad6cf813a5bc338e424862273ede5617 SHA512 f82ec54a570c81180b0b98e026ca0009ec1ae890e25d92fde07a83bb285515db59c70fc7859c470233bedbb823b092ce94e7040589b37a24a6cec7ea042fdcca
-EBUILD openoffice-bin-4.1.4.ebuild 5117 BLAKE2B c02187358b1f646505617b9ea0c18c0d8da603a56e75f9575709c5ceeed066213402624705658f969194a9cbe7133da5d43c0aa62ec5b166d8852be6cbbc2dbc SHA512 844969f1fb2b2a4f8ecd483c55f7e290dd30ba3e228d779a0a5963016e35850e12fa082d28b342f6d1d1998cfddbcc97f4118e4c0ae1a399cd675ddc2b569757
-EBUILD openoffice-bin-4.1.5.ebuild 5119 BLAKE2B f9cd076226127af082a46ce0d042d3bf65447bb05f0625f22537b52f89b9a0e9dab08dd938efa8c6057a5c32fbe6987552b7663847ecef2cfb33f37610f27606 SHA512 56c3944f29135ab27f9a3eb32914fec1a599205e97eda658b24d42649143db0635dbb6ec74f836c3306a14a37fe5d7ff28f3950dfc02ff5c1b602e0433c230ad
+EBUILD openoffice-bin-4.1.4.ebuild 5183 BLAKE2B b16a34e620c9292c59e187acfcf05fb4899991b7f0e1d625143fed9701d54f00e9f7bf5f78605bee9cc61ee045b6b4c8c10582d8120ab3fcefeac80c6affd196 SHA512 59f864f576ef11230a0cdfd343e7d5fda2b2ffa4e89f37302935a9aa4987477acb35d4af6e33ecf004f1eb1e87fc908b82fabfcffd741211e1b26ecd94dd716a
+EBUILD openoffice-bin-4.1.5.ebuild 5185 BLAKE2B 64a3a11d3175d4baa08dbaaa0e75e7c074bbf1991053ddb7f8c4803c6da71667c7b908ff88ea4d997b565133b041eae8ef88d6e73f406fbfcaadda346bb75a1b SHA512 0484d1e29bd2f20f5a178c8ec9ca1f670848b92b68372ff3f958bbbab7c03df44ff753061d78b37fecbc6b7cf4fb3eee09d53d833366d83ff5f8a0bc3c4d70d1
MISC metadata.xml 654 BLAKE2B 2373a48bc130966ace2a26ec4b666e4e5c0e533922ac41be7b13983cf8a905ae8b62c59f06b0d7c0eaa0219e2eefaf0d1f1edb8b57d9ad4a37687f807401e93c SHA512 e797f235f01e6f92a5bf7f10db539429aceca40b1c2fb703b736e83ee356126671977a8145907a43e84eb05e3914923ded9b0db4d4755954d9f4f519040b7162
diff --git a/app-office/openoffice-bin/openoffice-bin-4.1.4.ebuild b/app-office/openoffice-bin/openoffice-bin-4.1.4.ebuild
index e0f27b38176c..d1c65d191cd4 100644
--- a/app-office/openoffice-bin/openoffice-bin-4.1.4.ebuild
+++ b/app-office/openoffice-bin/openoffice-bin-4.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -30,13 +30,13 @@ SRC_URI="amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_install-rpm
x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
# TODO: supports ca_XR (Valencian RACV) locale too
-LANGS="ast eu bg ca ca_XV zh_CN zh_TW cs da nl en_GB fi fr gd gl de el he hi hu it ja km ko lt nb pl pt_BR pt ru sr sk sl es sv ta th tr vi"
+LANGS="ast eu bg ca ca-valencia zh-CN zh-TW cs da nl en-GB fi fr gd gl de el he hi hu it ja km ko lt nb pl pt-BR pt ru sr sk sl es sv ta th tr vi"
for X in ${LANGS} ; do
- [[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
- amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
- x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
- IUSE="${IUSE} linguas_${X}"
+ IUSE="${IUSE} l10n_${X}"
+ SRC_URI+=" l10n_${X}? (
+ amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_langpack-rpm_${X/ca-valencia/ca-XV}.tar.gz )
+ x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_langpack-rpm_${X/ca-valencia/ca-XV}.tar.gz ) )"
done
LICENSE="Apache-2.0"
@@ -97,10 +97,13 @@ src_unpack() {
done
# Localization
- strip-linguas ${LANGS}
- for l in ${LINGUAS}; do
- m="${l/_/-}"
- if [[ ${m} != "en" ]] ; then
+ for l in ${LANGS}; do
+ if use l10n_${l}; then
+ # Map ca-valencia to ca-XV used by upstream
+ case ${l} in
+ ca-valencia) m=ca-XV ;;
+ *) m=${l} ;;
+ esac
LANGDIR="${m}/RPMS/"
rpm_unpack "./${LANGDIR}/${NM}-${m}-${BVER}.${XARCH}.rpm"
rpm_unpack "./${LANGDIR}/${NM1}-${m}-${BVER}.${XARCH}.rpm"
diff --git a/app-office/openoffice-bin/openoffice-bin-4.1.5.ebuild b/app-office/openoffice-bin/openoffice-bin-4.1.5.ebuild
index aafe4dbbad2f..6f9e2d38cea1 100644
--- a/app-office/openoffice-bin/openoffice-bin-4.1.5.ebuild
+++ b/app-office/openoffice-bin/openoffice-bin-4.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -30,13 +30,13 @@ SRC_URI="amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_install-rpm
x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
# TODO: supports ca_XR (Valencian RACV) locale too
-LANGS="ast eu bg ca ca_XV zh_CN zh_TW cs da nl en_GB fi fr gd gl de el he hi hu it ja km ko lt nb pl pt_BR pt ru sr sk sl es sv ta th tr vi"
+LANGS="ast eu bg ca ca-valencia zh-CN zh-TW cs da nl en-GB fi fr gd gl de el he hi hu it ja km ko lt nb pl pt-BR pt ru sr sk sl es sv ta th tr vi"
for X in ${LANGS} ; do
- [[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
- amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
- x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
- IUSE="${IUSE} linguas_${X}"
+ IUSE="${IUSE} l10n_${X}"
+ SRC_URI+=" l10n_${X}? (
+ amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_langpack-rpm_${X/ca-valencia/ca-XV}.tar.gz )
+ x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_langpack-rpm_${X/ca-valencia/ca-XV}.tar.gz ) )"
done
LICENSE="Apache-2.0"
@@ -97,10 +97,13 @@ src_unpack() {
done
# Localization
- strip-linguas ${LANGS}
- for l in ${LINGUAS}; do
- m="${l/_/-}"
- if [[ ${m} != "en" ]] ; then
+ for l in ${LANGS}; do
+ if use l10n_${l}; then
+ # Map ca-valencia to ca-XV used by upstream
+ case ${l} in
+ ca-valencia) m=ca-XV ;;
+ *) m=${l} ;;
+ esac
LANGDIR="${m}/RPMS/"
rpm_unpack "./${LANGDIR}/${NM}-${m}-${BVER}.${XARCH}.rpm"
rpm_unpack "./${LANGDIR}/${NM1}-${m}-${BVER}.${XARCH}.rpm"