diff options
author | Henning Schild <henning@hennsch.de> | 2021-01-10 17:16:39 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-08-03 09:55:41 +0200 |
commit | 78af07198c34b39058b83039dec3e358eed23c89 (patch) | |
tree | 69aebe867fc1de5086b18f88e6073196267cd6b9 /sci-geosciences/josm-bin | |
parent | dev-ros/rviz: bump to 1.14.8 (diff) | |
download | gentoo-78af07198c34b39058b83039dec3e358eed23c89.tar.gz gentoo-78af07198c34b39058b83039dec3e358eed23c89.tar.bz2 gentoo-78af07198c34b39058b83039dec3e358eed23c89.zip |
sci-geosciences/josm-bin: -bin version of the application
Building from source is very complicated, we are stuck with that for way
too long. Go -bin and be done with it.
Closes: https://bugs.gentoo.org/628944
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/19018
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-geosciences/josm-bin')
-rw-r--r-- | sci-geosciences/josm-bin/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/josm-bin/josm-bin-18004.ebuild | 31 | ||||
-rw-r--r-- | sci-geosciences/josm-bin/metadata.xml | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest new file mode 100644 index 000000000000..412f76fab014 --- /dev/null +++ b/sci-geosciences/josm-bin/Manifest @@ -0,0 +1 @@ +DIST josm-snapshot-18004.jar 15839807 BLAKE2B 4eed4c47f9a9df0e4dcd98cbe6a00793dc87359c1adad4a03a12e7b9207e5519c7570e1d3c3ba49464adf8fc191a0dc33acdf7c39a5db1c001b044ebf2ed0ce7 SHA512 9b66a4e6327008e24550464bc76c710ce0a99c39fb4fd83d99705f292b5d11203b96411eebb02c9ba8bb1dc28252a26787b5d83cc4f87cd89fc6294a3b8627c4 diff --git a/sci-geosciences/josm-bin/josm-bin-18004.ebuild b/sci-geosciences/josm-bin/josm-bin-18004.ebuild new file mode 100644 index 000000000000..3d54799f8cdc --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18004.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" +} diff --git a/sci-geosciences/josm-bin/metadata.xml b/sci-geosciences/josm-bin/metadata.xml new file mode 100644 index 000000000000..003853666418 --- /dev/null +++ b/sci-geosciences/josm-bin/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>henning@hennsch.de</email> + <name>Henning Schild</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> +</pkgmetadata> |