From b2b20500aa527b9a13619e49094c4baf35dc28eb Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 6 Sep 2009 09:56:27 +0200 Subject: ebuild for aoi 2.7.2 the ebuild for jogl 2.0 is in-progress --- media-gfx/aoi/aoi-2.7.2.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 media-gfx/aoi/aoi-2.7.2.ebuild (limited to 'media-gfx/aoi/aoi-2.7.2.ebuild') 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" +} -- cgit v1.2.3