summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2014-09-06 07:20:12 +0000
committerJohann Schmitz <ercpe@gentoo.org>2014-09-06 07:20:12 +0000
commit23b2f5079eb9a5d3e1341ca7d636d464aae95f77 (patch)
tree7fdf0577d89d03d7fbf42aaa84482410041c03bc /dev-java/browserlauncher2
parentre-add py3.2 to support reverse deps (diff)
downloadgentoo-2-23b2f5079eb9a5d3e1341ca7d636d464aae95f77.tar.gz
gentoo-2-23b2f5079eb9a5d3e1341ca7d636d464aae95f77.tar.bz2
gentoo-2-23b2f5079eb9a5d3e1341ca7d636d464aae95f77.zip
Bump to EAPI=5
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java/browserlauncher2')
-rw-r--r--dev-java/browserlauncher2/ChangeLog10
-rw-r--r--dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild47
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-java/browserlauncher2/ChangeLog b/dev-java/browserlauncher2/ChangeLog
index 9c2ae94e382e..731e073534fc 100644
--- a/dev-java/browserlauncher2/ChangeLog
+++ b/dev-java/browserlauncher2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/browserlauncher2
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/browserlauncher2/ChangeLog,v 1.11 2013/07/21 08:45:16 pacho Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/browserlauncher2/ChangeLog,v 1.12 2014/09/06 07:20:12 ercpe Exp $
+
+*browserlauncher2-1.3-r1 (06 Sep 2014)
+
+ 06 Sep 2014; Johann Schmitz <ercpe@gentoo.org>
+ +browserlauncher2-1.3-r1.ebuild:
+ Bump to EAPI=5
21 Jul 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due #92799
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..f99b92e1124d
--- /dev/null
+++ b/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild,v 1.1 2014/09/06 07:20:12 ercpe Exp $
+
+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="BrowserLauncher2 is 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 ~ppc ~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
+}