diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2014-02-19 04:10:12 +0000 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2014-02-19 04:10:12 +0000 |
commit | dc8b1ec294b46bae1a931a71ee1a0ca5acefd73b (patch) | |
tree | 6c3f0bf78b72ea6092070fbf56080de6c4304aaf /app-text/jabref | |
parent | Include upstream patch for missing #include <sys/select.h>. Fix crash with 32... (diff) | |
download | gentoo-2-dc8b1ec294b46bae1a931a71ee1a0ca5acefd73b.tar.gz gentoo-2-dc8b1ec294b46bae1a931a71ee1a0ca5acefd73b.tar.bz2 gentoo-2-dc8b1ec294b46bae1a931a71ee1a0ca5acefd73b.zip |
app-text/jabref-2.10_beta3: Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key AC91CA52)
Diffstat (limited to 'app-text/jabref')
-rw-r--r-- | app-text/jabref/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/jabref/jabref-2.10_beta3.ebuild | 73 |
2 files changed, 79 insertions, 1 deletions
diff --git a/app-text/jabref/ChangeLog b/app-text/jabref/ChangeLog index 421b2dfa85cb..f19b11542210 100644 --- a/app-text/jabref/ChangeLog +++ b/app-text/jabref/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/jabref # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.93 2014/01/28 16:51:03 nicolasbock Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.94 2014/02/19 04:10:12 nicolasbock Exp $ + +*jabref-2.10_beta3 (19 Feb 2014) + + 19 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> +jabref-2.10_beta3.ebuild: + app-text/jabref-2.10_beta3: Version bump. *jabref-2.10_beta2 (28 Jan 2014) diff --git a/app-text/jabref/jabref-2.10_beta3.ebuild b/app-text/jabref/jabref-2.10_beta3.ebuild new file mode 100644 index 000000000000..b32289848faa --- /dev/null +++ b/app-text/jabref/jabref-2.10_beta3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10_beta3.ebuild,v 1.1 2014/02/19 04:10:12 nicolasbock Exp $ + +EAPI=5 + +JAVA_ANT_REWRITE_CLASSPATH="true" + +inherit eutils java-pkg-2 java-ant-2 java-utils-2 + +MY_PV="${PV/_beta/b}" + +DESCRIPTION="Java GUI for managing BibTeX and other bibliographies" +HOMEPAGE="http://jabref.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +COMMON_DEP=" + dev-java/antlr:3 + dev-java/fontbox:1.7 + dev-java/jempbox:1.7 + dev-java/log4j:0 + dev-java/spin:0 + " + +DEPEND=" + >=virtual/jdk-1.6 + ${COMMON_DEP}" + +RDEPEND=" + >=virtual/jre-1.6 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +java_prepare() { + # Remove bundled dependencies. + rm lib/antlr*.jar || die + rm lib/fontbox*.jar || die + rm lib/jempbox*.jar || die + rm lib/spin.jar || die + + # Remove unjarlib target (do this only once we have removed all + # bundled dependencies in lib). + #sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml + + # Fix incorrect version information. + sed -i -e 's:2.10b2:2.10b3:' build.xml +} + +src_compile() { + local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,spin" + local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})" + eant \ + -Dgentoo.classpath=${CLASSPATH} \ + jars \ + $(usex doc docs "") +} + +src_install() { + java-pkg_newjar build/lib/JabRef-${MY_PV}.jar + + use doc && java-pkg_dojavadoc build/docs/API + dodoc src/txt/README + + java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef + newicon src/images/JabRef-icon-48.png JabRef-icon.png + make_desktop_entry ${PN} JabRef JabRef-icon Office +} |