commit: e9742e25a4746e6e4b2cf97cc5428689bcfc0d9d Author: Amy Liffey <amynka <AT> gentoo <DOT> org> AuthorDate: Tue Nov 21 10:17:53 2017 +0000 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> CommitDate: Tue Nov 21 10:20:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9742e25
sci-mathematics/geogebra: enable oracle-jdk-bin during buildtime Closes:https://bugs.gentoo.org/615884 Package-Manager: Portage-2.3.8, Repoman-2.3.3 ...9.0_p20170308.ebuild => geogebra-5.0.339.0_p20170308-r1.ebuild} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308.ebuild b/sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308-r1.ebuild 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 22c7ea2ca1a..2ff4ab0b084 100644 --- a/sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308.ebuild +++ b/sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308-r1.ebuild @@ -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() {
