summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-06-21 15:18:10 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-08-02 14:48:54 +0200
commit3a2d65ee518f3a2394f57ba86a02afc81107bb73 (patch)
tree375fc178f2135fa8501e75d89dc82c8a9e9f7b29 /dev-java
parentdev-ml/ordering: drop 3.11.1 (diff)
downloadgentoo-3a2d65ee518f3a2394f57ba86a02afc81107bb73.tar.gz
gentoo-3a2d65ee518f3a2394f57ba86a02afc81107bb73.tar.bz2
gentoo-3a2d65ee518f3a2394f57ba86a02afc81107bb73.zip
dev-java/jclasslib: add 4.3.1
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37915 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jclasslib/Manifest2
-rw-r--r--dev-java/jclasslib/jclasslib-4.3.1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/jclasslib/Manifest b/dev-java/jclasslib/Manifest
index 8417d7402607..ae0e87bf4724 100644
--- a/dev-java/jclasslib/Manifest
+++ b/dev-java/jclasslib/Manifest
@@ -1 +1,3 @@
+DIST annotations-24.1.0.jar 30570 BLAKE2B 55120bf8969384048e0fd438fc96dc6769d6974b96e0e492636351c15466401da623341fe526685e51cd63378fa54c6485fa5dca83b2fc853b85ed4a75dc5d7d SHA512 663395a885561cc97eed411c67b496c06ec9a54906185a871de8743bf53e92152f4bc7c2a0118b7f3cfe85cc0a6c408ac6d589839b8d25c851637f85880331f2
DIST jclasslib-3.1.tar.gz 4630493 BLAKE2B 2dbede05833a6f7ff0f32194ea91aeb071615ee8562541d1b5abc2fc61c3f393bd93f5e444110a6a72df161d488cf21551af8208b1f391951b5ae7002ceb6ef3 SHA512 5c44043eb30ab32110097ef6b52f459bf4d512db71efc79aae99fdb6b9db740a7be1e6a59f6e3a233a3b303933ed90fe482c6b9c81d76de93af6c9724aad41dc
+DIST jclasslib-4.3.1.tar.gz 1396903 BLAKE2B 2f070186f75e40be7cb7122e34d3a00688691cb9da49b6c161beaff7da3170b8ddf3e805467b7ecfbd820ca4bd0b335dee765d7318d0f487f2242e5f8bf4ae76 SHA512 25e35b39a39eb09fe7730d70abb4f6f500522f755801f80ece9357a1a90429254eb3bf57ea7a6cd638fcac77b0d04a62e0df9336c8184738acc74901ed4516e9
diff --git a/dev-java/jclasslib/jclasslib-4.3.1.ebuild b/dev-java/jclasslib/jclasslib-4.3.1.ebuild
new file mode 100644
index 000000000000..79ad0e367e27
--- /dev/null
+++ b/dev-java/jclasslib/jclasslib-4.3.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java bytecode viewer"
+HOMEPAGE="https://github.com/ingokegel/jclasslib"
+JAV="24.1.0"
+SRC_URI="https://github.com/ingokegel/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://repo1.maven.org/maven2/org/jetbrains/annotations/${JAV}/annotations-${JAV}.jar"
+S="${WORKDIR}/${P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_GENTOO_CLASSPATH_EXTRA="lib-compile/i4jruntime.jar"
+JAVA_GENTOO_CLASSPATH_EXTRA+=":${DISTDIR}/annotations-${JAV}.jar"
+JAVA_MAIN_CLASS="org.gjt.jclasslib.browser.BrowserApplication"
+JAVA_RESOURCE_DIRS=( modules/browser/src/main/resources )
+JAVA_SRC_DIR=( modules/{data,browser}/src/main/java )
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_dojar lib-compile/i4jruntime.jar
+}
+
+pkg_postinst() {
+ elog "jclasslib uses Firefox by default."
+ elog "Set the BROWSER environment at your discretion."
+}