summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2018-06-26 22:26:51 +0200
committerNicolas Bock <nicolasbock@gentoo.org>2018-06-26 22:27:05 +0200
commita6259536e41845c7b19d61c7e99c42ed4790ddf8 (patch)
tree1298b63905bc77932b72eb1a51fd048a1fc90dd8 /app-text
parentapp-text/jabref-bin: Update ebuilds (diff)
downloadgentoo-a6259536e41845c7b19d61c7e99c42ed4790ddf8.tar.gz
gentoo-a6259536e41845c7b19d61c7e99c42ed4790ddf8.tar.bz2
gentoo-a6259536e41845c7b19d61c7e99c42ed4790ddf8.zip
app-text/jabref-bin: Version bump jabref-bin-4.3.1
Closes: https://bugs.gentoo.org/654414 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-text')
-rw-r--r--app-text/jabref-bin/Manifest1
-rw-r--r--app-text/jabref-bin/jabref-bin-4.3.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/app-text/jabref-bin/Manifest b/app-text/jabref-bin/Manifest
index 411438184d3..b32cc215ee3 100644
--- a/app-text/jabref-bin/Manifest
+++ b/app-text/jabref-bin/Manifest
@@ -12,3 +12,4 @@ DIST JabRef-3.8.2.jar 37003442 BLAKE2B 7414128603c8a3c41c0f88003b504636fa64865fb
DIST JabRef-3.8.jar 36714920 BLAKE2B 4a26b40168a66dd8872ff194ce687589bb5b0c679d24c1f3acb133ead2d7fde4ce305b3ef27e1cab99045657701b83054d42c17a7bc6e25e0afba13e1d6ec0e6 SHA512 15805d06c7a566b60c28035e0f9a1d525b68774395a618e43ed7fdcc053d21e61f5930c658155d2e4ff739821789f2f988ce6e9a5502bd5536ce0a672ee19854
DIST JabRef-4.0.jar 56583311 BLAKE2B cb45bad15d507ddfa9320b7805c9c8fee4be888eb2e209a1e9447d0923e729683ebac4dc91df29172da062946c9aca816200034106238de573e7c34a31ff601b SHA512 a3e27ae895c77c6d9e6a9bd2312c7b590fe7d9c45a5d42ecc5ebb75a7be9bce27bcfb7d17e06409c05e7fe490b3ff0e6776c3f12b205acb5e95bceeef6823af2
DIST JabRef-4.1.jar 56793908 BLAKE2B 12d046efbdd9e7d4397f889c8be2ceb495e6c2e66039705088e6459355367f9b5b776a5f3649fdcccd7f74223832cf1dd9adc2ffa6a95f9c48451857b40656df SHA512 8de74dce519d28fafffab2b57aa6d15641f0862ba562de2b0642d1836d16fe30f732707a9582dd8a98cca508f26054d585640bf992be0abc4c9368ca46c6fc7d
+DIST JabRef-4.3.1.jar 56868438 BLAKE2B d970599f6bfd4fef7ceda656fafeea77b5c2860ece1b5086bf895cbf212c49bb5e573f5573c483a7fc62431266899dbac7a9bd8e20308d51f5ba2d0c8814319f SHA512 6ff466e91d827254271e5728a9af9c46ac811c2e4fe01c01a2ec6ef9cc75d20978803f18e49365c8a695b0d2db7009ecf05f69f446b9e9136dad5526d5e83f19
diff --git a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild b/app-text/jabref-bin/jabref-bin-4.3.1.ebuild
new file mode 100644
index 00000000000..a4bf511e4d4
--- /dev/null
+++ b/app-text/jabref-bin/jabref-bin-4.3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_WANT_TARGET=1.8
+
+inherit eutils java-pkg-2
+
+MY_PV_1="${PV/_beta/b}"
+MY_PV="${MY_PV_1/_rc/}"
+MY_URI_PV_1="${PV/rc/}"
+MY_URI_PV="${MY_URI_PV_1//_/%20}"
+
+DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
+HOMEPAGE="http://www.jabref.org/"
+SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/unzip"
+
+RDEPEND="
+ || (
+ dev-java/oracle-jre-bin:1.8[javafx]
+ dev-java/oracle-jdk-bin:1.8[javafx]
+ )
+ >=virtual/jre-1.8
+"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp -v "${DISTDIR}/${A}" . || die
+ unzip ${A} images/external/JabRef-icon-128.png || die
+}
+
+src_install() {
+ java-pkg_newjar "JabRef-${MY_PV}.jar"
+ java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
+ newicon images/external/JabRef-icon-128.png JabRef-bin-icon.png
+ make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office
+ ewarn "Jabref 4.x will convert old 3.x format .bib databases to a new format."
+ ewarn "The conversion is irreversible, backup .bib files before starting Jabref."
+ ewarn "Jabref 4.x is under heavy development and very unstable."
+}