virtual/jdk: add openjdk{,-bin} to virtual
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 1 Feb 2019 08:15:47 +0000 (00:15 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 1 Feb 2019 09:07:05 +0000 (01:07 -0800)
Closes: https://bugs.gentoo.org/672058
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
virtual/jdk/jdk-1.8.0-r4.ebuild [new file with mode: 0644]

diff --git a/virtual/jdk/jdk-1.8.0-r4.ebuild b/virtual/jdk/jdk-1.8.0-r4.ebuild
new file mode 100644 (file)
index 0000000..5898628
--- /dev/null
@@ -0,0 +1,16 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Virtual for Java Development Kit (JDK)"
+SLOT="1.8"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
+
+RDEPEND="|| (
+               dev-java/icedtea-bin:8
+               dev-java/icedtea:8
+               dev-java/openjdk-bin:8[gentoo-vm(+)]
+               dev-java/openjdk:8[gentoo-vm(+)]
+               dev-java/oracle-jdk-bin:1.8
+       )"