summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2023-09-28 21:58:58 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-29 08:05:21 +0300
commitbd3e27b381b0362e1e71236430470cc4898936b5 (patch)
tree99a290a6ccefa8e7ee658311d3e8bc558569c335 /sci-geosciences
parentnet-libs/nodejs: Stabilize 20.6.1 arm, #914893 (diff)
downloadgentoo-bd3e27b381b0362e1e71236430470cc4898936b5.tar.gz
gentoo-bd3e27b381b0362e1e71236430470cc4898936b5.tar.bz2
gentoo-bd3e27b381b0362e1e71236430470cc4898936b5.zip
sci-geosciences/josm-bin: version bump to 18822
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/33111 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/josm-bin/Manifest1
-rw-r--r--sci-geosciences/josm-bin/josm-bin-18822.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest
index ce5760d2f0cb..11ebcfc4dbd5 100644
--- a/sci-geosciences/josm-bin/Manifest
+++ b/sci-geosciences/josm-bin/Manifest
@@ -1,3 +1,4 @@
DIST josm-snapshot-18721.jar 16460468 BLAKE2B 6c5e86b31691a366211ea93e3094a8650ac6e2b42f4f72883ffc17819108cf717f1b29f2918788acfe07aae946f57b4b88be637069fc97b830af067de9a69de1 SHA512 53244e668d5269e8c20a0efadab9ab7ab665f40f1e02366e3491b3dac9ff1595a2a10ba34e063f56bef1c8e3c450abd237f6c02218484817960e8dfd7959db41
DIST josm-snapshot-18746.jar 16627046 BLAKE2B b3c846229f9ff9087fcb69e03dffcd392a9d56c5de2462134ce090c587f0ed638d8b2e95de4b60d18b2e564ec8b2edafd983aaea311f6f33f7449a8ad052910b SHA512 a8e1218448cfbb9956227a3456efd737bcb8b0fe6afc705814d8f3dbdcf6ac1133b4d887e7119f993ea20233bfd8ebf2fff6556bb864c5025101b4641a138560
DIST josm-snapshot-18772.jar 16707373 BLAKE2B 3ba71379b7d6731c3d33f8069c3247806e8324b1e482f16ab4166f310a7b4d00f31deb7746393df654382b95ecccdc3223b12bb073188431440c3334d39e2213 SHA512 935b6d29d48c73f4a309e8efc8f5f9908c886f7950f82351a904cb5336d8adc0916820fd8c3b693a2d562016b043385739023fb1563b9a246928213f13dbc856
+DIST josm-snapshot-18822.jar 16824738 BLAKE2B 5588c13ed81539daa9150a8c1abbda4534cc9b068a0cfa5b40d2cd305eba7ee78e2c7b6fcf88244772baf1132c0c951ddb2044fa380605c938ca2ea66fe5dea7 SHA512 656dd9eab09b4785137dd4394e33128fc1f4741754219291c2461978a7bff12f7653ea7678db464365f5057a03a44ad0b798046a77cd290edcc03f36feaecf66
diff --git a/sci-geosciences/josm-bin/josm-bin-18822.ebuild b/sci-geosciences/josm-bin/josm-bin-18822.ebuild
new file mode 100644
index 000000000000..1aba0e7ffd7b
--- /dev/null
+++ b/sci-geosciences/josm-bin/josm-bin-18822.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"
+}