diff options
Diffstat (limited to 'virtual/jdk')
-rw-r--r-- | virtual/jdk/jdk-1.8.0-r6.ebuild | 16 | ||||
-rw-r--r-- | virtual/jdk/jdk-11-r2.ebuild | 14 | ||||
-rw-r--r-- | virtual/jdk/metadata.xml | 3 |
3 files changed, 33 insertions, 0 deletions
diff --git a/virtual/jdk/jdk-1.8.0-r6.ebuild b/virtual/jdk/jdk-1.8.0-r6.ebuild new file mode 100644 index 000000000000..e284632739bb --- /dev/null +++ b/virtual/jdk/jdk-1.8.0-r6.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual for Java Development Kit (JDK)" +SLOT="1.8" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" +IUSE="headless-awt" + +RDEPEND="|| ( + dev-java/openjdk-bin:8[headless-awt=] + dev-java/openjdk:8[headless-awt=] + dev-java/icedtea-bin:8[headless-awt=] + dev-java/icedtea:8[headless-awt=] +)" diff --git a/virtual/jdk/jdk-11-r2.ebuild b/virtual/jdk/jdk-11-r2.ebuild new file mode 100644 index 000000000000..d7963a0f6c84 --- /dev/null +++ b/virtual/jdk/jdk-11-r2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual for Java Development Kit (JDK)" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" +IUSE="headless-awt" + +RDEPEND="|| ( + dev-java/openjdk-bin:${SLOT}[gentoo-vm(+),headless-awt=] + dev-java/openjdk:${SLOT}[gentoo-vm(+),headless-awt=] +)" diff --git a/virtual/jdk/metadata.xml b/virtual/jdk/metadata.xml index e6adb0833e2b..3ebbb6191ee5 100644 --- a/virtual/jdk/metadata.xml +++ b/virtual/jdk/metadata.xml @@ -5,5 +5,8 @@ <email>java@gentoo.org</email> <name>Java</name> </maintainer> + <use> + <flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs</flag> + </use> <stabilize-allarches/> </pkgmetadata> |