diff options
author | Henning Schild <henning@hennsch.de> | 2022-04-08 12:42:19 +0200 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-04-14 23:49:17 -0400 |
commit | 69f01b1fbc472f1967f8d2d9d99bb7d907c59a2b (patch) | |
tree | 081c687ca8f24d91236c17d8cee90531c1b471f3 /sci-geosciences | |
parent | app-admin/consul: drop vulnerable versions (diff) | |
download | gentoo-69f01b1fbc472f1967f8d2d9d99bb7d907c59a2b.tar.gz gentoo-69f01b1fbc472f1967f8d2d9d99bb7d907c59a2b.tar.bz2 gentoo-69f01b1fbc472f1967f8d2d9d99bb7d907c59a2b.zip |
sci-geosciences/josm-bin: version bump to 18427
Closes: https://bugs.gentoo.org/836975
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/24952
Signed-off-by: Ionen Wolkens <ionen@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-18427.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index b62232e96c3f..1ff68e672de8 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,3 @@ DIST josm-snapshot-18360.jar 16186460 BLAKE2B ee973137823d0084b11c35f3e70435e6f88659009c822c2a24c90d1130dd04cc3879913dac587771b179529a1b1dd53d1e2ff6e4f10284d2ef6d7710388fe40e SHA512 e12c3ed6af206bb30475e301e5e674ee613062fc51a3731f778dfdcff7d6dcd2610b6d301e6085d92e1f3074bb1f53e22f61ab3953797c47188fff7d886699e3 DIST josm-snapshot-18387.jar 16234138 BLAKE2B 9fea2eb3949bad9d4ce5fcb8bdbbc5314e81010de08338d459e3704009d457886081c2fb0977d55f89621f528afc09dba318787e2cde61e3a0adde35d4731679 SHA512 d9c429ad68df9993769fbe94020675bb560224008244cfaae9a062c3484a7bd2eefc05338e3c931a3c856a097e27d3e0e94ff2af5404a9aa2a30ecd4d6f747ff +DIST josm-snapshot-18427.jar 16255913 BLAKE2B 9c47d32ab2e199645aa84b6ccdec710cb95e93df7b7c5745378aa2338ead4bd3ad851bca91b701de4f2e4f9e815fb8a6b71aa203c81e2ec323cc43d8d79fe110 SHA512 5269c3bba5d0376c4da9eb9cd561429d9b92ee554b458fd00f3e93607420cdbcdcc5389b58966a15b6ef2a3b94d3bb4bb5d421c5e28e1b6575369df44ed96f87 diff --git a/sci-geosciences/josm-bin/josm-bin-18427.ebuild b/sci-geosciences/josm-bin/josm-bin-18427.ebuild new file mode 100644 index 000000000000..3a5ff50d232a --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18427.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" +} |