diff options
author | Henning Schild <henning@hennsch.de> | 2023-01-05 20:27:25 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-01-07 13:37:12 +0100 |
commit | 0837da92447f784be4c5dcd0695f0c77a586f41f (patch) | |
tree | d292d055c13cf3e19199b4ee34d4b81012eca909 /sci-geosciences | |
parent | sys-kernel/gentoo-sources: add 4.9.337 (diff) | |
download | gentoo-0837da92447f784be4c5dcd0695f0c77a586f41f.tar.gz gentoo-0837da92447f784be4c5dcd0695f0c77a586f41f.tar.bz2 gentoo-0837da92447f784be4c5dcd0695f0c77a586f41f.zip |
sci-geosciences/josm-bin: version bump to 18622
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/josm-bin/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/josm-bin/josm-bin-18622.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 458e7270505e..42ed753723a2 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,3 +1,4 @@ DIST josm-snapshot-18463.jar 16273803 BLAKE2B 043121ca1e7512207608dfaa549a53d70532a6844028f2fb2554fc187e41f4220a5aec9032c734356f6f1f42478c5bdb74d7498a9c45929daa430e89ba61c64f SHA512 46152f16a3a019d9231a27f584e5bd8b5865c01e2a9bf94179c81c69fd32fcf532b6d02222e41bf431c3981a0bf375ce7be17551b3c2d7fb0734671bc4e59071 DIST josm-snapshot-18583.jar 16269996 BLAKE2B 1f661090db02278a05f457093ac6ff8aff060c00ead6347e283892e114ea7bf5c0a96279dd645cf97cbb45a3bf8f8919b5523cc847f52b703b19c4bfa909f463 SHA512 04cd705e745357cc6169a2d12bf7ca9b91615201976326d52dc468921ea959f281d30ff2be8eeb2fbde9e780ca588e6240538036d2cdf66b0316def28dbbf684 DIST josm-snapshot-18621.jar 16311452 BLAKE2B c462434be5bd664cb1799179183c4a185b1ca77fc49d773b83f8fc0ab68ccdf6d6a78c76bfd51bffdccffed86d2629b80d9a200b5929424a36c02ade53599630 SHA512 bc78931481bf011423dbef2271df16a0f286285cbdc8ef8bd9300399449b8d9837a18cf66c7cd6c238048f7ef513f24cf83d265e7e7edd0f38bd21d0d2efefaf +DIST josm-snapshot-18622.jar 16311954 BLAKE2B 01d033cb4105f192ef14176dca79667ef2df95a55507df47dd5d163025d7460246fcc5524133e08e9ee77ee3073dce819072470d3898620d7ed9c5eedd405a34 SHA512 7220c007b87b5128bf9a4ace9a61d2fff4a22834248c85c4b3ab96db7d364f4adc63aa2167419f2418f4c3fb1f96bd3cd6ef05727bc1c4cd46280dc161b4fbe2 diff --git a/sci-geosciences/josm-bin/josm-bin-18622.ebuild b/sci-geosciences/josm-bin/josm-bin-18622.ebuild new file mode 100644 index 000000000000..13657af34a5e --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18622.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +} |