diff options
author | 2007-10-21 13:39:55 +0000 | |
---|---|---|
committer | 2007-10-21 13:39:55 +0000 | |
commit | f0cdc2eb529cec6ecfa0f6b3c0a970958a5b8bc2 (patch) | |
tree | b2f779ae15d59904fa022308741fab6385452104 /media-libs/coin/coin-2.5.0.ebuild | |
parent | Remove old version (diff) | |
download | gentoo-2-f0cdc2eb529cec6ecfa0f6b3c0a970958a5b8bc2.tar.gz gentoo-2-f0cdc2eb529cec6ecfa0f6b3c0a970958a5b8bc2.tar.bz2 gentoo-2-f0cdc2eb529cec6ecfa0f6b3c0a970958a5b8bc2.zip |
Version bump.
(Portage version: 2.1.3.15)
Diffstat (limited to 'media-libs/coin/coin-2.5.0.ebuild')
-rw-r--r-- | media-libs/coin/coin-2.5.0.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/media-libs/coin/coin-2.5.0.ebuild b/media-libs/coin/coin-2.5.0.ebuild new file mode 100644 index 000000000000..547e1252f533 --- /dev/null +++ b/media-libs/coin/coin-2.5.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-2.5.0.ebuild,v 1.1 2007/10/21 13:39:55 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="~amd64 ~ppc ~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? ( x11-libs/libXt x11-libs/libXext ) + zlib? ( sys-libs/zlib )" + # java? ( virtual/jdk ) + # javascript? ( dev-lang/spidermonkey ) +DEPEND="${RDEPEND} + 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 \ + --enable-symbols \ + $(use_enable debug) \ + $(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 "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS NEWS README* RELNOTES THANKS + + # Waiting for a maintainer to fix, see #117756. + rm -f "${D}"/usr/share/man/man3/_var_tmp* "${D}"/usr/sharedoc/coin-2.4.4/html/dir__* +} |