From 94dd707d272879a8dfdd31d71113b1b7bba98366 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Oct 2023 22:03:16 +0100 Subject: gentoo auto-resync : 17:10:2023 - 22:03:16 --- sci-geosciences/gpsprune-bin/Manifest | 4 +- .../gpsprune-bin/gpsprune-bin-23.1.ebuild | 65 ---------------------- .../gpsprune-bin/gpsprune-bin-23.2.ebuild | 51 +++++++++++++++++ 3 files changed, 53 insertions(+), 67 deletions(-) delete mode 100644 sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild create mode 100644 sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild (limited to 'sci-geosciences/gpsprune-bin') diff --git a/sci-geosciences/gpsprune-bin/Manifest b/sci-geosciences/gpsprune-bin/Manifest index c3be4d9bc5a6..8d5ef3256cd2 100644 --- a/sci-geosciences/gpsprune-bin/Manifest +++ b/sci-geosciences/gpsprune-bin/Manifest @@ -1,3 +1,3 @@ -DIST gpsprune_23.1.jar 1201224 BLAKE2B 829383d8fdc5406b4bbddfb224d48142cee910b478db8e67029592c9a8382b78f0286b3850b484801688254455d043e6409e3af21d3fb4956fc284a6f2e3685d SHA512 45b285bd6f940619c2e6f73f29f377a8db01e29435833c07286261d57eee2b5584193b040ed4ce15fe1c0cfae15f629a3b95c0a25af74cf51af64cfa7fc19183 -EBUILD gpsprune-bin-23.1.ebuild 1545 BLAKE2B ec3b0672db1eafea839a267537de9169f39ccd9dbe3511b2d457c20afdf8d6628b1bef9cf9a0e32e2742975edf92602dffdb012dff71afcfd717b09ca3e65f99 SHA512 77d18d9420b7f659d23b1576780fa3110a0145e2c3d8e16b25bed335bfd713769d698799dd670b633f04c4dd50e63006deb8e5f04f00165b24be3c1f56d51b5a +DIST gpsprune_23.2.jar 1201771 BLAKE2B 6673381e2415ff58293a5f8aea2d4140054dfca846b5000b7fdd4ad405a3a5a634704131a7269d5a62e8a1870e6e3735321a54f6c07d729efa55c09e6ec52de0 SHA512 5e33909d709440b989426de9617b51408739c5dfea040bf0c61ff59ee654a20d318829bed1aa34cbe36dd3698ee30c6c421ad5c6f1c17018d71b5891bd7ffd45 +EBUILD gpsprune-bin-23.2.ebuild 1163 BLAKE2B 5389e37d604638563163ebd94a0244ef7c7f5069de7f04a781fc3471d61a8ab4a07fc664c110b1690f1e2f926a62a031fbeb179d7a207698c79f4b597197808d SHA512 d12295badaa432a6a027bebe33cd84d458424bf76988f726fba59dee2989478493e4c4d374ad9fcab46608cfe7e2843534309872fd22ea443e33c5f2cb234c7a MISC metadata.xml 261 BLAKE2B 36ef7307b8c913ceda7118a783c7f0c263e94e804f7c75e34007573f82dcddf62cfd202716bf5fb6e0adcad28a5a453d516f4caf4d2ca2eed6d076c6f7824afb SHA512 c24567fd3f715c867c52662d520fbf423d407a2a364d4ea9e5e66610cabb3728b494610106110abfac2b36554c4ad4b63f640e92f8d1b22bdea512037e461602 diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild deleted file mode 100644 index af6ab8ead830..000000000000 --- a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="An application for viewing, editing and converting GPS data" -HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html" -SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="virtual/jre:*" -RDEPEND="${DEPEND}" - -gpsprune_bin="${WORKDIR}/gpsprune" -gpsprune_desktop="${WORKDIR}/gpsprune.desktop" - -S="${WORKDIR}" - -src_prepare() { - default - - # Provide the necessary files - cp "${DISTDIR}/${A}" "${WORKDIR}" || die - for size in 128 96 72 64 48 36 32 24 22 16; do - mkdir -p "${WORKDIR}/icons/$size" - cp "${WORKDIR}/tim/prune/gui/images/window_icon_${size}.png" "${WORKDIR}/icons/$size/gpsprune.png" || die - done - - # Generate an executable - cat <<-EOF > "${gpsprune_bin}" || die - #!/bin/sh - java -jar /opt/gpsprune/gpsprune_${PV}.jar \$@ - EOF - - # Generate a .desktop file - cat <<-EOF > "${gpsprune_desktop}" || die - [Desktop Entry] - Name=GpsPrune - Type=Application - Comment=Application for viewing, editing and converting coordinate data from GPS systems - Exec=gpsprune - Icon=gpsprune - Categories=Science;Geoscience; - EOF -} - -src_install() { - insinto /opt/gpsprune - doins "gpsprune_${PV}.jar" - exeinto /usr/bin - doexe "${gpsprune_bin}" - - for size in 128 96 72 64 48 36 32 24 22 16; do - insinto "/usr/share/icons/hicolor/${size}x${size}/apps" - doins "icons/${size}/gpsprune.png" - done - - domenu gpsprune.desktop -} diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild new file mode 100644 index 000000000000..62b86546e93b --- /dev/null +++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-pkg-2 java-pkg-simple + +DESCRIPTION="An application for viewing, editing and converting GPS data" +HOMEPAGE="https://activityworkshop.net/software/gpsprune/index.html" +SRC_URI="https://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-11:*" + +S="${WORKDIR}" + +JAVA_JAR_FILENAME="gpsprune.jar" +JAVA_MAIN_CLASS="tim.prune.GpsPrune" +JAVA_LAUNCHER_FILENAME="gpsprune" + +src_prepare() { + default + + cp "${DISTDIR}/gpsprune_${PV}.jar" gpsprune.jar || die +} + +src_compile() { + : +} + +src_install() { + java-pkg-simple_src_install + + for size in 128 96 72 64 48 36 32 24 22 16; do + insinto "/usr/share/icons/hicolor/${size}x${size}/apps" + newins "tim/prune/gui/images/window_icon_${size}.png" gpsprune.png + done + + newmenu - gpsprune.desktop <<-EOF + [Desktop Entry] + Name=GpsPrune + Type=Application + Comment=Application for viewing, editing and converting coordinate data from GPS systems + Exec=gpsprune + Icon=gpsprune + Categories=Science;Geoscience; + EOF +} -- cgit v1.2.3