summaryrefslogtreecommitdiff
path: root/dev-java/browserlauncher2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/browserlauncher2
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/browserlauncher2')
-rw-r--r--dev-java/browserlauncher2/Manifest3
-rw-r--r--dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild46
-rw-r--r--dev-java/browserlauncher2/metadata.xml17
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/browserlauncher2/Manifest b/dev-java/browserlauncher2/Manifest
new file mode 100644
index 000000000000..a8ff5c9b77a1
--- /dev/null
+++ b/dev-java/browserlauncher2/Manifest
@@ -0,0 +1,3 @@
+DIST BrowserLauncher2-all-1_3.jar 186442 BLAKE2B b26509cf9a6700bd7261423b387479fde852f55735ddf6fb419e717c454b398a0a8c0c8acbd4be2e59aca6bd36837c0329f3a635482863273a1e9a389806bcdd SHA512 529195a94b757578afb3863c6b53cf16584097c659c576167fcbf86897cc484d80092c8d6e409ba1fdec69cb4f4a42b65c89c881663ae64bbc0a0a496309da5f
+EBUILD browserlauncher2-1.3-r1.ebuild 1111 BLAKE2B 343a7c5b94719bdfea674b5f3cf9916fe1bead20ed10512ffaad39a8133fd51bfc75fc693e00b6ee25ec83ddf55bd61b895a10a68e943880143ff1daa2524c50 SHA512 4cd6731a72bea53839c13cf46c472d609d5738e154898e0ff305fdf111292a5d188593750b18d87ed750cc1c57191d83d85ca8037bbc99015b4097d0904d51c0
+MISC metadata.xml 628 BLAKE2B 1cf381041505b896f78e6eff1771be500ad84af5827a59f5243b5c55883cebd53f53ddb5ec1e07c7491b2e0ac98eedd86353c50bf4a437be8302e43a5ab548d0 SHA512 0a45a31198ed3fa2b1e78a43342b9b079cf0ac421668ec360443e803272f25da44dac62f458568a030c67efc720a80eda629532dd2687c8324aebb506436a3d4
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>