summaryrefslogtreecommitdiff
path: root/sci-geosciences/josm-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-21 01:00:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-21 01:00:11 +0000
commitee93fbc2bb111cf895ae00cc1877c68f0eafaf2a (patch)
treef4cdf4b4814dfa35e701a066e3bc3c50f6afd7cf /sci-geosciences/josm-bin
parentdbd6eaafcce6a59fa9b3323124c38fa17aa88e26 (diff)
gentoo auto-resync : 21:03:2024 - 01:00:11
Diffstat (limited to 'sci-geosciences/josm-bin')
-rw-r--r--sci-geosciences/josm-bin/Manifest2
-rw-r--r--sci-geosciences/josm-bin/josm-bin-19017.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest
index 1d273d1b5187..998e26ec49f6 100644
--- a/sci-geosciences/josm-bin/Manifest
+++ b/sci-geosciences/josm-bin/Manifest
@@ -1,5 +1,7 @@
DIST josm-snapshot-18940.jar 16847223 BLAKE2B 5412fed01c5452440669f05169a2ee90796a549635a1cacbb5f859decebf3de6235dfd6c2624cb3cf5602fbb7e475703f13feb9b4edce07fa40bffddc8b73b3e SHA512 0d9f19a3d4cc2d944443973508464db48f02dad15a55277669c328c79187481c58d40b0bd2ff82328c983f235d211c2b08d39a6e7e98d9a0c30a68db9e03dfe1
DIST josm-snapshot-18969.jar 16856669 BLAKE2B 9ef29900ff07fa150eb1d53e4884aae785328c904bf789dfd3b56903694f5fecd0a61c012db11903615b1a5f46bf82bfd3694e3bdf04a713b141cd2b9c2ea80c SHA512 495477d7a8162531557e20098862182ab9be765741ad05cc8d5ff9e101baa64d11783d4c7480bcafc3c3356c9e471ec6b2116a6a10fe76429f690135495db18c
+DIST josm-snapshot-19017.jar 16761531 BLAKE2B 8789b5aa4c1de250523d065a8c7d788d26bbc597c5a381065093c547a97ecdfb4386b51aed02ca77747139cbdeff5ad99c04b1e08eba592f18301204003d038e SHA512 6beaa0e10e6682124be9434034ac6610d2ad9c3bd9c8e0f46982e21344f8ac95868d020bb383462984875272291889d0ab3a802349e1cfcdee482a8dd8940c0c
EBUILD josm-bin-18940.ebuild 977 BLAKE2B 26d81f3018cdc5752fe74a800b8d019e550f9efde2904f8b34baa681c078e92e067fdbc75cf34717c4226d7856f1398021c7d25c6f434a9a05c02d1d3f454e2b SHA512 457ef947fed42418abc7bc1cdb5220448f8a62a6776a05d6cdd565ce5bb5a9e375df76b08bfd4d4198ee7326d22b9a765039186e32939b93759617b1741b584d
EBUILD josm-bin-18969.ebuild 978 BLAKE2B bca913c45409ec3913ad9a8c69c1176cde12e0a37d3537e3aea3ca56228958b9559dfcf2a4b7e81694e68139cccbf83aec7b68b706885e9fc16dc40114d86eb7 SHA512 ff3ed021f5d52d7488fb23ad900955be05477ae17cc6ceacca9207ae41881762b38ba7b8439c345a981f71921813efc69942c6e41210b0c665bbd931d22da3dc
+EBUILD josm-bin-19017.ebuild 1194 BLAKE2B 4d3baae83ce1ec9b343eaf3223cfa0f0dc15fb32674a50ca13eac19f64c906d9d3bdcf5f494d2bfd9c985a32db6e23e838d4fd992233040714ddcd7a8b2487b2 SHA512 3824da326ecef5d2a7faad42ba89061dcb5d00f12387b42c3ad46a8647b1a9a23e33c4a7298e5a7b9bea6a46926da96b428af81eb07fcd2525369620361d7a5c
MISC metadata.xml 645 BLAKE2B 53c16632c20c6f6c592d340c5dd466632489b9427c30ce13a427241e6e5e366120cbef12692363918e4ed0c4c0e26f3b0e55ec762d9d9c375ac2170674b2f55e SHA512 a87e8be8d5a9c404f1acde4c9fc77c820b4c1c97d9b3a9c42a92b5ef497c45d3cf3c4f33fa7226ae32370381de9c5373e65e2560246cf597120d2b8557c4258a
diff --git a/sci-geosciences/josm-bin/josm-bin-19017.ebuild b/sci-geosciences/josm-bin/josm-bin-19017.ebuild
new file mode 100644
index 000000000000..6303fb8bbeed
--- /dev/null
+++ b/sci-geosciences/josm-bin/josm-bin-19017.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 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 \
+ --java_args "\
+ --add-exports=java.base/sun.security.action=ALL-UNNAMED \
+ --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED \
+ --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED"
+
+ 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"
+}