diff options
Diffstat (limited to 'sci-geosciences/josm-bin')
-rw-r--r-- | sci-geosciences/josm-bin/Manifest | 2 | ||||
-rw-r--r-- | sci-geosciences/josm-bin/josm-bin-18583.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index c862cc2a264a..6d8ca168acd4 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,7 +1,9 @@ DIST josm-snapshot-18463.jar 16273803 BLAKE2B 043121ca1e7512207608dfaa549a53d70532a6844028f2fb2554fc187e41f4220a5aec9032c734356f6f1f42478c5bdb74d7498a9c45929daa430e89ba61c64f SHA512 46152f16a3a019d9231a27f584e5bd8b5865c01e2a9bf94179c81c69fd32fcf532b6d02222e41bf431c3981a0bf375ce7be17551b3c2d7fb0734671bc4e59071 DIST josm-snapshot-18513.jar 16216859 BLAKE2B e8b941f5e725170c03650cf8319dc92d6484c21d9138827134caeab790ba251ad5ba820398027fdf136ef7c22f4e97fd2989f49390544464e8c763fdb6fc7411 SHA512 a4772803aaa2194a0e8563c08ba81ce9cc0caf719003dcfb07d558b0036c0b59a7367f6182c111a03153e17838e8624e464897145fa6b7815620d68dfb94bd36 DIST josm-snapshot-18570.jar 16252476 BLAKE2B e69965a4075fd26921b2624668eca70b082660d376112d664eb55ee7c4cb1a9962b9a711120a24f4cabdafc7e6d4e8ab04c77d907d13a08f25156868b188ca11 SHA512 98a32266ba195b8a83701b17db900b19054fd0877d0ea1d92fccfc8f76a1c813359b2bfb7344554b2db39d56e0b700a74fd7e35e5817ea0ecacf37f472ccd3a2 +DIST josm-snapshot-18583.jar 16269996 BLAKE2B 1f661090db02278a05f457093ac6ff8aff060c00ead6347e283892e114ea7bf5c0a96279dd645cf97cbb45a3bf8f8919b5523cc847f52b703b19c4bfa909f463 SHA512 04cd705e745357cc6169a2d12bf7ca9b91615201976326d52dc468921ea959f281d30ff2be8eeb2fbde9e780ca588e6240538036d2cdf66b0316def28dbbf684 EBUILD josm-bin-18463.ebuild 902 BLAKE2B 09809516397c8139b7c7a5aaa8455846a7fb2a7c43aba801b3c437ae56cd885c0e14782dfb6eee7dfb2c21c0e5a42863f7cba0ccc1211cbe1ed19ed05c7b06e8 SHA512 e04057f2dc94db22192bcfad3652cb9154475febe86268e25838a9e2afc78e1452edf748441e032600ad9408bf65b7b74b8a08cee7ee5f4797da0b08c6fe77bc EBUILD josm-bin-18513.ebuild 904 BLAKE2B 9ed52ecb81273d828594dc0d0ee3cfa286c08fecfaf3a1605a8de715e9d45eaa7da69a998860bf511992cac1225deacb3b8f3733209dbe450cc4d6dc92af3d38 SHA512 f3fa3232bff0f2ad95afe62f0979e11b38010dd9a27765ec71c1002f32ecae3d0c13feb74b74b682a1fea84da44bb915841057bd8305a7a6c9c742eae3eab197 EBUILD josm-bin-18570.ebuild 978 BLAKE2B 335e7f5893baca34a718a37caa4048b2cdce43af3dc6f8ce92d2cecb3f7597029d551fe713e10b5125e2a377c1db2221135a3b4e7e02047117ea180e95ec69b2 SHA512 14ce7b0136cce8f6ced70f9ad822170fcec472614f947511834e97351445bcde64e4e5a4760b7c567910cb181f4c852a42dc6260b21fc146ea1f8a5c0c180fba +EBUILD josm-bin-18583.ebuild 978 BLAKE2B 335e7f5893baca34a718a37caa4048b2cdce43af3dc6f8ce92d2cecb3f7597029d551fe713e10b5125e2a377c1db2221135a3b4e7e02047117ea180e95ec69b2 SHA512 14ce7b0136cce8f6ced70f9ad822170fcec472614f947511834e97351445bcde64e4e5a4760b7c567910cb181f4c852a42dc6260b21fc146ea1f8a5c0c180fba MISC metadata.xml 645 BLAKE2B 53c16632c20c6f6c592d340c5dd466632489b9427c30ce13a427241e6e5e366120cbef12692363918e4ed0c4c0e26f3b0e55ec762d9d9c375ac2170674b2f55e SHA512 a87e8be8d5a9c404f1acde4c9fc77c820b4c1c97d9b3a9c42a92b5ef497c45d3cf3c4f33fa7226ae32370381de9c5373e65e2560246cf597120d2b8557c4258a diff --git a/sci-geosciences/josm-bin/josm-bin-18583.ebuild b/sci-geosciences/josm-bin/josm-bin-18583.ebuild new file mode 100644 index 000000000000..613ce5d3b132 --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18583.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 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" +} |