aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/scirenderer')
-rw-r--r--dev-java/scirenderer/ChangeLog10
-rw-r--r--dev-java/scirenderer/Manifest1
-rw-r--r--dev-java/scirenderer/metadata.xml8
-rw-r--r--dev-java/scirenderer/scirenderer-0.4.7.ebuild40
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/scirenderer/ChangeLog b/dev-java/scirenderer/ChangeLog
new file mode 100644
index 000000000..9c9d4a59c
--- /dev/null
+++ b/dev-java/scirenderer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/scirenderer
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*scirenderer-0.4.7 (13 Jun 2012)
+
+ 13 Jun 2012; Guillaume Horel <guillaume.horel@gmail.com>
+ +scirenderer-0.4.7.ebuild, +metadata.xml:
+ new ebuild
+
diff --git a/dev-java/scirenderer/Manifest b/dev-java/scirenderer/Manifest
new file mode 100644
index 000000000..ad1e3aaa7
--- /dev/null
+++ b/dev-java/scirenderer/Manifest
@@ -0,0 +1 @@
+DIST scirenderer-0.4.7.tar.gz 105554 RMD160 ae7af5c3e715c5ebde4eb843f1d92f2ff6f754a3 SHA1 fbde25489be94b35b703874fdee38e9dd266ee5c SHA256 dd15bd00c86185fee5a2af9920d8c20b9de21af22feeef2a31a811f16332bb3a SHA512 be550fc51317aa42bcf8587fce5acc5e4ba3cc8dbe7ac367058da62db8b453b997b149907e8c7149863218ecd1f1af91b046d72808d0f31a1669b3099a3fdd4f WHIRLPOOL 544acb2bf4973cb1030008fd63162bbf36e450c027e7018adeb00a19999174ba42383219550feecbae8fac89d8110a9f006c951dd1dfd7c6583bb9d2b54c6844
diff --git a/dev-java/scirenderer/metadata.xml b/dev-java/scirenderer/metadata.xml
new file mode 100644
index 000000000..7b66a0227
--- /dev/null
+++ b/dev-java/scirenderer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ A rendering library for scilab based on JoGL
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-java/scirenderer/scirenderer-0.4.7.ebuild b/dev-java/scirenderer/scirenderer-0.4.7.ebuild
new file mode 100644
index 000000000..3a710e21a
--- /dev/null
+++ b/dev-java/scirenderer/scirenderer-0.4.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A rendering library based on JoGL"
+SRC_URI="http://forge.scilab.org/index.php/p/${PN}/downloads/get/${P}.tar.gz"
+HOMEPAGE="http://forge.scilab.org/index.php/p/scirenderer/"
+
+IUSE="doc source"
+DEPEND=">=virtual/jdk-1.5
+ dev-java/jogl:2
+ dev-java/jlatexmath:0"
+RDEPEND=">=virtual/jre-1.5"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+EANT_DOC_TARGET="doc"
+
+java_prepare() {
+ sed -i \
+ -e "s|jogl2.jar =.*|jogl2.jar =$(java-pkg_getjar jogl-2 jogl.all.jar)|" \
+ -e "s|gluegen2-rt.jar =.*|gluegen2-rt.jar =$(java-pkg_getjar gluegen-2 \
+ gluegen-rt.jar)|" \
+ -e "s|jlatexmath.jar =.*|jlatexmath.jar = $(java-pkg_getjars jlatexmath)|" \
+ scirenderer-libs.properties
+}
+
+src_install() {
+ java-pkg_newjar jar/${P}.jar ${PN}.jar
+ use doc && dodoc -r docs/
+ use source && java-pkg_dosrc src/org
+}