diff options
author | Henning Schild <henning@hennsch.de> | 2022-03-07 21:37:18 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-03-08 09:22:13 +0100 |
commit | fc57088caceb321cf8bb478294fefe0a4447b021 (patch) | |
tree | dde2f0415a0cba7aa2509b4c0637ded91bf34e5b /sci-geosciences | |
parent | sys-devel/mold: add 1.1.1 (diff) | |
download | gentoo-fc57088caceb321cf8bb478294fefe0a4447b021.tar.gz gentoo-fc57088caceb321cf8bb478294fefe0a4447b021.tar.bz2 gentoo-fc57088caceb321cf8bb478294fefe0a4447b021.zip |
sci-geosciences/josm-bin: version bump to 18387
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/josm-bin/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/josm-bin/josm-bin-18387.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 5f711eeb45ee..d70bdae978a3 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,3 +1,4 @@ DIST josm-snapshot-18193.jar 16013832 BLAKE2B fba7f88f9833a4ccdd24be1a2554681dc77cd5d810ca9d5b960df350987a138d43804770f5adc61d0ee6a553e5d54753a3b9353ff344dff2a0d4d33b3221a6ed SHA512 13caae201e543468d27e44811ce3a5d774c9942b702c995a3b3cf8b893e925d2b23392537b6338f5835e2014e2e08144015a210b12a553706983ac07e172308d DIST josm-snapshot-18303.jar 16144437 BLAKE2B 95222aafb509af2614a43aedc7b95a466d2ea533a9148c61da4eb547642d8e7509657e680f3402add03fbea73934417a58fe74418c67df312317c4518ebb5cd8 SHA512 1c1de8b4c90445ee139c553bb889a6477065a40d8e4db1516e8f79edeb8bccbd2065789536ec697fbd430970c59584c791e886c7a02c6061fb57089db6946e02 DIST josm-snapshot-18360.jar 16186460 BLAKE2B ee973137823d0084b11c35f3e70435e6f88659009c822c2a24c90d1130dd04cc3879913dac587771b179529a1b1dd53d1e2ff6e4f10284d2ef6d7710388fe40e SHA512 e12c3ed6af206bb30475e301e5e674ee613062fc51a3731f778dfdcff7d6dcd2610b6d301e6085d92e1f3074bb1f53e22f61ab3953797c47188fff7d886699e3 +DIST josm-snapshot-18387.jar 16234138 BLAKE2B 9fea2eb3949bad9d4ce5fcb8bdbbc5314e81010de08338d459e3704009d457886081c2fb0977d55f89621f528afc09dba318787e2cde61e3a0adde35d4731679 SHA512 d9c429ad68df9993769fbe94020675bb560224008244cfaae9a062c3484a7bd2eefc05338e3c931a3c856a097e27d3e0e94ff2af5404a9aa2a30ecd4d6f747ff diff --git a/sci-geosciences/josm-bin/josm-bin-18387.ebuild b/sci-geosciences/josm-bin/josm-bin-18387.ebuild new file mode 100644 index 000000000000..3a5ff50d232a --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18387.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop java-utils-2 xdg + +DESCRIPTION="Java-based editor for the OpenStreetMap project" +HOMEPAGE="https://josm.openstreetmap.de/" +SRC_URI="https://josm.openstreetmap.de/download/josm-snapshot-${PV}.jar" +S="${WORKDIR}" + +LICENSE="Apache-2.0 GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8" +BDEPEND="app-arch/unzip" + +src_install() { + java-pkg_newjar "${DISTDIR}/${A}" ${PN}.jar + java-pkg_dolauncher ${PN} --jar ${PN}.jar + + local icon_size + for icon_size in 16 32 48; do + newicon -s ${icon_size} -t hicolor \ + images/logo_${icon_size}x${icon_size}x32.png ${PN}.png + newicon -s ${icon_size} -t locolor \ + images/logo_${icon_size}x${icon_size}x8.png ${PN}.png + done + make_desktop_entry ${PN} "Java OpenStreetMap Editor" ${PN} "Utility;Science;Geoscience" +} |