app-office/libreoffice: use slotted dep declaration for jdk

The build fails with Java 25. Therefore, introduce an upper bound for
jdk by only allowing Java 17 and Java 21.

Closes: https://bugs.gentoo.org/951189
Closes: https://github.com/gentoo/gentoo/pull/41032
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2025-03-12 11:18:47 +01:00
parent 01aca327d8
commit f6561717e5
4 changed files with 16 additions and 4 deletions

View File

@@ -239,7 +239,10 @@ DEPEND="${COMMON_DEPEND}
x11-libs/libXtst
java? (
dev-java/ant:0
>=virtual/jdk-17
|| (
virtual/jdk:17
virtual/jdk:21
)
)
test? (
app-crypt/gnupg

View File

@@ -245,7 +245,10 @@ DEPEND="${COMMON_DEPEND}
x11-libs/libXtst
java? (
dev-java/ant:0
>=virtual/jdk-17
|| (
virtual/jdk:17
virtual/jdk:21
)
)
test? (
app-crypt/gnupg

View File

@@ -245,7 +245,10 @@ DEPEND="${COMMON_DEPEND}
x11-libs/libXtst
java? (
dev-java/ant:0
>=virtual/jdk-17
|| (
virtual/jdk:17
virtual/jdk:21
)
)
test? (
app-crypt/gnupg

View File

@@ -237,7 +237,10 @@ DEPEND="${COMMON_DEPEND}
x11-libs/libXtst
java? (
dev-java/ant:0
>=virtual/jdk-17
|| (
virtual/jdk:17
virtual/jdk:21
)
)
test? (
app-crypt/gnupg