diff options
author | Henning Schild <henning@hennsch.de> | 2021-09-07 21:53:27 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-09-10 10:22:25 +0300 |
commit | 0bf4aec24745c14421a772624ecf5407f878a144 (patch) | |
tree | 6910d46c2d9a5a4ed1bfdc2a93666bb29b012e11 /sci-geosciences | |
parent | app-backup/deja-dup: update dep list for 42.8 (diff) | |
download | gentoo-0bf4aec24745c14421a772624ecf5407f878a144.tar.gz gentoo-0bf4aec24745c14421a772624ecf5407f878a144.tar.bz2 gentoo-0bf4aec24745c14421a772624ecf5407f878a144.zip |
sci-geosciences/josm-bin: version bump to 18193
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Joonas Niilola <juippis@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-18193.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 9374d2f758f5..83cb5102b283 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,3 @@ DIST josm-snapshot-18118.jar 16005374 BLAKE2B 1b8d0b31adfaca4f0435719bac7258fe43bf78d078ce9cd46aa5e44bf7e4e69325f8675eede6f56ea0305bad57102bf5565a5ef38ca1b29b5f3e1fa889aceba5 SHA512 18e5f06c7eb52004617df23efaef85bf784d36b301cbc78b967a5ed91b684c9bc664424282b06278a109e88e2f72424c0b89fe447a06c7bb1a00edc12c1372a4 DIST josm-snapshot-18191.jar 16013739 BLAKE2B 69ebf2e44d0b92b928adb3c17e5c99fd74ee305fe7d6888147a95bc62b5f33a0d4a6ff7af13e9781d8ffda36e04e237089439b00de4f329f1500d71cf8de88ff SHA512 1c1d04fe21e379004eb31677887550241365f6bf306286c3cd655044dfadd36d5cea5d54a77c09bc6cb3c648c3fb927f75d800776d9d92b85c1bd318621a4479 +DIST josm-snapshot-18193.jar 16013832 BLAKE2B fba7f88f9833a4ccdd24be1a2554681dc77cd5d810ca9d5b960df350987a138d43804770f5adc61d0ee6a553e5d54753a3b9353ff344dff2a0d4d33b3221a6ed SHA512 13caae201e543468d27e44811ce3a5d774c9942b702c995a3b3cf8b893e925d2b23392537b6338f5835e2014e2e08144015a210b12a553706983ac07e172308d diff --git a/sci-geosciences/josm-bin/josm-bin-18193.ebuild b/sci-geosciences/josm-bin/josm-bin-18193.ebuild new file mode 100644 index 000000000000..d042ecaab171 --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18193.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 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/" +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" +} |