summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Moskvin <alecm@gmx.com>2020-09-04 10:00:41 -0400
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-04 22:20:31 -0700
commitfd4ada8f3923f51e8028b136c276a6a3a079e80d (patch)
treed0d1054ecffb8dc895cf925102bf0ef09f0005ae /dev-java/icedtea-web
parentmedia-sound/moc: removed obsolete 2.6_alpha3-r1 (diff)
downloadgentoo-fd4ada8f3923f51e8028b136c276a6a3a079e80d.tar.gz
gentoo-fd4ada8f3923f51e8028b136c276a6a3a079e80d.tar.bz2
gentoo-fd4ada8f3923f51e8028b136c276a6a3a079e80d.zip
dev-java/icedtea-web: Bump to version 1.8.4
Closes: https://bugs.gentoo.org/711392 Signed-off-by: Alec Moskvin <alecm@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/17413 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/icedtea-web')
-rw-r--r--dev-java/icedtea-web/Manifest2
-rw-r--r--dev-java/icedtea-web/icedtea-web-1.8.4.ebuild92
2 files changed, 94 insertions, 0 deletions
diff --git a/dev-java/icedtea-web/Manifest b/dev-java/icedtea-web/Manifest
index 59194ec9df26..f4b40d844f97 100644
--- a/dev-java/icedtea-web/Manifest
+++ b/dev-java/icedtea-web/Manifest
@@ -1,2 +1,4 @@
+DIST dunce-0.1.1.crate 4311 BLAKE2B 07b775c2e79d6414af5854282fdfbba26ac4675207f840cf627a33c7bdbca163283466011c641d62646fa77f8623f1f7143b5e3d87c34e0b9840e4807eea2df8 SHA512 3fa16c1d6d78374e6360b9e2349516859b617ac5532ade34359d952002a1fb6d5e70f27ce2c9b3d6e230c753218fcf6e9b3973161bf1f8dd9c08152fbda2f5ad
DIST icedtea-web-1.6.1.tar.gz 1776222 BLAKE2B e6141303b24e3b4a3a5568562f34c4a512250a1e16234c455d8ca04030324e11eb20134cd352d36c5d2c27769911558e0b739525bba9a58acf892fa5e7bb2b14 SHA512 dae39818f74a098289acd0736d27c2e68b10b603a3fb0a180cf4b6444345cbe71ab1ba77dfb198f053f9567bb18aa96de09049c3b595b3d292d142a7ae7d3ef9
DIST icedtea-web-1.6.2.tar.gz 1824557 BLAKE2B 897155b528a873b2e0166f47973136c5ccc640fa9da26c934dc93deebacf2b2d714cd70943fc4f7eb2c596542e97656d844638dbd12f407f917d30c9cd75f4d7 SHA512 32c9618a575bf05d3fbe5fec3f8429d55036acde70bf7ccf40b59e14eba775d1f561640acbf673b1737a8c5c3a8eadb74e8f1bef525cfa6060e3f1968d45b3f7
+DIST icedtea-web-1.8.4.tar.gz 2358591 BLAKE2B a62a88cfce49f473a0ab768ca386c4733d69fd3b603b29a8d5e7478b33030e2d016a0577bfc0fa4657bb0b3f99a2524d1b46cad7a8e4f97c1404eff5ca218613 SHA512 d155ec6ed9a007b2c59fd09fed9f4005a79640016ae62287eab7076c05b5ddd56d07b0ff86babf732f1bb82653fc0f7cf434550eabdaac8d666e64feabe4f890
diff --git a/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
new file mode 100644
index 000000000000..4f1ee6752174
--- /dev/null
+++ b/dev-java/icedtea-web/icedtea-web-1.8.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+README_GENTOO_SUFFIX="-r1"
+CRATES="dunce-0.1.1"
+
+inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 cargo xdg-utils
+
+DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="https://github.com/AdoptOpenJDK/${PN}/archive/${P}.tar.gz
+ $(cargo_crate_uris ${CRATES})"
+LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="doc javascript nsplugin tagsoup test"
+RESTRICT="test"
+
+CDEPEND="javascript? ( dev-java/rhino:1.6 )
+ nsplugin? ( >=dev-libs/glib-2.16:2= )
+ tagsoup? ( dev-java/tagsoup:0 )"
+
+DEPEND="${CDEPEND}
+ app-arch/zip
+ >=virtual/jdk-1.7
+ virtual/pkgconfig
+ virtual/rust
+ nsplugin? ( net-misc/npapi-sdk )
+ test? ( >=dev-java/junit-4.8:4 )"
+
+RDEPEND="${CDEPEND}
+ >=app-eselect/eselect-java-0.2.0
+ >=virtual/jre-1.7
+ nsplugin? (
+ !dev-java/oracle-jdk-bin[nsplugin]
+ !dev-java/oracle-jre-bin[nsplugin]
+ )"
+
+S="${WORKDIR}/IcedTea-Web-${P}"
+
+src_prepare() {
+ eapply_user
+
+ if java-pkg_is-vm-version-ge "1.8" ; then
+ sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
+ fi
+
+ eautoreconf
+ cargo_gen_config
+}
+
+src_configure() {
+ local tagsoup
+ use tagsoup && tagsoup="$(java-pkg_getjars tagsoup)"
+
+ local config=(
+ # Rename javaws to itweb-javaws as eselect java-vm manages
+ # javaws to prevent a clash with Oracle's implementation.
+ --program-transform-name='s/^javaws$/itweb-javaws/'
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
+ --with-java="${EPREFIX}"/usr/bin/java
+ --with-jdk-home="${JAVA_HOME}"
+ --with-itw-libs=DISTRIBUTION
+ $(use_enable doc docs)
+ $(use_enable nsplugin native-plugin)
+ $(use_with javascript rhino)
+ $(use_with tagsoup tagsoup "${tagsoup}")
+ )
+
+ # See bug #573060.
+ xdg_environment_reset
+
+ # Rely on the --with-jdk-home option given above.
+ unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+ CONFIG_SHELL="${BASH}" econf "${config[@]}"
+}
+
+src_compile() {
+ emake CARGO_HOME="${ECARGO_HOME}"
+}
+
+src_install() {
+ default
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}