summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-11-10 18:08:51 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-11-10 18:10:10 +0100
commit373fd4e015e14c3c3a0a5c67bc34be86a234d540 (patch)
tree427d8f8bdce26f99fcd8f7c9ce0f87152473a1d2 /dev-java
parentnet-misc/asterisk: Stabilize 18.6.0-r1 amd64, #822825 (diff)
downloadgentoo-373fd4e015e14c3c3a0a5c67bc34be86a234d540.tar.gz
gentoo-373fd4e015e14c3c3a0a5c67bc34be86a234d540.tar.bz2
gentoo-373fd4e015e14c3c3a0a5c67bc34be86a234d540.zip
dev-java/icu4j: eapi7 and restricted compile java to 1.8 in 54.1.1-r1
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/icu4j/icu4j-54.1.1-r1.ebuild (renamed from dev-java/icu4j/icu4j-54.1.1.ebuild)13
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-java/icu4j/icu4j-54.1.1.ebuild b/dev-java/icu4j/icu4j-54.1.1-r1.ebuild
index e58375be105d..640cdc0756f7 100644
--- a/dev-java/icu4j/icu4j-54.1.1.ebuild
+++ b/dev-java/icu4j/icu4j-54.1.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
# testdata.jar, icudata.jar and icutzdata.jar do not contain *.class files
# but *.res files. These *.res data files are needed to build the final jar.
@@ -19,12 +19,15 @@ SLOT="52"
KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""
-# Beware of jdk version dependant code #361593
-DEPEND=">=virtual/jdk-1.6"
-RDEPEND=">=virtual/jre-1.6"
+# the build system does not support java > 1.8
+# also the package does not compile with newer jdks because of missing classes
+DEPEND="virtual/jdk:1.8"
+RDEPEND=">=virtual/jre-1.8:*"
S="${WORKDIR}"
+HTML_DOCS="readme.html"
+
JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
EANT_DOC_TARGET="docs"
@@ -39,7 +42,7 @@ src_install() {
java-pkg_dojar ${PN}-charset.jar
java-pkg_dojar ${PN}-localespi.jar
- dohtml readme.html
+ einstalldocs
use doc && java-pkg_dojavadoc doc
use examples && java-pkg_doexamples demos samples