summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-18 19:13:10 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-18 19:56:28 -0700
commit0ca55f5ae95a46b6b702af34614c24090d117f62 (patch)
treefe6cb11b89dd30d47590cb00c72f1d89a93998e2 /dev-java/openjdk
parentprofiles/arch/powerpc: adjust javafx mask (diff)
downloadgentoo-0ca55f5ae95a46b6b702af34614c24090d117f62.tar.gz
gentoo-0ca55f5ae95a46b6b702af34614c24090d117f62.tar.bz2
gentoo-0ca55f5ae95a46b6b702af34614c24090d117f62.zip
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 <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/openjdk')
-rw-r--r--dev-java/openjdk/metadata.xml1
-rw-r--r--dev-java/openjdk/openjdk-8.265_p01.ebuild4
2 files changed, 4 insertions, 1 deletions
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 @@
<use>
<flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs</flag>
<flag name="gentoo-vm">Allow this JDK to be recognised by Gentoo (package manager, eselect, java-config, EXPERIMENTAL!)</flag>
+ <flag name="javafx" restrict="&lt;=dev-java/openjdk-9">Provide JavaFX support via <pkg>dev-java/openjfx</pkg></flag>
<flag name="javafx" restrict="&gt;=dev-java/openjdk-11">Import OpenJFX modules at build time, via <pkg>dev-java/openjfx</pkg></flag>
<flag name="jbootstrap">Build OpenJDK twice, the second time using the result of the first</flag>
<flag name="source">Install JVM sources</flag>
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.