commit: b1fb60b9c179e4a5a7080253cf1aa9366f343b82 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Oct 1 16:56:24 2023 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Oct 1 17:04:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1fb60b9
app-text/jabref-bin: Update to EAPI 8, update HOMEPAGE Bug: https://bugs.gentoo.org/857279 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ...bin-4.3.1.ebuild => jabref-bin-3.8.2-r1.ebuild} | 25 +++++++--------------- ...bin-4.3.1.ebuild => jabref-bin-4.3.1-r1.ebuild} | 10 ++++----- app-text/jabref-bin/jabref-bin-4.9999.ebuild | 4 ++-- 3 files changed, 14 insertions(+), 25 deletions(-) diff --git a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild b/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild similarity index 57% copy from app-text/jabref-bin/jabref-bin-4.3.1.ebuild copy to app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild index e6cce3336c2e..d1f4bea00777 100644 --- a/app-text/jabref-bin/jabref-bin-4.3.1.ebuild +++ b/app-text/jabref-bin/jabref-bin-3.8.2-r1.ebuild @@ -1,9 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -JAVA_PKG_WANT_TARGET=1.8 +EAPI=8 inherit desktop java-pkg-2 @@ -13,33 +11,26 @@ 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="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" -DEPEND="app-arch/unzip" - -RDEPEND=" - dev-java/openjdk:8[javafx] - virtual/jre:1.8 -" - -S="${WORKDIR}" +RDEPEND="virtual/jre:1.8" +BDEPEND="app-arch/unzip" src_unpack() { cp -v "${DISTDIR}/${A}" . || die - unzip ${A} images/external/JabRef-icon-128.png || 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/external/JabRef-icon-128.png JabRef-bin-icon.png + newicon images/icons/JabRef-icon-48.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." } 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 similarity index 94% rename from app-text/jabref-bin/jabref-bin-4.3.1.ebuild rename to 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"