diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-07-23 15:54:15 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-31 05:44:54 +0100 |
commit | 9dd88ed8cce0323ae08f20d667f63efaaffad18b (patch) | |
tree | 6ee5f80ca9196ebc9c796ad7d012934bdcfbece9 /dev-util | |
parent | dev-python/pysmi: add 1.4.4 (diff) | |
download | gentoo-9dd88ed8cce0323ae08f20d667f63efaaffad18b.tar.gz gentoo-9dd88ed8cce0323ae08f20d667f63efaaffad18b.tar.bz2 gentoo-9dd88ed8cce0323ae08f20d667f63efaaffad18b.zip |
dev-util/gprofng-gui: new package, add 1.1
[sam: Adding the bug as I figure anyone interested in gprofng may
be interested in this too.]
Bug: https://bugs.gentoo.org/865113
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37687
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/gprofng-gui/Manifest | 1 | ||||
-rw-r--r-- | dev-util/gprofng-gui/gprofng-gui-1.1.ebuild | 35 | ||||
-rw-r--r-- | dev-util/gprofng-gui/metadata.xml | 7 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/gprofng-gui/Manifest b/dev-util/gprofng-gui/Manifest new file mode 100644 index 000000000000..8feedb95e0ac --- /dev/null +++ b/dev-util/gprofng-gui/Manifest @@ -0,0 +1 @@ +DIST gprofng-gui-1.1.tar.gz 1576556 BLAKE2B 3b757ffe2785cfcee8d5f154f140685dddc8644ff04770be96fbb8bc2a6020e6d10b6daf60962454775c995806c1c7b669d867af88f1928e63f41996f3f85cb9 SHA512 5fad2f32be19bae829f92b3d1f307858c4cd26574dfc2be3ce47728b4c361f090b26cb2a541c63902f65395182cece49c82d39987644eeebe1bc11eb9a58fc48 diff --git a/dev-util/gprofng-gui/gprofng-gui-1.1.ebuild b/dev-util/gprofng-gui/gprofng-gui-1.1.ebuild new file mode 100644 index 000000000000..99f4d443dfea --- /dev/null +++ b/dev-util/gprofng-gui/gprofng-gui-1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +DESCRIPTION="full-fledged graphical interface to operate gprofng" +HOMEPAGE="https://www.gnu.org/software/gprofng-gui/" +SRC_URI="https://ftp.gnu.org/gnu/gprofng-gui/${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +src_compile() { + ejavac $(find org/gprofng/analyzer -name '*.java') + ejavac $(find org/gprofng/collector -name '*.java') + ejavac $(find org/gprofng/mpmt -name '*.java') + + find org -type f -name '*.java' -exec rm -rf {} + || die + + "$(java-config -j)" cfm gprofng-analyzer.jar analyzer_st.mf -C . org/gprofng/analyzer || die + "$(java-config -j)" cfm gprofng-collector.jar gprofng-collector.mf -C . org/gprofng/collector || die + "$(java-config -j)" cfm gprofng.jar gprofng-gui.mf -C . org/gprofng/mpmt || die +} + +src_install() { + java-pkg_dojar gprofng{,-analyzer,-collector}.jar + java-pkg_dolauncher gp-display-gui --main org.gprofng.analyzer.AnMain +} diff --git a/dev-util/gprofng-gui/metadata.xml b/dev-util/gprofng-gui/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-util/gprofng-gui/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> +</pkgmetadata> |