public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/browserlauncher2/
Date: Fri, 23 Apr 2021 09:41:33 +0000 (UTC)	[thread overview]
Message-ID: <1619170889.11aa4194643fdcfeb4727a83622684d6f7fd1900.fordfrog@gentoo> (raw)

commit:     11aa4194643fdcfeb4727a83622684d6f7fd1900
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Apr 22 14:20:12 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 09:41:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11aa4194

dev-java/browserlauncher2: EAPI 7, min java 1.8

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20500
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../browserlauncher2-1.3-r2.ebuild                 | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/dev-java/browserlauncher2/browserlauncher2-1.3-r2.ebuild b/dev-java/browserlauncher2/browserlauncher2-1.3-r2.ebuild
new file mode 100644
index 00000000000..58fe70c5418
--- /dev/null
+++ b/dev-java/browserlauncher2/browserlauncher2-1.3-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A library that facilitates opening a browser from a Java application"
+HOMEPAGE="http://browserlaunch2.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/project/browserlaunch2/browserlauncher2/${PV}/BrowserLauncher2-all-${MY_PV}.jar"
+
+LICENSE="LGPL-2.1"
+SLOT="1.0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_prepare() {
+	default
+	unpack ${A}
+	find . -name "*.class" -exec rm -v {} \; || die
+	# fixing build.xml
+	sed -i -e "s: includes=\"\*\*/\*\.class\"::g" "${S}/build.xml" || die
+
+	iconv -f ISO-8859-1 -t UTF8 -o /var/tmp/portage/dev-java/browserlauncher2-1.3-r2/work/source/at/jta/Regor.java~ \
+		/var/tmp/portage/dev-java/browserlauncher2-1.3-r2/work/source/at/jta/Regor.java || die "recoding failed"
+	mv -f /var/tmp/portage/dev-java/browserlauncher2-1.3-r2/work/source/at/jta/Regor.java{~,} || die "cannot rename"
+}
+
+EANT_BUILD_TARGET="build"
+EANT_DOC_TARGET="api"
+
+src_install() {
+	java-pkg_newjar deployment/*.jar
+	java-pkg_dolauncher BrowserLauncherTestApp-${SLOT} \
+		--main "edu.stanford.ejalbert.testing.BrowserLauncherTestApp"
+
+	dodoc README*
+	use doc && java-pkg_dojavadoc api
+	use source && java-pkg_dosrc source
+}


             reply	other threads:[~2021-04-23  9:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23  9:41 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-14  7:23 [gentoo-commits] repo/gentoo:master commit in: dev-java/browserlauncher2/ Arthur Zamarin
2022-10-14  7:23 Arthur Zamarin
2022-10-13 21:20 Sam James
2022-10-13 21:20 Sam James
2022-10-13 19:38 Arthur Zamarin
2022-09-13  9:44 Florian Schmaus
2021-04-23  9:41 Miroslav Šulc
2021-04-23  9:41 Miroslav Šulc
2015-08-13 22:56 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619170889.11aa4194643fdcfeb4727a83622684d6f7fd1900.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox