summaryrefslogtreecommitdiff
path: root/dev-java/browserlauncher2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/browserlauncher2
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/browserlauncher2')
-rw-r--r--dev-java/browserlauncher2/Manifest5
-rw-r--r--dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild46
-rw-r--r--dev-java/browserlauncher2/metadata.xml17
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-java/browserlauncher2/Manifest b/dev-java/browserlauncher2/Manifest
new file mode 100644
index 000000000000..49267f76f83f
--- /dev/null
+++ b/dev-java/browserlauncher2/Manifest
@@ -0,0 +1,5 @@
+DIST BrowserLauncher2-all-1_3.jar 186442 SHA256 45445b2eeaddf70a0f79f4b3c45cffe097bbc16ac76ec59ab9224562ccda2bbd SHA512 529195a94b757578afb3863c6b53cf16584097c659c576167fcbf86897cc484d80092c8d6e409ba1fdec69cb4f4a42b65c89c881663ae64bbc0a0a496309da5f WHIRLPOOL df45cef7d159c38101d66ec86b8a965cb1bb28f0d0e3c8a289059c3be01d83573e2a352d950b730eaced3210df19e2a9d1904e9ea444ae8250f91010a2626777
+EBUILD browserlauncher2-1.3-r1.ebuild 1111 SHA256 46e9fc5ffa9f5d2a6ee59329ff9f7d03ad9aff9fae44498606db9564a45fca22 SHA512 4cd6731a72bea53839c13cf46c472d609d5738e154898e0ff305fdf111292a5d188593750b18d87ed750cc1c57191d83d85ca8037bbc99015b4097d0904d51c0 WHIRLPOOL df8902a1d41e8ab2c97c8521c62247fdce00d8d5a61a0e245dc3e48fcd4567029ed428602169bf303a4b2fe84870f8798de98f1992dac52466e642bcf1687094
+MISC ChangeLog 2832 SHA256 d411da5d5bd98e4f6edb3bf686a4468153369d7f0227656da12fdfbda5997e83 SHA512 f71d53755589b2c00ec8125213476e45df0f94fe6989d08ee1aee76067e6660dc23ad540a5cda6261e8b4170052c4005d8028176a6d9ebf5b44a524c65ef7c21 WHIRLPOOL 370577057e10f072592d90001aa4b78e1e9d25cc4ca93a99ef8e25b7453e844231f6a969adc5539212cf8bf513af5d2349ef2e762d1f653d39f48cd9ab2c62e4
+MISC ChangeLog-2015 2197 SHA256 f5ea03362852ae09287587761700a431680f0f200041b0ab4ac95bef115a0e99 SHA512 6db4e86ccde3a18ed52caf51443c559a7b23db5c9714ded527cd31a1d04f60cfa41189eb2a7235b013706eda2b4b514202f0cd345d93101ecd36b45dfecefefb WHIRLPOOL f629ce7f026069b452e6641354d7dcebcd7ab137687fb63736ce33a958142476d73ea269ab2333b8d83a66f8cf7058ac0d6f0030704d81546606d5ff1f12ae17
+MISC metadata.xml 628 SHA256 97567e0e2b33a78bcf58d6e9eace5cc93e7cbf9ec0f320f6216d18d8a190b4f9 SHA512 0a45a31198ed3fa2b1e78a43342b9b079cf0ac421668ec360443e803272f25da44dac62f458568a030c67efc720a80eda629532dd2687c8324aebb506436a3d4 WHIRLPOOL a71f3e52e404dd4f72e14e6d6729a803caa57c72e792c5ba7ebfa7fbcc9187537f49e22d671a17977f8f4ae2ec4982b89e8ddd67cfc47c9d0b4ab6ca73b5b0d9
diff --git a/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild b/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild
new file mode 100644
index 000000000000..315f0a029bed
--- /dev/null
+++ b/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit versionator eutils java-pkg-2 java-ant-2
+
+MY_PV="$(replace_all_version_separators _)"
+MY_PN="BrowserLauncher2"
+
+DESCRIPTION="A library that facilitates opening a browser from a Java application"
+HOMEPAGE="http://browserlaunch2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/browserlaunch2/${MY_PN}-all-${MY_PV}.jar"
+
+LICENSE="LGPL-2.1"
+SLOT="1.0"
+KEYWORDS="amd64 ppc64 x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+java_prepare() {
+ unpack ${A}
+ find . -name "*.class" -exec rm -v {} \; || die
+ # fixing build.xml
+ sed -i -e "s: includes=\"\*\*/\*\.class\"::g" "${S}/build.xml" || die
+}
+
+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* || die
+ use doc && java-pkg_dojavadoc api
+ use source && java-pkg_dosrc source
+}
diff --git a/dev-java/browserlauncher2/metadata.xml b/dev-java/browserlauncher2/metadata.xml
new file mode 100644
index 000000000000..122c1b5ed38a
--- /dev/null
+++ b/dev-java/browserlauncher2/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription lang="en">
+ BrowserLauncher2, a continuation of the BrowserLauncher project, is a
+ library that facilitates opening a browser from a Java application and
+ directing the browser to a supplied url. In most cases the browser
+ opened will be the user's default browser.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">browserlaunch2</remote-id>
+ </upstream>
+</pkgmetadata>