changeset 499:5963f39960df

visualvm update
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 03 Mar 2020 08:45:00 +0100
parents f601344b3d41
children 7c5db6a31cf2
files dev-util/visualvm-bin/Manifest dev-util/visualvm-bin/visualvm-bin-2.0.ebuild
diffstat 2 files changed, 35 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dev-util/visualvm-bin/Manifest	Sat Feb 15 03:08:25 2020 +0100
+++ b/dev-util/visualvm-bin/Manifest	Tue Mar 03 08:45:00 2020 +0100
@@ -1,2 +1,4 @@
 DIST visualvm_143.zip 15610933 BLAKE2B 73cf445418565de42fa5b4957cb8f24f45c32839fa4027a7ed28cb9c0b7f504a0fbe1af2c2d9d337373f15640acbfe59d466e4595c2ab1d47e2bd0aed2e99f6c SHA512 86a7a6a90e04404d06aae027c69192ec5f53796474341cd9ad7ec0138d4ff4c082f67681d6723b1d0b3a38c0503026af95f8b504531e40e32ae84404596545ea
+DIST visualvm_20.zip 17302092 BLAKE2B 49d5ea28318cac1174bddbd6909aebf2ce3b860d76b6cc9be52e3620dfaf1bd0ff58dc966317860775a11300263be6fe3f06b822bfcb3cefc41b4207ac2ff4b6 SHA512 497d38bddcadca2b8ba6974f3f0b9d7bfde004ba0cfe0ea1cbaa7e749e26fb1e68ba4a312943490ad9cf187e90402aafa11ec7ffc315b04a57cee827ca969fd7
 EBUILD visualvm-bin-1.4.3.ebuild 834 BLAKE2B 21a667d10110cf6e1192af9a17682c002b36de3dfe032ba5cc052c3259a70865b1b3b79ec1756ea33c1912cf5f966ce2531c2ffafb3b2b1bf2f9d78b84df2820 SHA512 e55e53ef0d7408bddeefe8e22778f9dec7a2baefe9ef2c09237e80aa0bc8839a02f81b29737bb19b9300fd646fa1754d7bdb1769654a1a2436da982402f0a9d7
+EBUILD visualvm-bin-2.0.ebuild 718 BLAKE2B 4ac94b8a9cfbe8ad788a7dbf75a648acb462f95b98eb982cd15ec847b48affd77c4ee126c6fb6a224d6bd439114ed072c31ef2ddd21012f79fb9be7c83657f39 SHA512 881eb3e1c848c27cb44cefa2064f8a0a4615a09b4dc7d4b610bbac094178d0b9044b4be20c97af825e7352d5c962984c32c9885d0e1abd77d9e6f3391ee40800
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-util/visualvm-bin/visualvm-bin-2.0.ebuild	Tue Mar 03 08:45:00 2020 +0100
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Integrates commandline JDK tools and profiling capabilities"
+HOMEPAGE="https://visualvm.github.io"
+
+MY_PV="${PV//\./}"
+SRC_URI="https://github.com/visualvm/visualvm.src/releases/download/${PV}/visualvm_${MY_PV}.zip"
+S="${WORKDIR}/visualvm_${MY_PV}"
+
+SLOT="0"
+KEYWORDS="amd64"
+
+src_prepare() {
+	default
+
+	# Remove unneeded binaries
+	rm bin/*.exe
+	rm -rv platform/lib/*.{dll,exe} \
+		platform/modules/lib/{amd64/*.dll,i386,x86} || die
+}
+
+src_install() {
+	local DEST_DIR="/opt/${PN}-${PV}"
+
+	exeinto ${DEST_DIR}/bin
+	doexe bin/visualvm
+
+	insinto ${DEST_DIR}
+	doins -r etc platform visualvm
+}