virtual/jdk: Introduce masked Java 11 support
authorJames Le Cuirot <chewi@gentoo.org>
Mon, 17 Sep 2018 20:26:56 +0000 (21:26 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Fri, 19 Oct 2018 10:59:28 +0000 (11:59 +0100)
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
virtual/jdk/jdk-11.ebuild [new file with mode: 0644]

diff --git a/virtual/jdk/jdk-11.ebuild b/virtual/jdk/jdk-11.ebuild
new file mode 100644 (file)
index 0000000..ece992c
--- /dev/null
@@ -0,0 +1,14 @@
+# Copyright 1999-2018 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 ~arm64 ~ppc64"
+
+RDEPEND="|| (
+               dev-java/openjdk-bin:${SLOT}[gentoo-vm(+)]
+               dev-java/openjdk:${SLOT}[gentoo-vm(+)]
+               dev-java/oracle-jdk-bin:${SLOT}[gentoo-vm(+)]
+       )"