diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-01-04 17:16:33 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-01-04 17:16:33 +0000 |
commit | cd1ffc0c468a916136a07122f622cdba4977ed6a (patch) | |
tree | cd5ce2b5ca48850bfe15604e091c6eca3e92f341 /media-libs/coin/coin-2.4.4.ebuild | |
parent | Some more ideas with QT. Even though it's now acknowledged by the QT guys tha... (diff) | |
download | gentoo-2-cd1ffc0c468a916136a07122f622cdba4977ed6a.tar.gz gentoo-2-cd1ffc0c468a916136a07122f622cdba4977ed6a.tar.bz2 gentoo-2-cd1ffc0c468a916136a07122f622cdba4977ed6a.zip |
Version bump, bunch of new use flags to reflect the real dependencies.
(Portage version: 2.0.53)
Diffstat (limited to 'media-libs/coin/coin-2.4.4.ebuild')
-rw-r--r-- | media-libs/coin/coin-2.4.4.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/media-libs/coin/coin-2.4.4.ebuild b/media-libs/coin/coin-2.4.4.ebuild new file mode 100644 index 000000000000..8fa251a3dbb8 --- /dev/null +++ b/media-libs/coin/coin-2.4.4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-2.4.4.ebuild,v 1.1 2006/01/04 17:16:33 carlo Exp $ + +inherit eutils + +MY_P=${P/c/C} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Coin3D is a high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1." +HOMEPAGE="http://www.coin3d.org/" +SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${MY_P}.tar.gz" + +LICENSE="|| ( GPL-2 PEL )" +SLOT="0" +KEYWORDS="~x86" +IUSE="bzip2 debug doc fontconfig openal opengl X zlib" # java javascript + +RDEPEND="media-libs/freetype + bzip2? ( app-arch/bzip2 ) + fontconfig? ( media-libs/fontconfig ) + openal? ( media-libs/openal ) + opengl? ( virtual/opengl virtual/glu ) + X? ( virtual/x11 ) + zlib? ( sys-libs/zlib )" + # java? ( virtual/jdk ) + # javascript? ( dev-lang/spidermonkey ) +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_compile() { + # "waiting" for someone needing mesa, instead opengl + # simage currently not in the repository + # java and javascript support fails for differnt reasons + # otherwise hopefully sensible defaults and enough use flags + local myconf="--enable-optimization \ + --enable-3ds-import \ + --enable-vrml97 \ + --enable-man \ + --disable-html-help \ + --without-mesa \ + --without-simage \ + --with-doxygen \ + --with-freetype \ + $(use_enable debug) \ + $(use_enable debug symbols) \ + $(use_enable doc html) \ + $(use_with bzip2) \ + $(use_with fontconfig) \ + $(use_with openal) \ + $(use_with opengl) \ + $(use_with opengl glu) \ + $(use_with X x) \ + $(use_with zlib ) \ + --disable-java-wrapper \ + --disable-javascript-api \ + --without-spidermokey" + # $(use_enable java java-wrapper) \ + # $(use_enable javascript javascript-api) \ + # $(use_with javascript spidermonkey) \ + + econf ${myconf} htmldir=${ROOT}usr/share/doc/${PF}/html || die + emake || die +} + +src_install() { + # Note that this is slightly different from einstall + make DESTDIR=${D} \ + prefix=/usr \ + datadir=/usr/share \ + infodir=/usr/share/info \ + localstatedir=/var/lib \ + mandir=/usr/share/man \ + sysconfdir=/etc \ + install || die "make install failed" + + dodoc AUTHORS COPYING NEWS README* RELEASE RELNOTES THANKS +} |