summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2013-07-17 10:06:32 +0000
committerHanno Böck <hanno@gentoo.org>2013-07-17 10:06:32 +0000
commit5ed8a7eac28f4688b972376bce9062c98bc05a2c (patch)
tree87118b549b62fc5312420d710f87dc555fa2e0bf
parentAdd some Prefix keywords (diff)
downloadgentoo-2-5ed8a7eac28f4688b972376bce9062c98bc05a2c.tar.gz
gentoo-2-5ed8a7eac28f4688b972376bce9062c98bc05a2c.tar.bz2
gentoo-2-5ed8a7eac28f4688b972376bce9062c98bc05a2c.zip
josm bump
(Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key 0xA5880072BBB51E42)
-rw-r--r--sci-geosciences/josm/ChangeLog8
-rw-r--r--sci-geosciences/josm/josm-6060.ebuild53
-rw-r--r--sci-geosciences/josm/josm-9999.ebuild6
3 files changed, 63 insertions, 4 deletions
diff --git a/sci-geosciences/josm/ChangeLog b/sci-geosciences/josm/ChangeLog
index 5cf29dda40a8..c39ab9e2501b 100644
--- a/sci-geosciences/josm/ChangeLog
+++ b/sci-geosciences/josm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-geosciences/josm
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.46 2013/01/13 12:28:13 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.47 2013/07/17 10:06:32 hanno Exp $
+
+*josm-6060 (17 Jul 2013)
+
+ 17 Jul 2013; Hanno Boeck <hanno@gentoo.org> +josm-6060.ebuild,
+ josm-9999.ebuild:
+ Bump and raise jre/jdk dep for both release and svn ebuild.
*josm-5608 (13 Jan 2013)
diff --git a/sci-geosciences/josm/josm-6060.ebuild b/sci-geosciences/josm/josm-6060.ebuild
new file mode 100644
index 000000000000..8e42b7ee71b5
--- /dev/null
+++ b/sci-geosciences/josm/josm-6060.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-6060.ebuild,v 1.1 2013/07/17 10:06:32 hanno Exp $
+
+EAPI=5
+
+JAVA_ANT_ENCODING=UTF-8
+
+[[ ${PV} == "9999" ]] && SUBVERSION_ECLASS="subversion"
+ESVN_REPO_URI="http://josm.openstreetmap.de/svn/trunk"
+inherit eutils java-pkg-2 java-ant-2 ${SUBVERSION_ECLASS}
+unset SUBVERSION_ECLASS
+
+DESCRIPTION="Java-based editor for the OpenStreetMap project"
+HOMEPAGE="http://josm.openstreetmap.de/"
+[[ ${PV} == "9999" ]] || SRC_URI="http://josm.hboeck.de/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
+[[ ${PV} == "9999" ]] || \
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7"
+
+S="${WORKDIR}/${P}"
+
+IUSE=""
+
+src_prepare() {
+ if [[ ${PV} == "9999" ]]; then
+
+ # create-revision needs the compile directory to be a svn directory
+ # see also http://lists.openstreetmap.org/pipermail/dev/2009-March/014182.html
+ sed -i \
+ -e "s:arg[ ]value=\".\":arg value=\"${ESVN_STORE_DIR}\/${PN}\/trunk\":" \
+ build.xml || die "Sed failed"
+ fi
+}
+
+src_compile() {
+ eant dist-optimized
+}
+
+src_install() {
+ java-pkg_newjar "dist/${PN}-custom-optimized.jar" "${PN}.jar" || die "java-pkg_newjar failed"
+ java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
+
+ newicon images/logo.png josm.png || die "newicon failed"
+ make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Utility;Science;Geoscience"
+}
diff --git a/sci-geosciences/josm/josm-9999.ebuild b/sci-geosciences/josm/josm-9999.ebuild
index 24b2da6077dc..5305765e259a 100644
--- a/sci-geosciences/josm/josm-9999.ebuild
+++ b/sci-geosciences/josm/josm-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-9999.ebuild,v 1.2 2013/01/13 12:28:13 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-9999.ebuild,v 1.3 2013/07/17 10:06:32 hanno Exp $
EAPI=5
@@ -22,8 +22,8 @@ SLOT="0"
[[ ${PV} == "9999" ]] || \
KEYWORDS="~amd64 ~x86"
-DEPEND=">=virtual/jdk-1.6"
-RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7"
S="${WORKDIR}/${P}"