public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-java/jogl/
Date: Wed,  8 Jan 2014 11:20:53 +0000 (UTC)	[thread overview]
Message-ID: <1389116078.712760fba6e39b082a7707007fae7fac98fc40ca.jlec@gentoo> (raw)

commit:     712760fba6e39b082a7707007fae7fac98fc40ca
Author:     Johann Schmitz <johann <AT> j-schmitz <DOT> net>
AuthorDate: Tue Jan  7 17:34:38 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 17:34:38 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=712760fb

Version bump of jogl

Package-Manager: portage-2.2.7

---
 dev-java/jogl/ChangeLog             |  6 ++-
 dev-java/jogl/jogl-2.1.4_rc1.ebuild | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+), 1 deletion(-)

diff --git a/dev-java/jogl/ChangeLog b/dev-java/jogl/ChangeLog
index 4b23f79..c6bec36 100644
--- a/dev-java/jogl/ChangeLog
+++ b/dev-java/jogl/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*jogl-2.1.4_rc1 (07 Jan 2014)
+
+  07 Jan 2014; Johann Schmitz <ercpe@gentoo.org> +jogl-2.1.4_rc1.ebuild:
+  Version bump of jogl
+
   03 Jan 2014; Justin Lecher <jlec@gentoo.org> -jogl-1.1.1.ebuild,
   +jogl-1.1.1a.ebuild:
   Bump away from vulnerable version, #330267
@@ -31,4 +36,3 @@
   +files/1.1.0/fix-solaris-compiler.patch, +files/1.1.0/uncouple-gluegen.patch,
   +jogl-1.1.1.ebuild, +metadata.xml:
   import from the java overlay
-

diff --git a/dev-java/jogl/jogl-2.1.4_rc1.ebuild b/dev-java/jogl/jogl-2.1.4_rc1.ebuild
new file mode 100644
index 0000000..793a947
--- /dev/null
+++ b/dev-java/jogl/jogl-2.1.4_rc1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PV="${PV/_rc/_rc0}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Java(TM) Binding fot the OpenGL(TM) API"
+HOMEPAGE="http://jogamp.org/jogl/www/"
+SRC_URI="https://github.com/sgothel/jogl/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="cg"
+
+CDEPEND="=dev-java/gluegen-${PV}:${SLOT}
+	dev-java/antlr:0
+	dev-java/ant-core:0
+	x11-libs/libX11
+	x11-libs/libXxf86vm
+	dev-java/swt:3.7
+	virtual/opengl
+	cg? ( media-gfx/nvidia-cg-toolkit )"
+
+RDEPEND="${CDEPEND}
+	>=virtual/jre-1.5"
+DEPEND="${CDEPEND}
+	>=virtual/jdk-1.5"
+
+# upstream has a crude way to call the junit tests, which cause a lot of trouble to pass
+# our test classpath...
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+JAVA_PKG_BSFIX_NAME+=" build-jogl.xml build-nativewindow.xml build-newt.xml"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+EANT_BUILD_XML="make/build.xml"
+EANT_BUILD_TARGET="init build.nativewindow build.jogl build.newt one.dir tag.build"
+EANT_DOC_TARGET=""
+EANT_GENTOO_CLASSPATH="gluegen-${SLOT},antlr,ant-core,swt-3.7"
+EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}/*.jar:${S}/build/nativewindow/*.jar"
+EANT_NEEDS_TOOLS="yes"
+
+java_prepare() {
+	find -name '*.jar' -exec rm -v {} + || die
+
+	# Empty filesets are never out of date!
+	sed -i -e 's/<outofdate>/<outofdate force="true">/' make/build*xml || die
+
+	EANT_EXTRA_ARGS+=" -Dcommon.gluegen.build.done=true"
+	EANT_EXTRA_ARGS+=" -Dgluegen.root=/usr/share/gluegen-${SLOT}/"
+	EANT_EXTRA_ARGS+=" -Dgluegen.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen.jar)"
+	EANT_EXTRA_ARGS+=" -Dgluegen-rt.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen-rt.jar)"
+
+	use cg && EANT_EXTRA_ARGS+=" -Djogl.cg=1 -Dx11.cg.lib=/usr/lib"
+}
+
+src_install() {
+	java-pkg_dojar build/jogl/*.jar
+	java-pkg_dojar build/nativewindow/*.jar
+	java-pkg_doso build/nativewindow/obj/*.so
+
+	use doc && dodoc -r doc
+	use source && java-pkg_dosrc src/jogl/classes/*
+}


             reply	other threads:[~2014-01-08 11:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08 11:20 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-03 12:05 [gentoo-commits] proj/sci:master commit in: dev-java/jogl/ Andrew Ammerlaan
2021-03-03 12:05 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2020-09-25  7:51 Horea Christian
2014-11-05  7:24 Justin Lecher
2014-02-12  5:48 Guillaume Horel
2014-01-03 12:06 Justin Lecher
2013-11-16 17:00 Guillaume Horel
2013-10-28  4:29 Guillaume Horel
2013-02-03 15:19 Guillaume Horel
2012-05-29 17:49 Sebastien Fabbro
2012-05-22 19:43 Justin Lecher
2012-05-18 17:26 Christoph Junghans

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=1389116078.712760fba6e39b082a7707007fae7fac98fc40ca.jlec@gentoo \
    --to=jlec@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