From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 875601580B5 for ; Sat, 4 Sep 2021 06:26:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23320E087B; Sat, 4 Sep 2021 06:26:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0291E087B for ; Sat, 4 Sep 2021 06:26:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEB1C33C1EB for ; Sat, 4 Sep 2021 06:26:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE293B0 for ; Sat, 4 Sep 2021 06:26:42 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1630735242.477a8098812230c8eb5475ea60356d66a6368648.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/josm-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/josm-bin/Manifest sci-geosciences/josm-bin/josm-bin-18191.ebuild X-VCS-Directories: sci-geosciences/josm-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 477a8098812230c8eb5475ea60356d66a6368648 X-VCS-Branch: master Date: Sat, 4 Sep 2021 06:26:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 32cb6d30-5460-4759-b4df-6873a12a0cee X-Archives-Hash: 68ecb33d90cf9de860f4c272f7c645c5 commit: 477a8098812230c8eb5475ea60356d66a6368648 Author: Henning Schild hennsch de> AuthorDate: Thu Sep 2 19:33:00 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Sep 4 06:00:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=477a8098 sci-geosciences/josm-bin: version bump to 18191 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Joonas Niilola gentoo.org> sci-geosciences/josm-bin/Manifest | 1 + sci-geosciences/josm-bin/josm-bin-18191.ebuild | 31 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index d9ec897abb1..d027c833f86 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,3 @@ DIST josm-snapshot-18004.jar 15839807 BLAKE2B 4eed4c47f9a9df0e4dcd98cbe6a00793dc87359c1adad4a03a12e7b9207e5519c7570e1d3c3ba49464adf8fc191a0dc33acdf7c39a5db1c001b044ebf2ed0ce7 SHA512 9b66a4e6327008e24550464bc76c710ce0a99c39fb4fd83d99705f292b5d11203b96411eebb02c9ba8bb1dc28252a26787b5d83cc4f87cd89fc6294a3b8627c4 DIST josm-snapshot-18118.jar 16005374 BLAKE2B 1b8d0b31adfaca4f0435719bac7258fe43bf78d078ce9cd46aa5e44bf7e4e69325f8675eede6f56ea0305bad57102bf5565a5ef38ca1b29b5f3e1fa889aceba5 SHA512 18e5f06c7eb52004617df23efaef85bf784d36b301cbc78b967a5ed91b684c9bc664424282b06278a109e88e2f72424c0b89fe447a06c7bb1a00edc12c1372a4 +DIST josm-snapshot-18191.jar 16013739 BLAKE2B 69ebf2e44d0b92b928adb3c17e5c99fd74ee305fe7d6888147a95bc62b5f33a0d4a6ff7af13e9781d8ffda36e04e237089439b00de4f329f1500d71cf8de88ff SHA512 1c1d04fe21e379004eb31677887550241365f6bf306286c3cd655044dfadd36d5cea5d54a77c09bc6cb3c648c3fb927f75d800776d9d92b85c1bd318621a4479 diff --git a/sci-geosciences/josm-bin/josm-bin-18191.ebuild b/sci-geosciences/josm-bin/josm-bin-18191.ebuild new file mode 100644 index 00000000000..3d54799f8cd --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18191.ebuild @@ -0,0 +1,31 @@ +# 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" + +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" +}