From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4752F15808C for ; Wed, 16 Mar 2022 22:29:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C13BE08C3; Wed, 16 Mar 2022 22:29:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F24E0E08C3 for ; Wed, 16 Mar 2022 22:29:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9E81343732 for ; Wed, 16 Mar 2022 22:29:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6AF122D7 for ; Wed, 16 Mar 2022 22:29:00 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1647469676.8aaa4a9a3bf1436a319e7f16fd52e9c0ebb2ff48.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jclasslib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jclasslib/jclasslib-3.1-r1.ebuild X-VCS-Directories: dev-java/jclasslib/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8aaa4a9a3bf1436a319e7f16fd52e9c0ebb2ff48 X-VCS-Branch: master Date: Wed, 16 Mar 2022 22:29:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 45c730ed-2318-412c-9e35-4b9fa17ce919 X-Archives-Hash: e9f74a7b5091f32ff7afdadeb8d9e6a8 commit: 8aaa4a9a3bf1436a319e7f16fd52e9c0ebb2ff48 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Mar 11 14:07:40 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 16 22:27:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aaa4a9a dev-java/jclasslib: EAPI 8, min java 1.8:* Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24488 Signed-off-by: Sam James gentoo.org> dev-java/jclasslib/jclasslib-3.1-r1.ebuild | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-java/jclasslib/jclasslib-3.1-r1.ebuild b/dev-java/jclasslib/jclasslib-3.1-r1.ebuild new file mode 100644 index 000000000000..5234a552cfb2 --- /dev/null +++ b/dev-java/jclasslib/jclasslib-3.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 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-ant-2 + +DESCRIPTION="Java bytecode viewer" +HOMEPAGE="https://github.com/ingokegel/jclasslib" +SRC_URI="https://github.com/ingokegel/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +src_install() { + java-pkg_dojar "build/${PN}.jar" + + java-pkg_dolauncher "${PN}" \ + --main org.gjt.jclasslib.browser.BrowserApplication + + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/* +} + +pkg_postinst() { + elog "jclasslib uses Firefox by default." + elog "Set the BROWSER environment at your discretion." +}