* [gentoo-commits] proj/sci:master commit in: profiles/, dev-java/flexdock/, dev-java/flexdock/files/
@ 2012-07-28 19:15 Guillaume Horel
0 siblings, 0 replies; only message in thread
From: Guillaume Horel @ 2012-07-28 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 6b3cfad84e2e8ffb49374c77585fddcaa9f56e73
Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Sat Jul 28 19:04:33 2012 +0000
Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Sat Jul 28 19:04:33 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6b3cfad8
dev-java/flexdock version bump
---
dev-java/flexdock/ChangeLog | 7 +++
.../flexdock/files/flexdock-1.2.0-nodemo.patch | 12 +++++
dev-java/flexdock/flexdock-1.2.0.ebuild | 51 ++++++++++++++++++++
profiles/package.mask | 1 +
4 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/dev-java/flexdock/ChangeLog b/dev-java/flexdock/ChangeLog
index 4979481..2ed21fc 100644
--- a/dev-java/flexdock/ChangeLog
+++ b/dev-java/flexdock/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*flexdock-1.2.0 (28 Jul 2012)
+
+ 28 Jul 2012; Guillaume Horel <guillaume.horel@gmail.com>
+ +flexdock-1.2.0.ebuild, +files/flexdock-1.2.0-nodemo.patch:
+ version bump.
+ remove jgoodies-looks dependencies since we don't build demos
+
23 May 2012; Sébastien Fabbro <bicatali@gentoo.org> flexdock-1.1.1.ebuild:
add missing jgoodies-looks dependency
diff --git a/dev-java/flexdock/files/flexdock-1.2.0-nodemo.patch b/dev-java/flexdock/files/flexdock-1.2.0-nodemo.patch
new file mode 100644
index 0000000..415301d
--- /dev/null
+++ b/dev-java/flexdock/files/flexdock-1.2.0-nodemo.patch
@@ -0,0 +1,12 @@
+diff -urN flexdock-orig/build.xml flexdock/build.xml
+--- flexdock-orig/build.xml 2011-12-09 11:11:26.000000000 -0500
++++ flexdock/build.xml 2011-12-20 18:47:57.277051174 -0500
+@@ -145,8 +145,6 @@
+ <src path="${java.src.drag}"/>
+ <src path="${java.src.perspective}"/>
+ </javac>
+- <javac classpathref="javac.classpath.demo" srcdir="${java.src.demo}" destdir="${bin.dir.demo}" debug="true" source="1.5" target="1.5" includeAntRuntime="no"/>
+- <javac classpathref="javac.classpath.test" srcdir="${java.src.test}" destdir="${bin.dir.test}" debug="true" source="1.5" target="1.5" includeAntRuntime="no"/>
+ </target>
+
+
diff --git a/dev-java/flexdock/flexdock-1.2.0.ebuild b/dev-java/flexdock/flexdock-1.2.0.ebuild
new file mode 100644
index 0000000..f24cc25
--- /dev/null
+++ b/dev-java/flexdock/flexdock-1.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A Java docking framework for use in cross-platform Swing applications"
+HOMEPAGE="http://flexdock.dev.java.net/"
+SRC_URI="http://forge.scilab.org/index.php/p/flexdock/downloads/get/${P}-src.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/skinlf"
+
+EANT_BUILD_TARGET="jar"
+EANT_DOC_TARGET="doc"
+
+src_unpack() {
+ mkdir "${WORKDIR}/${P}"
+ cd "${S}"
+ unpack ${A}
+}
+
+java_prepare() {
+ epatch "${FILESDIR}"/${P}-nodemo.patch
+
+ #some cleanups
+ find . -name '*.so' -exec rm -v {} \;|| die
+ find . -name '*.dll' -exec rm -v {} \;|| die
+
+ #remove built-in jars and use the system ones
+ cd lib || die
+ rm -rvf *.jar jmf|| die
+ java-pkg_jar-from skinlf
+}
+
+src_install() {
+ java-pkg_newjar "build/${P}.jar" "${PN}.jar"
+ use doc && java-pkg_dojavadoc build/docs/api
+ use source && java-pkg_dosrc src
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index 4e5d129..b2d90b1 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,7 @@
# Guillaume Horel <guillaume.horel@gmail.com> (11 July 2012)
# masked for upcoming scilab-5.4.0
=dev-java/jrosetta-1.0.4
+=dev-java/flexdock-1.2.0
# Nicolas Bock <nicolasbock@gmail.com> (05 July 2012)
# live ebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-28 21:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-28 19:15 [gentoo-commits] proj/sci:master commit in: profiles/, dev-java/flexdock/, dev-java/flexdock/files/ Guillaume Horel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox