summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2024-01-20 18:09:22 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-01-23 14:29:31 +0100
commit45796ef7aee0f205dadf173efe6578cc83a10e07 (patch)
treeaeaebfc4ba307cfc85424d6e6f78ec7adb9a5e7d /sci-geosciences/josm-bin
parentnet-analyzer/pontos: add 24.1.2, drop 23.12.3 (diff)
downloadgentoo-45796ef7aee0f205dadf173efe6578cc83a10e07.tar.gz
gentoo-45796ef7aee0f205dadf173efe6578cc83a10e07.tar.bz2
gentoo-45796ef7aee0f205dadf173efe6578cc83a10e07.zip
sci-geosciences/josm-bin: version bump to 18940
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/34921 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sci-geosciences/josm-bin')
-rw-r--r--sci-geosciences/josm-bin/Manifest1
-rw-r--r--sci-geosciences/josm-bin/josm-bin-18940.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest
index a8189d487a57..c55c936aafcb 100644
--- a/sci-geosciences/josm-bin/Manifest
+++ b/sci-geosciences/josm-bin/Manifest
@@ -1,2 +1,3 @@
DIST josm-snapshot-18822.jar 16824738 BLAKE2B 5588c13ed81539daa9150a8c1abbda4534cc9b068a0cfa5b40d2cd305eba7ee78e2c7b6fcf88244772baf1132c0c951ddb2044fa380605c938ca2ea66fe5dea7 SHA512 656dd9eab09b4785137dd4394e33128fc1f4741754219291c2461978a7bff12f7653ea7678db464365f5057a03a44ad0b798046a77cd290edcc03f36feaecf66
DIST josm-snapshot-18905.jar 16782780 BLAKE2B 910244f09f63092dd7d8751be32b8d7cb1614151101302af96cab1b8e53ae0618e223c6e59758be57a089d21ae0cffdbc3026a986726aa23cd65c7002df435b4 SHA512 8ed2a752d77ade1c58180a3d67282990e43d02e5aaecca8d03673fb287b8e4a2024fdc662392e64dbbfab382797a6327f45fb602f42c24a340e05f1250bb7816
+DIST josm-snapshot-18940.jar 16847223 BLAKE2B 5412fed01c5452440669f05169a2ee90796a549635a1cacbb5f859decebf3de6235dfd6c2624cb3cf5602fbb7e475703f13feb9b4edce07fa40bffddc8b73b3e SHA512 0d9f19a3d4cc2d944443973508464db48f02dad15a55277669c328c79187481c58d40b0bd2ff82328c983f235d211c2b08d39a6e7e98d9a0c30a68db9e03dfe1
diff --git a/sci-geosciences/josm-bin/josm-bin-18940.ebuild b/sci-geosciences/josm-bin/josm-bin-18940.ebuild
new file mode 100644
index 000000000000..1aba0e7ffd7b
--- /dev/null
+++ b/sci-geosciences/josm-bin/josm-bin-18940.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"
+}