summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-18 21:48:10 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-18 21:48:10 +0000
commitab3e247e8ebcbd3e8c2b1622375730235b5fe3ac (patch)
treeb11f4c8befdf04bed70ce6583df5116e6e16c159 /media-libs
parentbump (diff)
downloadhistorical-ab3e247e8ebcbd3e8c2b1622375730235b5fe3ac.tar.gz
historical-ab3e247e8ebcbd3e8c2b1622375730235b5fe3ac.tar.bz2
historical-ab3e247e8ebcbd3e8c2b1622375730235b5fe3ac.zip
bump
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/openvrml/Manifest4
-rw-r--r--media-libs/openvrml/files/digest-openvrml-0.14.11
-rw-r--r--media-libs/openvrml/openvrml-0.14.1.ebuild45
3 files changed, 48 insertions, 2 deletions
diff --git a/media-libs/openvrml/Manifest b/media-libs/openvrml/Manifest
index 9be52fc4be82..b900ba9e0f54 100644
--- a/media-libs/openvrml/Manifest
+++ b/media-libs/openvrml/Manifest
@@ -1,5 +1,5 @@
-MD5 f87294ccb65eb3325904482c8552d19b openvrml-0.14.1.ebuild 942
-MD5 d01eddeb4749b1247db7cc644d264913 ChangeLog 396
+MD5 85ad9bf80c52335a919d559832ebd000 openvrml-0.14.1.ebuild 943
+MD5 2d0c29ff5c171815cc9e2bf5d7384993 ChangeLog 510
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
diff --git a/media-libs/openvrml/files/digest-openvrml-0.14.1 b/media-libs/openvrml/files/digest-openvrml-0.14.1
new file mode 100644
index 000000000000..7f49624483a0
--- /dev/null
+++ b/media-libs/openvrml/files/digest-openvrml-0.14.1
@@ -0,0 +1 @@
+MD5 7c9469a8151c5ad92218eed493e4188f openvrml-0.14.1.tar.gz 2868955
diff --git a/media-libs/openvrml/openvrml-0.14.1.ebuild b/media-libs/openvrml/openvrml-0.14.1.ebuild
new file mode 100644
index 000000000000..92fdfbf5f554
--- /dev/null
+++ b/media-libs/openvrml/openvrml-0.14.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+IUSE="jpeg png"
+
+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/opengl
+ sys-libs/zlib
+ media-libs/glut
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/jpeg )"
+
+# TODO: add support for java via libmozjs (http://www.mozilla.org/js/spidermonkey/)
+
+src_compile() {
+
+ use png \
+ && myconf="${myconf} --with-libpng" \
+ || myconf="${myconf} --without-libpng"
+
+ use jpeg \
+ && myconf="${myconf} --with-libjpeg" \
+ || myconf="${myconf} --without-libjpeg"
+
+ ./configure --with-x --prefix=/usr --without-mozjs ${myconf} || die
+
+ make || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS
+
+}