summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-11-21 11:17:53 +0100
committerAmy Liffey <amynka@gentoo.org>2017-11-21 11:20:27 +0100
commite9742e25a4746e6e4b2cf97cc5428689bcfc0d9d (patch)
treeda5becdc7c2f66799c1dc47327b8b1e77c4afc0c /sci-mathematics/geogebra
parentapp-misc/sleepyhead: Drop outdated live ebuild (diff)
downloadgentoo-e9742e25a4746e6e4b2cf97cc5428689bcfc0d9d.tar.gz
gentoo-e9742e25a4746e6e4b2cf97cc5428689bcfc0d9d.tar.bz2
gentoo-e9742e25a4746e6e4b2cf97cc5428689bcfc0d9d.zip
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
Diffstat (limited to 'sci-mathematics/geogebra')
-rw-r--r--sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308-r1.ebuild (renamed from sci-mathematics/geogebra/geogebra-5.0.339.0_p20170308.ebuild)7
1 files changed, 6 insertions, 1 deletions
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
index 22c7ea2ca1a6..2ff4ab0b0843 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() {