diff options
author | dakkar <dakkar@thenautilus.net> | 2009-09-06 09:56:27 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-09-06 09:57:18 +0200 |
commit | b2b20500aa527b9a13619e49094c4baf35dc28eb (patch) | |
tree | 9e551ae8b4bf6092010a7af6a8e5859c8b8e74aa /media-gfx/aoi | |
parent | new version (diff) | |
download | gentoo-overlay-b2b20500aa527b9a13619e49094c4baf35dc28eb.tar.gz gentoo-overlay-b2b20500aa527b9a13619e49094c4baf35dc28eb.tar.bz2 gentoo-overlay-b2b20500aa527b9a13619e49094c4baf35dc28eb.zip |
ebuild for aoi 2.7.2
the ebuild for jogl 2.0 is in-progress
Diffstat (limited to 'media-gfx/aoi')
-rw-r--r-- | media-gfx/aoi/Manifest | 7 | ||||
-rw-r--r-- | media-gfx/aoi/aoi-2.7.2.ebuild | 49 | ||||
-rw-r--r-- | media-gfx/aoi/files/aoi | 31 |
3 files changed, 87 insertions, 0 deletions
diff --git a/media-gfx/aoi/Manifest b/media-gfx/aoi/Manifest new file mode 100644 index 0000000..9002e3f --- /dev/null +++ b/media-gfx/aoi/Manifest @@ -0,0 +1,7 @@ +AUX aoi 857 RMD160 4d4f4b66db5c45416d0d457e0b4a44caf105f5c7 SHA1 731546ae56028377508c0faa23fd3e7dc080e808 SHA256 f1da30c09e81271c31e42129fd0b3e5278cfcb712e81e4b7f21a901376841132 +DIST aoi272.zip 4733701 RMD160 8e93eef97ff8d89be560e2f75326ca4485eaf70a SHA1 f1632920dfc7e06878838ecabefd1bd89b16ec10 SHA256 d5850d13f8fda8f7708676492c9bc9e3471889a7f19f28cae6f1e191de17325e +DIST manual2.6.zip 13402007 RMD160 d85bce51fe164f41886bdfc4435d661fdad55b16 SHA1 910b0f583d4e5d26249d916304aa621c796ab41b SHA256 b99d249af1e578ebaaa6e4270eed8062e4c9cd2f50e60cd2c26f646076d575e0 +EBUILD aoi-2.7.2.ebuild 1215 RMD160 1ef89969ce01c52e73ae47a3f6525fc8d2abc1e9 SHA1 e6952f89880ddfd906bd63a9df9b8f1f0a208d2a SHA256 eb51395f7e1123b1cb40d6ac23d8689cd51d1feee8c45d169d6ce1c7eb9a5442 +MISC ChangeLog 3315 RMD160 377efed015a6c760e6f2c19772b4cd78b9a06f28 SHA1 6d841dfbe4a0e55fee1e39ede5bc9ac2b0e56c79 SHA256 96e0ff1830b826f3d4f8bf8d9a28e843cab6a55353ec5d2df129c6c35a31b23b +MISC aoi-2.7.2.ebuild~ 1213 RMD160 f55ae96b8bc1c0df5308a4237dbc84f08f096f78 SHA1 9b89b980b18461ec38b3a591a1f609f997ebe9f1 SHA256 32e6e9aafabefd12472814873452972c42d8c6bccfad53ebc9d0dbf6376900c1 +MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 diff --git a/media-gfx/aoi/aoi-2.7.2.ebuild b/media-gfx/aoi/aoi-2.7.2.ebuild new file mode 100644 index 0000000..acd1fe1 --- /dev/null +++ b/media-gfx/aoi/aoi-2.7.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/aoi/aoi-2.5.ebuild,v 1.3 2009/03/14 11:56:48 maekke Exp $ + +inherit java-pkg-2 eutils + +MY_P="aoi272" +MY_MANUAL_V="2.6" +S="${WORKDIR}/ArtOfIllusion272" +DESCRIPTION="A free, open-source 3D modelling and rendering studio." +SRC_URI="mirror://sourceforge/aoi/${MY_P}.zip + doc? ( mirror://sourceforge/aoi/manual${MY_MANUAL_V}.zip )" +HOMEPAGE="http://aoi.sourceforge.net/index" +KEYWORDS="~amd64 ~ppc x86" +LICENSE="GPL-2" +SLOT="0" +DEPEND="app-arch/unzip" +RDEPEND=">=virtual/jre-1.5" +IUSE="doc" + +src_install() { + # documentation + dodoc HISTORY README + if use doc ; then + mv "${WORKDIR}"/AoI\ Manual/ "${WORKDIR}"/aoi_manual + dohtml -r "${WORKDIR}"/aoi_manual/ + fi + + # main app + java-pkg_dojar ArtOfIllusion.jar + + # run script + java-pkg_dolauncher aoi \ + --jar ArtOfIllusion.jar \ + --java_args -Xmx128M + + # plugins + mv Plugins "${D}"/usr/share/${PN}/lib + + # scripts + mv Scripts "${D}"/usr/share/${PN}/lib + + # icon + mv Icons/64x64.png Icons/aoi.png + doicon Icons/aoi.png + + # desktop entry + make_desktop_entry aoi "Art of Illusion" /usr/share/pixmaps/aoi.png "Graphics" +} diff --git a/media-gfx/aoi/files/aoi b/media-gfx/aoi/files/aoi new file mode 100644 index 0000000..2b9f939 --- /dev/null +++ b/media-gfx/aoi/files/aoi @@ -0,0 +1,31 @@ +#!/bin/sh +# Art Of Illusion Launch Script +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/aoi/files/aoi,v 1.3 2004/07/18 03:32:02 dragonheart Exp $ + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="${CLASSPATH}:`/usr/bin/java-config --classpath=aoi`" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +${JAVA_HOME}/bin/java -Xmx128M -jar /usr/share/aoi/lib/ArtOfIllusion.jar $* |