summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2017-10-10 11:51:34 -0600
committerNicolas Bock <nicolasbock@gentoo.org>2017-10-10 11:52:06 -0600
commit76b1900141687f90bf6b8c041d248044485659f2 (patch)
treee0cbd54f5e0fcaa2e8af64e66ca88496281b51a4 /app-text/jabref-bin
parentdev-util/artifactory-bin: version bump - 5.5.1 (diff)
downloadgentoo-76b1900141687f90bf6b8c041d248044485659f2.tar.gz
gentoo-76b1900141687f90bf6b8c041d248044485659f2.tar.bz2
gentoo-76b1900141687f90bf6b8c041d248044485659f2.zip
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
Diffstat (limited to 'app-text/jabref-bin')
-rw-r--r--app-text/jabref-bin/jabref-bin-4.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-text/jabref-bin/jabref-bin-4.0.ebuild b/app-text/jabref-bin/jabref-bin-4.0.ebuild
index 4073ddea85fc..7e05d0961909 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}"