diff options
author | Henning Schild <henning@hennsch.de> | 2023-12-06 10:59:17 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-01-10 14:13:17 +0100 |
commit | d9e404fc1110f37f77f1d21f85bb46cc02553f6e (patch) | |
tree | ede13261aa31f41bc00e709f7e3933a5b819cbd7 /sci-geosciences/josm-bin | |
parent | sci-calculators/bc-gh: drop 6.7.0, 6.7.2 (diff) | |
download | gentoo-d9e404fc1110f37f77f1d21f85bb46cc02553f6e.tar.gz gentoo-d9e404fc1110f37f77f1d21f85bb46cc02553f6e.tar.bz2 gentoo-d9e404fc1110f37f77f1d21f85bb46cc02553f6e.zip |
sci-geosciences/josm-bin: version bump to 18905
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-geosciences/josm-bin')
-rw-r--r-- | sci-geosciences/josm-bin/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/josm-bin/josm-bin-18905.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 4fecc0a68ab7..bde2426d9205 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,3 @@ DIST josm-snapshot-18772.jar 16707373 BLAKE2B 3ba71379b7d6731c3d33f8069c3247806e8324b1e482f16ab4166f310a7b4d00f31deb7746393df654382b95ecccdc3223b12bb073188431440c3334d39e2213 SHA512 935b6d29d48c73f4a309e8efc8f5f9908c886f7950f82351a904cb5336d8adc0916820fd8c3b693a2d562016b043385739023fb1563b9a246928213f13dbc856 DIST josm-snapshot-18822.jar 16824738 BLAKE2B 5588c13ed81539daa9150a8c1abbda4534cc9b068a0cfa5b40d2cd305eba7ee78e2c7b6fcf88244772baf1132c0c951ddb2044fa380605c938ca2ea66fe5dea7 SHA512 656dd9eab09b4785137dd4394e33128fc1f4741754219291c2461978a7bff12f7653ea7678db464365f5057a03a44ad0b798046a77cd290edcc03f36feaecf66 +DIST josm-snapshot-18905.jar 16782780 BLAKE2B 910244f09f63092dd7d8751be32b8d7cb1614151101302af96cab1b8e53ae0618e223c6e59758be57a089d21ae0cffdbc3026a986726aa23cd65c7002df435b4 SHA512 8ed2a752d77ade1c58180a3d67282990e43d02e5aaecca8d03673fb287b8e4a2024fdc662392e64dbbfab382797a6327f45fb602f42c24a340e05f1250bb7816 diff --git a/sci-geosciences/josm-bin/josm-bin-18905.ebuild b/sci-geosciences/josm-bin/josm-bin-18905.ebuild new file mode 100644 index 000000000000..1aba0e7ffd7b --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18905.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-utils-2 xdg + +DESCRIPTION="Java-based editor for the OpenStreetMap project" +HOMEPAGE="https://josm.openstreetmap.de/" +# PV should be stable here https://josm.openstreetmap.de/wiki/StartupPage +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" +} |