Commit 669089e4 authored by T. Fischer's avatar T. Fischer

Updating JOSM to revision 8698 (fixes build issue)

parent f46907fb
EBUILD josm-8558.ebuild 1760 SHA256 bdbbf14585b2401685043ed7f48bf22717bf12b7e27997fe24e6a473b46e0085 SHA512 cabd626888786e23f0fa2c176ca9d4579e21a2771f611edb63f5f7d73b01cf275ddd216073ae0d98fc6c529a77b178e82e210cd6071a5c5cc50feb8a180044e3 WHIRLPOOL a92dfe607548503538f27fa66e2ae60b0116606b2bc615e7bd66dc668d86e5c3822539c14c0a198b7460d54661d5efb9c909d03e9255089edc9febe56d9b93ca
EBUILD josm-8607.ebuild 1785 SHA256 875a55e8263d456a43ce18681755f2fd53207238dce2fb688be48b284634ed02 SHA512 780831949378248612a96be26f9ceb483cb3aa550f47e269f1254deb001a0f0419ec2ceeb7c2babc7812c23747e5fa569d94ca68d42a6958fdf86ed80fb9f6e2 WHIRLPOOL 1d1136d171e3c412021444b0b663e29c8c141851de5ad9449550fab259000da9537193f5d65690127920ac30b48375c126065a1efbfe0239f5a72ac582ec4165
EBUILD josm-8698.ebuild 1785 SHA256 875a55e8263d456a43ce18681755f2fd53207238dce2fb688be48b284634ed02 SHA512 780831949378248612a96be26f9ceb483cb3aa550f47e269f1254deb001a0f0419ec2ceeb7c2babc7812c23747e5fa569d94ca68d42a6958fdf86ed80fb9f6e2 WHIRLPOOL 1d1136d171e3c412021444b0b663e29c8c141851de5ad9449550fab259000da9537193f5d65690127920ac30b48375c126065a1efbfe0239f5a72ac582ec4165
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils java-pkg-2 java-ant-2 subversion
JAVA_ANT_ENCODING=UTF-8
ESVN_REPO_URI="http://josm.openstreetmap.de/svn/trunk"
ESVN_REVISION=${PV}
DESCRIPTION="Java-based editor for the OpenStreetMap project"
HOMEPAGE="http://josm.openstreetmap.de/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=virtual/jdk-1.7
gnome-base/librsvg"
RDEPEND=">=virtual/jre-1.7"
S="${WORKDIR}/${P}"
IUSE=""
src_prepare() {
# 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"
pwd
}
src_compile() {
eant dist-optimized
# create icon in various sizes based on project's SVG logo
for size in 128 16 192 22 24 256 32 36 48 512 64 72 96 ; do
mkdir -p ${T}/${size} || die "Cannot create temporary directory '${T}/${size}'"
rsvg-convert -f png -o ${T}/${size}/${PN}.png -w ${size} -h ${size} "images/logo.svg" || \
die "Cannot create PNG file '${T}/${size}/${PN}.png' from SVG file 'images/logo.svg'"
done
}
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"
for size in 128 16 192 22 24 256 32 36 48 512 64 72 96 ; do
insinto /usr/share/icons/hicolor/${size}x${size}/apps
doins ${T}/${size}/${PN}.png || die "Cannot install PNG icon of size ${size}"
done
make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Utility;Science;Geoscience"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment