sci-mathematics/geogebra: enable oracle-jdk-bin during buildtime
authorAmy Liffey <amynka@gentoo.org>
Tue, 21 Nov 2017 10:17:53 +0000 (11:17 +0100)
committerAmy Liffey <amynka@gentoo.org>
Tue, 21 Nov 2017 10:20:27 +0000 (11:20 +0100)
Closes:https://bugs.gentoo.org/615884

Package-Manager: Portage-2.3.8, Repoman-2.3.3

sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308-r1.ebuild [moved from sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308.ebuild with 99% similarity]

similarity index 99%
rename from sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308.ebuild
rename to sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308-r1.ebuild
index 22c7ea2ca1a63ba51d9c7db6a1b738fb05675fb6..2ff4ab0b084379f1b2b103fa63b376664bd6c21f 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils gnome2-utils xdg
+inherit eutils gnome2-utils xdg java-pkg-2
 
 MY_COMMIT_HASH="7d5ac993d3f88f6701f56edbfe325d86afcaad87"
 
@@ -242,6 +242,7 @@ IUSE=""
 RESTRICT="bindist"
 DEPEND="dev-java/oracle-jdk-bin[javafx]
        >=dev-java/gradle-bin-3.0"
+
 # Requires oracle-jdk/jre-bin because there is no openjfx ebuild as of now
 RDEPEND="|| (
                dev-java/oracle-jre-bin[javafx]
@@ -250,6 +251,10 @@ RDEPEND="|| (
 
 S="${WORKDIR}/${PN}-${MY_COMMIT_HASH}/"
 
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.8"
+JAVA_PKG_WANT_SOURCE="1.8"
+JAVA_PKG_WANT_TARGET="1.8"
+
 # Override the repositories with our local maven repository
 # so that it doesn't attemp to fetch from the network
 __set_gradle_repositories() {