diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/jabref |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/jabref')
-rw-r--r-- | app-text/jabref/Manifest | 6 | ||||
-rw-r--r-- | app-text/jabref/jabref-2.10-r2.ebuild | 76 | ||||
-rw-r--r-- | app-text/jabref/jabref-2.10-r4.ebuild | 77 | ||||
-rw-r--r-- | app-text/jabref/metadata.xml | 19 |
4 files changed, 178 insertions, 0 deletions
diff --git a/app-text/jabref/Manifest b/app-text/jabref/Manifest new file mode 100644 index 000000000000..9cd66fe776fb --- /dev/null +++ b/app-text/jabref/Manifest @@ -0,0 +1,6 @@ +DIST JabRef-2.10-src.tar.bz2 16769469 SHA256 09b57afcfeb1730b58a887dc28f0f4c803e9c00fade1f57245ab70e2a98ce6ad SHA512 72eee8fb08040fc7bfd395729d3c74f0a8841c90d5aa6e6e8d8e68ddcc1ffe1f6659a045aa951d51deffe266ee0b1ff844c4fdf36537d5463de6b361803bb942 WHIRLPOOL db0edafb63a6c37b001b071693278c2c0054ab20ae0744147fe8b1a828f1e575b7751d5aabca05a640fc7c099ce9402df835c6e81a0c3b21b7aa700110c426de +EBUILD jabref-2.10-r2.ebuild 1818 SHA256 5e84c3768519f899a892815ea1c3d7b9a09849910cbaaea48e5a5860b72f4567 SHA512 4c685bce3c6d9cf4dae811548d7f230647049c728669bbb5816ddf1de43c226efe1002d7e2d42cce7008a4aaaf920e5136913b1f0072d49953f808ce44e2e050 WHIRLPOOL 0edf6266782b005f6558ae8c2c606ed0cb6f78305d8eb37043ec97504d0dcc4ce8b935cca446a7382cbec9a4fb5f3e247d7242507eb6903e9e75879e6505dd11 +EBUILD jabref-2.10-r4.ebuild 1844 SHA256 47bf001ed72f9b77f712959dec2e284041708c9bdf9713bf13c8ba7a33e31281 SHA512 e246388881e6e8b1d3290ae7bbeedad21b0af60ee4647df53b953f2b390f6cb255e66b2ef9e5f8b042e552522f784e208fbc9e1b7b9ce9a5aa43f8d9c52303e3 WHIRLPOOL 502d4d4062209a467fc790a19ec9464190570f00c13ae68b597734c66f073c4ce02a18bc29825cf02c70c7cc18078440c5bf3c9f774cd79cb775fbf0c5aad655 +MISC ChangeLog 3248 SHA256 3b5a643bfbc8d6f08b731e750f757550bd42eb9ccc620d430f5a5281ffbde603 SHA512 b04a4f17f39804dd27b6f52687427f9ce851f06e522f2f95a89dd8a9314e1896c19af65f5b3ca4e4f5d7db06008c5fc16d762db9a8e738fed27d7d1759f70d7b WHIRLPOOL 8dad26aa8d5cdaabaad5fbfb835c4dac8d4461c11912762b76d3f4da83d955e395adf5a6ad6cab46e97201fb1989db729663b8e48f6250d3ee267f3eb6906a71 +MISC ChangeLog-2015 14984 SHA256 280ba02171188dce99473d8b24b1c010dee2af96222af485b0d63da7eaef8db6 SHA512 0b27b491b368661a8099db65c5672768c4f58b02d8e323ea9347ea947e43cb489d8055ab8a58f8a29eeb0084903a1a28e8024fb228331004a3b7930b5f4d4ef6 WHIRLPOOL 6d18f2539a7f954ed0d7f60b70d91e552fdd5c2a2b65c436930a94d173239fad0cd21fc39cf8ae83b2cfcdfce28464258ec31596d200bd187c8edd49bff17331 +MISC metadata.xml 537 SHA256 e80e1226886f0c57f07ca4f3a4b86671815ebe6aeb8be324f61a8b4f2f952df3 SHA512 8478bf7312a365c4fce15051b0cedb465e92a274e215bcf989e744434ed93f568217f953cbaa07e9adfc5e620187d4ed4076d3201806bfe2df55ae8743bfaaa2 WHIRLPOOL 260bc263737a3cbe81dcdebe8cbcdfe7a5ad45443a66d9a29d56e824c8db0a1dd30d3c2be883cf59472e374dd1ef0762b3d13d06fbfc9a163a0ac7d5ff6021d7 diff --git a/app-text/jabref/jabref-2.10-r2.ebuild b/app-text/jabref/jabref-2.10-r2.ebuild new file mode 100644 index 000000000000..731fc02ac090 --- /dev/null +++ b/app-text/jabref/jabref-2.10-r2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 + dev-java/microba:0 + >=dev-java/glazedlists-1.8.0: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 + rm lib/microba.jar || die + rm lib/glazedlists*.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 license file copy operation for microba bundled lib. + sed -i -e 's:^.*microba-license.*::' build.xml +} + +src_compile() { + local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,log4j,spin,microba,glazedlists" + 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 +} diff --git a/app-text/jabref/jabref-2.10-r4.ebuild b/app-text/jabref/jabref-2.10-r4.ebuild new file mode 100644 index 000000000000..3574c04c59cd --- /dev/null +++ b/app-text/jabref/jabref-2.10-r4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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:0 + dev-java/antlr:3 + dev-java/fontbox:1.7 + dev-java/jempbox:1.7 + dev-java/log4j:0 + dev-java/spin:0 + dev-java/microba:0 + >=dev-java/glazedlists-1.8.0: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 + rm lib/microba.jar || die + rm lib/glazedlists*.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 license file copy operation for microba bundled lib. + sed -i -e 's:^.*microba-license.*::' build.xml +} + +src_compile() { + local EXTERNAL_JARS="antlr,antlr-3,fontbox-1.7,jempbox-1.7,log4j,spin,microba,glazedlists" + 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 +} diff --git a/app-text/jabref/metadata.xml b/app-text/jabref/metadata.xml new file mode 100644 index 000000000000..9bbc4a0655f8 --- /dev/null +++ b/app-text/jabref/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>nicolasbock@gentoo.org</email> + <name>Nicolas Bock</name> + </maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">jabref</remote-id> + </upstream> +</pkgmetadata> |