Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/jabref/
Date: Sat, 26 Sep 2020 19:40:40
Message-Id: 1601149220.3aa12c8d33132dff222edb0d0eced2b636a2d6c7.bman@gentoo
1 commit: 3aa12c8d33132dff222edb0d0eced2b636a2d6c7
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 19:29:55 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 19:40:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa12c8d
7
8 app-text/jabref: drop old EAPI=5
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 app-text/jabref/jabref-2.10-r2.ebuild | 76 -----------------------------------
13 1 file changed, 76 deletions(-)
14
15 diff --git a/app-text/jabref/jabref-2.10-r2.ebuild b/app-text/jabref/jabref-2.10-r2.ebuild
16 deleted file mode 100644
17 index 731fc02ac09..00000000000
18 --- a/app-text/jabref/jabref-2.10-r2.ebuild
19 +++ /dev/null
20 @@ -1,76 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -JAVA_ANT_REWRITE_CLASSPATH="true"
27 -
28 -inherit eutils java-pkg-2 java-ant-2 java-utils-2
29 -
30 -MY_PV="${PV/_beta/b}"
31 -
32 -DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
33 -HOMEPAGE="http://jabref.sourceforge.net/"
34 -SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
39 -IUSE="doc"
40 -
41 -COMMON_DEP="
42 - dev-java/antlr:3
43 - dev-java/fontbox:1.7
44 - dev-java/jempbox:1.7
45 - dev-java/log4j:0
46 - dev-java/spin:0
47 - dev-java/microba:0
48 - >=dev-java/glazedlists-1.8.0:0
49 - "
50 -
51 -DEPEND="
52 - >=virtual/jdk-1.6
53 - ${COMMON_DEP}"
54 -
55 -RDEPEND="
56 - >=virtual/jre-1.6
57 - ${COMMON_DEP}"
58 -
59 -S="${WORKDIR}/${PN}-${MY_PV}"
60 -
61 -java_prepare() {
62 - # Remove bundled dependencies.
63 - rm lib/antlr*.jar || die
64 - rm lib/fontbox*.jar || die
65 - rm lib/jempbox*.jar || die
66 - rm lib/spin.jar || die
67 - rm lib/microba.jar || die
68 - rm lib/glazedlists*.jar || die
69 -
70 - # Remove unjarlib target (do this only once we have removed all
71 - # bundled dependencies in lib).
72 - #sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
73 -
74 - # Fix license file copy operation for microba bundled lib.
75 - sed -i -e 's:^.*microba-license.*::' build.xml
76 -}
77 -
78 -src_compile() {
79 - local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,log4j,spin,microba,glazedlists"
80 - local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
81 - eant \
82 - -Dgentoo.classpath=${CLASSPATH} \
83 - jars \
84 - $(usex doc docs "")
85 -}
86 -
87 -src_install() {
88 - java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
89 -
90 - use doc && java-pkg_dojavadoc build/docs/API
91 - dodoc src/txt/README
92 -
93 - java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
94 - newicon src/images/JabRef-icon-48.png JabRef-icon.png
95 - make_desktop_entry ${PN} JabRef JabRef-icon Office
96 -}