summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-05 00:17:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-05 00:56:46 +0200
commit46228c2ee31b278182016969395b3797fc19ee28 (patch)
tree6ee494004b1085c91db5ec4f1fbd37ee98fca823
parentapp-text/poppler: 21.05.0 version bump (diff)
downloadgentoo-46228c2ee31b278182016969395b3797fc19ee28.tar.gz
gentoo-46228c2ee31b278182016969395b3797fc19ee28.tar.bz2
gentoo-46228c2ee31b278182016969395b3797fc19ee28.zip
app-office/libreoffice: Bad news for x86 and IUSE="base,java"
Bug: https://bugs.gentoo.org/785640 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--app-office/libreoffice/libreoffice-7.1.9999.ebuild14
-rw-r--r--app-office/libreoffice/libreoffice-9999.ebuild14
2 files changed, 20 insertions, 8 deletions
diff --git a/app-office/libreoffice/libreoffice-7.1.9999.ebuild b/app-office/libreoffice/libreoffice-7.1.9999.ebuild
index cf695c2bff7d..41b1282d9027 100644
--- a/app-office/libreoffice/libreoffice-7.1.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-7.1.9999.ebuild
@@ -307,10 +307,16 @@ _check_reqs() {
}
pkg_pretend() {
- use base ||
- ewarn "If you plan to use Base application you must enable USE base."
- use java ||
- ewarn "Without USE java, several wizards are not going to be available."
+ if use x86; then
+ elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
+ elog "most notably Report Builder in LibreOffice Base, will not be available."
+ elog "See also: https://bugs.gentoo.org/785640"
+ else
+ use base ||
+ ewarn "If you plan to use Base application you must enable USE base."
+ use java ||
+ ewarn "Without USE java, several wizards are not going to be available."
+ fi
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
}
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild
index a38aba75536f..c9f16a41c2a5 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -307,10 +307,16 @@ _check_reqs() {
}
pkg_pretend() {
- use base ||
- ewarn "If you plan to use Base application you must enable USE base."
- use java ||
- ewarn "Without USE java, several wizards are not going to be available."
+ if use x86; then
+ elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
+ elog "most notably Report Builder in LibreOffice Base, will not be available."
+ elog "See also: https://bugs.gentoo.org/785640"
+ else
+ use base ||
+ ewarn "If you plan to use Base application you must enable USE base."
+ use java ||
+ ewarn "Without USE java, several wizards are not going to be available."
+ fi
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
}