summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-11-22 20:34:21 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-11-22 20:34:21 +0000
commite84797cb37b1a79cf35ecba9581de41645116920 (patch)
tree9686dc64ba1df8db519f08e9800369f6216abbaa /media-libs/openvrml
parentdisable parallel makes (diff)
downloadhistorical-e84797cb37b1a79cf35ecba9581de41645116920.tar.gz
historical-e84797cb37b1a79cf35ecba9581de41645116920.tar.bz2
historical-e84797cb37b1a79cf35ecba9581de41645116920.zip
bump
Diffstat (limited to 'media-libs/openvrml')
-rw-r--r--media-libs/openvrml/ChangeLog7
-rw-r--r--media-libs/openvrml/Manifest4
-rw-r--r--media-libs/openvrml/files/digest-openvrml-0.14.31
-rw-r--r--media-libs/openvrml/openvrml-0.14.3.ebuild78
4 files changed, 88 insertions, 2 deletions
diff --git a/media-libs/openvrml/ChangeLog b/media-libs/openvrml/ChangeLog
index 934fd2be8a15..528557366d81 100644
--- a/media-libs/openvrml/ChangeLog
+++ b/media-libs/openvrml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/openvrml
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openvrml/ChangeLog,v 1.6 2003/10/21 11:42:21 brandy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openvrml/ChangeLog,v 1.7 2003/11/22 20:34:16 lanius Exp $
+
+*openvrml-0.14.3 (22 Nov 2003)
+
+ 22 Nov 2003; Heinrich Wendel <lanius@gentoo.org> openvrml-0.14.3.ebuild:
+ bump
22 Oct 2003; Brandy Westcott brandy@gentoo.org openvrml-0.14.1.ebuild:
An OpenVRML overhaul. Optional functionality can now be specified through USE
diff --git a/media-libs/openvrml/Manifest b/media-libs/openvrml/Manifest
index 5f2932390f38..cbdfe716ea4c 100644
--- a/media-libs/openvrml/Manifest
+++ b/media-libs/openvrml/Manifest
@@ -1,5 +1,7 @@
MD5 3c765852a04677894bd036fd2ec7628c openvrml-0.14.1.ebuild 2079
-MD5 51955f1db9e52a84dfd062d464445fea ChangeLog 717
+MD5 cb58d07661e39a626efc20e799741536 openvrml-0.14.3.ebuild 2079
+MD5 f856390225f1cb60415a9fb45258f46f ChangeLog 832
MD5 06b0e40e66ea3872e8517e8331b0a1c7 openvrml-0.11.2.ebuild 1063
MD5 1809eaa3f4dfdf64908639f65510c4ed files/digest-openvrml-0.11.2 67
MD5 929bedd2d3187b0a4243958201862a0b files/digest-openvrml-0.14.1 68
+MD5 71922a636a8e7fa0ff7dc645a8b304ee files/digest-openvrml-0.14.3 68
diff --git a/media-libs/openvrml/files/digest-openvrml-0.14.3 b/media-libs/openvrml/files/digest-openvrml-0.14.3
new file mode 100644
index 000000000000..921b07d208f1
--- /dev/null
+++ b/media-libs/openvrml/files/digest-openvrml-0.14.3
@@ -0,0 +1 @@
+MD5 43d4015a98c7e2479e1164184da0e8e6 openvrml-0.14.3.tar.gz 2996458
diff --git a/media-libs/openvrml/openvrml-0.14.3.ebuild b/media-libs/openvrml/openvrml-0.14.3.ebuild
new file mode 100644
index 000000000000..fae3e6ef1266
--- /dev/null
+++ b/media-libs/openvrml/openvrml-0.14.3.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openvrml/openvrml-0.14.3.ebuild,v 1.1 2003/11/22 20:34:16 lanius Exp $
+
+IUSE="zlib png jpeg truetype javascript java opengl doc"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="VRML97 library"
+SRC_URI="http://telia.dl.sourceforge.net/sourceforge/openvrml/${P}.tar.gz"
+HOMEPAGE="http://openvrml.org"
+
+SLOT="0"
+LICENSE="LGPL-2.1 GPL-2"
+KEYWORDS="~x86 ~sparc"
+
+DEPEND="virtual/x11
+ app-doc/doxygen
+ zlib? ( sys-libs/zlib )
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/jpeg )
+ text? ( media-libs/freetype media-libs/fontconfig )
+ javascript? ( net-www/mozilla )
+ java? ( virtual/jdk )
+ opengl? ( virtual/opengl virtual/glut )"
+
+# TODO: add support for java via libmozjs (http://www.mozilla.org/js/spidermonkey/)
+
+pkg_setup() {
+
+ if ! use jpeg || ! use png ; then
+ einfo
+ einfo "OpenVRML will *not* be built with ImageTexture support."
+ einfo "Both 'png' and 'jpeg' must be enabled in USE flags for ImageTexture support."
+ einfo
+ fi
+}
+
+src_compile() {
+
+ local myconf=""
+
+ use zlib \
+ && myconf="${myconf} --enable-gzip" \
+ || myconf="${myconf} --disable-gzip"
+
+ use png && use jpeg \
+ && myconf="${myconf} --enable-imagetexture-node" \
+ || myconf="${myconf} --disable-imagetexture-node"
+
+ use truetype \
+ && myconf="${myconf} --enable-text-node" \
+ || myconf="${myconf} --disable-text-node"
+
+ use javascript \
+ && myconf="${myconf} --enable-script-node-javascript" \
+ || myconf="${myconf} --disable-script-node-javascript"
+
+ use java \
+ && myconf="${myconf} --enable-script-node-java" \
+ || myconf="${myconf} --disable-script-node-java"
+
+ use opengl \
+ && myconf="${myconf} --enable-gl-renderer --enable-lookat" \
+ || myconf="${myconf} --disable-gl-renderer --disable-lookat"
+
+ ./configure --with-x --prefix=/usr ${myconf} || die "configure failed"
+
+ make || die "make failed"
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ dodoc AUTHORS COPYING* ChangeLog INSTALL NEWS README THANKS
+
+}