From: "Guillaume Horel" <guillaume.horel@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-java/gluegen/
Date: Fri, 3 Apr 2015 17:49:56 +0000 (UTC) [thread overview]
Message-ID: <1428083253.ea46f7f8050b73658746463bb42b59d5ea2c127c.guillaume_horel@gentoo> (raw)
commit: ea46f7f8050b73658746463bb42b59d5ea2c127c
Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Fri Apr 3 17:47:33 2015 +0000
Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Fri Apr 3 17:47:33 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ea46f7f8
dev-java/gluegen: version bump
Package-Manager: portage-2.2.18
dev-java/gluegen/ChangeLog | 8 ++-
dev-java/gluegen/gluegen-2.2.4.ebuild | 92 +++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+), 1 deletion(-)
diff --git a/dev-java/gluegen/ChangeLog b/dev-java/gluegen/ChangeLog
index df8ea93..c8a71e9 100644
--- a/dev-java/gluegen/ChangeLog
+++ b/dev-java/gluegen/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for dev-java/gluegen
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*gluegen-2.2.4 (03 Apr 2015)
+
+ 03 Apr 2015; Guillaume Horel <guillaume.horel@gmail.com>
+ +gluegen-2.2.4.ebuild:
+ dev-java/gluegen: version bump
+
03 Nov 2014; Justin Lecher <jlec@gentoo.org> gluegen-1_p20080421.ebuild,
gluegen-2.0_rc8.ebuild, -gluegen-2.1.2.ebuild, gluegen-2.1.4.ebuild:
Bump to EAPI=5; drop old
diff --git a/dev-java/gluegen/gluegen-2.2.4.ebuild b/dev-java/gluegen/gluegen-2.2.4.ebuild
new file mode 100644
index 0000000..3ecca4b
--- /dev/null
+++ b/dev-java/gluegen/gluegen-2.2.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+###############################################################################
+# WARNING: don't add to main tree without fixing QA issues first!
+###############################################################################
+
+EAPI=5
+
+RESTRICT="test" #require jardiff
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+MY_PV=v"${PV}"
+MY_P="${PN}"-"${MY_PV}"
+
+DESCRIPTION="GlueGen is a tool which automatically generates the Java and JNI
+code necessary to call C libraries"
+HOMEPAGE="http://jogamp.org/gluegen/www/"
+SRC_URI="http://jogamp.org/deployment/archive/rc/${MY_PV}/archive/Sources/${MY_P}.tar.7z"
+
+LICENSE="BSD"
+SLOT="2.2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/ant-core:0
+ dev-java/antlr:0"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ app-arch/p7zip
+ dev-java/ant-antlr:0
+ dev-java/ant-contrib:0
+ dev-java/ant-nodeps:0
+ dev-java/cpptasks:0
+ test? ( dev-java/junit:4 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ default
+ unpack ./${MY_P}.tar
+}
+
+java_prepare() {
+ rm -rf make/lib
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+EANT_BUILD_XML="make/build.xml"
+EANT_BUILD_TARGET="init gluegen.build.java gluegen.build.c tag.build"
+EANT_TEST_TARGET="junit.run"
+EANT_DOC_TARGET=""
+EANT_GENTOO_CLASSPATH="antlr,ant-core"
+EANT_NEEDS_TOOLS="yes"
+EANT_ANT_TASKS="ant-antlr ant-contrib ant-nodeps cpptasks"
+
+src_configure() {
+ use test && EANT_GENTOO_CLASSPATH+=",junit-4"
+ default
+}
+
+src_compile() {
+ # FIXME don't copy around jars
+ EANT_EXTRA_ARGS+=" -Dantlr.jar=\"$(java-pkg_getjar --build-only antlr antlr.jar)\""
+ java-pkg-2_src_compile
+}
+
+src_test() {
+ EANT_EXTRA_ARGS+=" -Djunit.jar=\"$(java-pkg_getjar --build-only junit-4 junit.jar)\""
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar build/${PN}{,-rt}.jar
+ java-pkg_doso build/obj/*.so
+
+ use doc && dohtml -r doc/manual
+ use source && java-pkg_dosrc src/java/*
+
+ # for building jogl
+ insinto /usr/share/${PN}-${SLOT}/make
+ doins -r make/*
+ insinto /usr/share/${PN}-${SLOT}/build
+ doins build/artifact.properties
+}
next reply other threads:[~2015-04-03 17:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 17:49 Guillaume Horel [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-03 9:25 [gentoo-commits] proj/sci:master commit in: dev-java/gluegen/ Andrew Ammerlaan
2021-03-03 9:20 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2020-09-25 7:39 Horea Christian
2015-04-03 17:53 Guillaume Horel
2014-11-05 7:24 Justin Lecher
2013-11-16 17:00 Guillaume Horel
2013-10-28 5:40 Guillaume Horel
2013-02-03 15:19 Guillaume Horel
2012-05-29 17:39 Sebastien Fabbro
2012-05-17 8:11 Justin Lecher
2012-05-14 23:55 Sebastien Fabbro
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=1428083253.ea46f7f8050b73658746463bb42b59d5ea2c127c.guillaume_horel@gentoo \
--to=guillaume.horel@gmail.com \
--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