From aa0b5f37afc4a88422d6301d07e4e3852ddd7251 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 May 2023 16:07:12 +0100 Subject: gentoo auto-resync : 16:05:2023 - 16:07:12 --- sci-geosciences/josm-bin/Manifest | 2 ++ sci-geosciences/josm-bin/josm-bin-18721.ebuild | 33 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 sci-geosciences/josm-bin/josm-bin-18721.ebuild (limited to 'sci-geosciences/josm-bin') diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index d07fc2ffcf5e..26dd3e8a0d9f 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,5 +1,7 @@ DIST josm-snapshot-18678.jar 16376303 BLAKE2B 9db4a9bd90e0f2deac4474462091d91505874f936fde330c6a676d4beecf029966d692bc2dadc0f2d44bfcb53d8f40a075a95d0bb4b07f6ffffb160080d88ceb SHA512 af621dab4ad5495fe895639811e6c0e24e463b1c8fbcb70c5626ca68a0b9b1a9b16a34dd746335553dd84974197ba37ab3bb9c5eee19da2209f41da94a8cc28f DIST josm-snapshot-18700.jar 16421003 BLAKE2B 67310f9e1d2b64646f543573ee9aacac6f62ff40597e069e756d34bf4699755712bccf5dca8bd89c8185db5a470dd3d1c4242b02534e416fe04c62ca7f994de2 SHA512 7d6923bf3d5ba1f7331a3904d1b54920a301eacc53c720991132cecb00bfc2dca2e0fd9d58d90e88ff0e3f46207bed06b6ac002e13baa69e95cbc0c11b4e191e +DIST josm-snapshot-18721.jar 16460468 BLAKE2B 6c5e86b31691a366211ea93e3094a8650ac6e2b42f4f72883ffc17819108cf717f1b29f2918788acfe07aae946f57b4b88be637069fc97b830af067de9a69de1 SHA512 53244e668d5269e8c20a0efadab9ab7ab665f40f1e02366e3491b3dac9ff1595a2a10ba34e063f56bef1c8e3c450abd237f6c02218484817960e8dfd7959db41 EBUILD josm-bin-18678.ebuild 976 BLAKE2B aaf25951cb28d38145349c597d78289352b8f67583009721e4212953b6c230f40140542da3a5c6e426a1bbcb5a31d8f607af2a11b66cfcfb28af5cd5db71e7fc SHA512 4dde794985c520f37d8a0ad83de71cb2d0cc5385b156c4337fd52e2193c705788015aebc6028dd42b0504fdd0ac764a00c600b4c041003ad448adad4d462355a EBUILD josm-bin-18700.ebuild 978 BLAKE2B e601ff9462741ef04a7e52d9afe1c2ead273f61854f87f3a770ae37f75cbb680bf09307439c39238b3fa36e8423465b6f7dbe205d2158f9a2ad032fadf4237eb SHA512 02831baa1bb0501b6ba1bf9a4ee04e0196cb76f53ac686e9d76132ee683dc7e6530115fe2992eb26373b7dece1d9acd872eb2bbf7abdd99cdf28b4558f8a4072 +EBUILD josm-bin-18721.ebuild 978 BLAKE2B e601ff9462741ef04a7e52d9afe1c2ead273f61854f87f3a770ae37f75cbb680bf09307439c39238b3fa36e8423465b6f7dbe205d2158f9a2ad032fadf4237eb SHA512 02831baa1bb0501b6ba1bf9a4ee04e0196cb76f53ac686e9d76132ee683dc7e6530115fe2992eb26373b7dece1d9acd872eb2bbf7abdd99cdf28b4558f8a4072 MISC metadata.xml 645 BLAKE2B 53c16632c20c6f6c592d340c5dd466632489b9427c30ce13a427241e6e5e366120cbef12692363918e4ed0c4c0e26f3b0e55ec762d9d9c375ac2170674b2f55e SHA512 a87e8be8d5a9c404f1acde4c9fc77c820b4c1c97d9b3a9c42a92b5ef497c45d3cf3c4f33fa7226ae32370381de9c5373e65e2560246cf597120d2b8557c4258a diff --git a/sci-geosciences/josm-bin/josm-bin-18721.ebuild b/sci-geosciences/josm-bin/josm-bin-18721.ebuild new file mode 100644 index 000000000000..1aba0e7ffd7b --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18721.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" +} -- cgit v1.2.3