Diff jabref-bin-3.8.2-r1 with a jabref-bin-4.3.1-r1

/usr/portage/app-text/jabref-bin/jabref-bin-4.3.1-r1.ebuild 2023-10-09 14:52:28.880368335 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
JAVA_PKG_WANT_TARGET=1.8
7

  
6 8
inherit desktop java-pkg-2
7 9

  
8 10
MY_PV_1="${PV/_beta/b}"
......
12 14

  
13 15
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
14 16
HOMEPAGE="https://www.jabref.org/"
15
# SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
16 17
SRC_URI="https://github.com/JabRef/jabref/releases/download/v${PV}/JabRef-${MY_PV}.jar"
17 18
S="${WORKDIR}"
18 19

  
......
20 21
SLOT="0"
21 22
KEYWORDS="~amd64 ~x86"
22 23

  
23
RDEPEND="virtual/jre:1.8"
24
RDEPEND="
25
	dev-java/openjdk:8[javafx]
26
	virtual/jre:1.8
27
"
24 28
BDEPEND="app-arch/unzip"
25 29

  
26 30
src_unpack() {
27 31
	cp -v "${DISTDIR}/${A}" . || die
28
	unzip  ${A} images/icons/JabRef-icon-48.png || die
32
	unzip ${A} images/external/JabRef-icon-128.png || die
29 33
}
30 34

  
31 35
src_install() {
32 36
	java-pkg_newjar "JabRef-${MY_PV}.jar"
33 37
	java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
34
	newicon images/icons/JabRef-icon-48.png JabRef-bin-icon.png
38
	newicon images/external/JabRef-icon-128.png JabRef-bin-icon.png
35 39
	make_desktop_entry "${PN}" JabRef-bin JabRef-bin-icon Office
40
	ewarn "Jabref 4.x will convert old 3.x format .bib databases to a new format."
41
	ewarn "The conversion is irreversible, backup .bib files before starting Jabref."
42
	ewarn "Jabref 4.x is under heavy development and very unstable."
36 43
}
Thank you!