summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-10-01 18:56:24 +0200
committerUlrich Müller <ulm@gentoo.org>2023-10-01 19:04:08 +0200
commitb1fb60b9c179e4a5a7080253cf1aa9366f343b82 (patch)
tree2096bf59fbb3980a7781fbb0fe2556bfc7c15eb1 /app-text/jabref-bin
parentapp-text/jabref-bin: update LICENSE (diff)
downloadgentoo-b1fb60b9c179e4a5a7080253cf1aa9366f343b82.tar.gz
gentoo-b1fb60b9c179e4a5a7080253cf1aa9366f343b82.tar.bz2
gentoo-b1fb60b9c179e4a5a7080253cf1aa9366f343b82.zip
app-text/jabref-bin: Update to EAPI 8, update HOMEPAGE
Bug: https://bugs.gentoo.org/857279 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-text/jabref-bin')
-rw-r--r--app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild36
-rw-r--r--app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild (renamed from app-text/jabref-bin/jabref-bin-4.3.1.ebuild)10
-rw-r--r--app-text/jabref-bin/jabref-bin-4.9999.ebuild4
3 files changed, 42 insertions, 8 deletions
diff --git a/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild b/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild
new file mode 100644
index 000000000000..d1f4bea00777
--- /dev/null
+++ b/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop 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="https://www.jabref.org/"
+# SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
+SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar"
+S="${WORKDIR}"
+
+LICENSE="MIT JSON"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="virtual/jre:1.8"
+BDEPEND="app-arch/unzip"
+
+src_unpack() {
+ cp -v "${DISTDIR}/${A}" . || die
+ unzip ${A} images/icons/JabRef-icon-48.png || die
+}
+
+src_install() {
+ java-pkg_newjar "JabRef-${MY_PV}.jar"
+ java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
+ newicon images/icons/JabRef-icon-48.png JabRef-bin-icon.png
+ make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office
+}
diff --git a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild b/app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild
index e6cce3336c2e..ce903d0506ad 100644
--- a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild
+++ b/app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
JAVA_PKG_WANT_TARGET=1.8
@@ -13,21 +13,19 @@ 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/"
+HOMEPAGE="https://www.jabref.org/"
SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar"
+S="${WORKDIR}"
LICENSE="MIT JSON"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="app-arch/unzip"
-
RDEPEND="
dev-java/openjdk:8[javafx]
virtual/jre:1.8
"
-
-S="${WORKDIR}"
+BDEPEND="app-arch/unzip"
src_unpack() {
cp -v "${DISTDIR}/${A}" . || die
diff --git a/app-text/jabref-bin/jabref-bin-4.9999.ebuild b/app-text/jabref-bin/jabref-bin-4.9999.ebuild
index 6ad4e16b1e25..a55caf19c82f 100644
--- a/app-text/jabref-bin/jabref-bin-4.9999.ebuild
+++ b/app-text/jabref-bin/jabref-bin-4.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
inherit desktop java-pkg-2
DESCRIPTION="Java GUI manages bibliographies in a BibTeX database"
-HOMEPAGE="http://www.jabref.org/"
+HOMEPAGE="https://www.jabref.org/"
S="${WORKDIR}"
PROPERTIES="live"