1 |
commit: 0bf4aec24745c14421a772624ecf5407f878a144 |
2 |
Author: Henning Schild <henning <AT> hennsch <DOT> de> |
3 |
AuthorDate: Tue Sep 7 19:53:27 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 10 07:22:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf4aec2 |
7 |
|
8 |
sci-geosciences/josm-bin: version bump to 18193 |
9 |
|
10 |
Signed-off-by: Henning Schild <henning <AT> hennsch.de> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
sci-geosciences/josm-bin/Manifest | 1 + |
14 |
sci-geosciences/josm-bin/josm-bin-18193.ebuild | 32 ++++++++++++++++++++++++++ |
15 |
2 files changed, 33 insertions(+) |
16 |
|
17 |
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest |
18 |
index 9374d2f758f..83cb5102b28 100644 |
19 |
--- a/sci-geosciences/josm-bin/Manifest |
20 |
+++ b/sci-geosciences/josm-bin/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST josm-snapshot-18118.jar 16005374 BLAKE2B 1b8d0b31adfaca4f0435719bac7258fe43bf78d078ce9cd46aa5e44bf7e4e69325f8675eede6f56ea0305bad57102bf5565a5ef38ca1b29b5f3e1fa889aceba5 SHA512 18e5f06c7eb52004617df23efaef85bf784d36b301cbc78b967a5ed91b684c9bc664424282b06278a109e88e2f72424c0b89fe447a06c7bb1a00edc12c1372a4 |
23 |
DIST josm-snapshot-18191.jar 16013739 BLAKE2B 69ebf2e44d0b92b928adb3c17e5c99fd74ee305fe7d6888147a95bc62b5f33a0d4a6ff7af13e9781d8ffda36e04e237089439b00de4f329f1500d71cf8de88ff SHA512 1c1d04fe21e379004eb31677887550241365f6bf306286c3cd655044dfadd36d5cea5d54a77c09bc6cb3c648c3fb927f75d800776d9d92b85c1bd318621a4479 |
24 |
+DIST josm-snapshot-18193.jar 16013832 BLAKE2B fba7f88f9833a4ccdd24be1a2554681dc77cd5d810ca9d5b960df350987a138d43804770f5adc61d0ee6a553e5d54753a3b9353ff344dff2a0d4d33b3221a6ed SHA512 13caae201e543468d27e44811ce3a5d774c9942b702c995a3b3cf8b893e925d2b23392537b6338f5835e2014e2e08144015a210b12a553706983ac07e172308d |
25 |
|
26 |
diff --git a/sci-geosciences/josm-bin/josm-bin-18193.ebuild b/sci-geosciences/josm-bin/josm-bin-18193.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d042ecaab17 |
29 |
--- /dev/null |
30 |
+++ b/sci-geosciences/josm-bin/josm-bin-18193.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit desktop java-utils-2 xdg |
38 |
+ |
39 |
+DESCRIPTION="Java-based editor for the OpenStreetMap project" |
40 |
+HOMEPAGE="https://josm.openstreetmap.de/" |
41 |
+SRC_URI="https://josm.openstreetmap.de/download/josm-snapshot-${PV}.jar" |
42 |
+S="${WORKDIR}" |
43 |
+ |
44 |
+LICENSE="Apache-2.0 GPL-2+ GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+RDEPEND=">=virtual/jre-1.8" |
49 |
+BDEPEND="app-arch/unzip" |
50 |
+ |
51 |
+src_install() { |
52 |
+ java-pkg_newjar "${DISTDIR}/${A}" ${PN}.jar |
53 |
+ java-pkg_dolauncher ${PN} --jar ${PN}.jar |
54 |
+ |
55 |
+ local icon_size |
56 |
+ for icon_size in 16 32 48; do |
57 |
+ newicon -s ${icon_size} -t hicolor \ |
58 |
+ images/logo_${icon_size}x${icon_size}x32.png ${PN}.png |
59 |
+ newicon -s ${icon_size} -t locolor \ |
60 |
+ images/logo_${icon_size}x${icon_size}x8.png ${PN}.png |
61 |
+ done |
62 |
+ make_desktop_entry ${PN} "Java OpenStreetMap Editor" ${PN} "Utility;Science;Geoscience" |
63 |
+} |