commit:     76b1900141687f90bf6b8c041d248044485659f2
Author:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 17:51:34 2017 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 17:52:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76b19001

app-text/jabref-bin: Restrict Java dependency

JabRef-4.0 requires the javafx use flag [1]. At this point this means
that we have to require Oracle JRE or JDK. This change switches from the
virtual/jre dependency to a more explicit dependency on Oracle's Java.

[1] 
https://help.jabref.org/en/FAQlinux#jabref-does-not-start-under-linux-what-can-i-do

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-text/jabref-bin/jabref-bin-4.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/jabref-bin/jabref-bin-4.0.ebuild 
b/app-text/jabref-bin/jabref-bin-4.0.ebuild
index 4073ddea85f..7e05d096190 100644
--- a/app-text/jabref-bin/jabref-bin-4.0.ebuild
+++ b/app-text/jabref-bin/jabref-bin-4.0.ebuild
@@ -20,7 +20,10 @@ KEYWORDS="~amd64 ~x86"
 
 DEPEND="app-arch/unzip"
 
-RDEPEND=">=virtual/jre-1.8"
+RDEPEND="
+       || ( dev-java/oracle-jre-bin:1.8[javafx]
+                dev-java/oracle-jdk-bin:1.8[javafx] )
+"
 
 S="${WORKDIR}"
 

Reply via email to