From 0ca55f5ae95a46b6b702af34614c24090d117f62 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Fri, 18 Sep 2020 19:13:10 -0700 Subject: dev-java/openjdk: add javafx flag to openjdk8 Bug: https://bugs.gentoo.org/681828 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev --- dev-java/openjdk/metadata.xml | 1 + dev-java/openjdk/openjdk-8.265_p01.ebuild | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'dev-java/openjdk') diff --git a/dev-java/openjdk/metadata.xml b/dev-java/openjdk/metadata.xml index ebcb18f58970..24efdf8c8119 100644 --- a/dev-java/openjdk/metadata.xml +++ b/dev-java/openjdk/metadata.xml @@ -20,6 +20,7 @@ Don't install the X backend for AWT, needed by some GUIs Allow this JDK to be recognised by Gentoo (package manager, eselect, java-config, EXPERIMENTAL!) + Provide JavaFX support via dev-java/openjfx Import OpenJFX modules at build time, via dev-java/openjfx Build OpenJDK twice, the second time using the result of the first Install JVM sources diff --git a/dev-java/openjdk/openjdk-8.265_p01.ebuild b/dev-java/openjdk/openjdk-8.265_p01.ebuild index 5101407a542d..038f2db6b3c0 100644 --- a/dev-java/openjdk/openjdk-8.265_p01.ebuild +++ b/dev-java/openjdk/openjdk-8.265_p01.ebuild @@ -44,7 +44,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="$(ver_cut 1)" KEYWORDS="amd64 ~arm64 ppc64 x86" -IUSE="alsa debug cups doc examples headless-awt +jbootstrap +pch selinux source" +IUSE="alsa debug cups doc examples headless-awt javafx +jbootstrap +pch selinux source" COMMON_DEPEND=" media-libs/freetype:2= @@ -89,6 +89,8 @@ DEPEND=" ) " +PDEPEND="javafx? ( dev-java/openjfx:${SLOT} )" + # The space required to build varies wildly depending on USE flags, # ranging from 2GB to 16GB. This function is certainly not exact but # should be close enough to be useful. -- cgit v1.2.3-65-gdbad