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 5959E15808F for ; Fri, 10 Sep 2021 07:22:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94A69E091F; Fri, 10 Sep 2021 07:22:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 73C73E0921 for ; Fri, 10 Sep 2021 07:22:38 +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 70322340D15 for ; Fri, 10 Sep 2021 07:22:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95D4BCF for ; Fri, 10 Sep 2021 07:22:34 +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: <1631258545.0bf4aec24745c14421a772624ecf5407f878a144.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-18193.ebuild X-VCS-Directories: sci-geosciences/josm-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0bf4aec24745c14421a772624ecf5407f878a144 X-VCS-Branch: master Date: Fri, 10 Sep 2021 07:22:34 +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: 798c9814-f7ef-4fd6-92c5-754850bef6a2 X-Archives-Hash: 451f6f8948dd2c6ea36cb061e4430892 commit: 0bf4aec24745c14421a772624ecf5407f878a144 Author: Henning Schild hennsch de> AuthorDate: Tue Sep 7 19:53:27 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Sep 10 07:22:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf4aec2 sci-geosciences/josm-bin: version bump to 18193 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-18193.ebuild | 32 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 9374d2f758f..83cb5102b28 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 00000000000..d042ecaab17 --- /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" +}