summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandy Westcott <brandy@gentoo.org>2003-11-10 10:57:31 +0000
committerBrandy Westcott <brandy@gentoo.org>2003-11-10 10:57:31 +0000
commit3aacaa24849a2d32f83aefef33bd6d9ad8ffd19a (patch)
tree0a47034c251c37a845f06b634719a53177b279c7
parentInitial package creation (diff)
downloadgentoo-2-3aacaa24849a2d32f83aefef33bd6d9ad8ffd19a.tar.gz
gentoo-2-3aacaa24849a2d32f83aefef33bd6d9ad8ffd19a.tar.bz2
gentoo-2-3aacaa24849a2d32f83aefef33bd6d9ad8ffd19a.zip
Initial import. Closes bug #27101.
-rw-r--r--media-gfx/k3d/ChangeLog10
-rw-r--r--media-gfx/k3d/Manifest5
-rw-r--r--media-gfx/k3d/files/digest-k3d-0.2.5.41
-rw-r--r--media-gfx/k3d/files/k3d-0.2.5.4-gentoo.patch.tar.bz2bin0 -> 7497 bytes
-rw-r--r--media-gfx/k3d/k3d-0.2.5.4.ebuild66
-rw-r--r--media-gfx/k3d/metadata.xml5
6 files changed, 87 insertions, 0 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog
new file mode 100644
index 000000000000..bc5bb94f5d73
--- /dev/null
+++ b/media-gfx/k3d/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/k3d
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.1 2003/11/10 10:57:10 brandy Exp $
+
+*k3d-0.2.5.4 (10 Nov 2003)
+
+ 10 Nov 2003; Brandy Westcott brandy@gentoo.org k3d-0.2.5.4.ebuild:
+ Initial import. Thanks to Marc-Éric Dupuis <baal@megaoctet.net> and Carlo
+ <current@myrealbox.com> for submitting ebuilds. Closes bug #27101.
+
diff --git a/media-gfx/k3d/Manifest b/media-gfx/k3d/Manifest
new file mode 100644
index 000000000000..2b0e34c04961
--- /dev/null
+++ b/media-gfx/k3d/Manifest
@@ -0,0 +1,5 @@
+MD5 ac84a5a7f2f44327841600ea67d4c16f k3d-0.2.5.4.ebuild 1469
+MD5 e1845158f06b77d7116ea7d5a5b3434f ChangeLog 451
+MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
+MD5 e0baf5403904a6b909361f0fdd20271a files/k3d-0.2.5.4-gentoo.patch.tar.bz2 7497
+MD5 86d41f87f2689037989cc31b5d19d700 files/digest-k3d-0.2.5.4 69
diff --git a/media-gfx/k3d/files/digest-k3d-0.2.5.4 b/media-gfx/k3d/files/digest-k3d-0.2.5.4
new file mode 100644
index 000000000000..fee235f197f7
--- /dev/null
+++ b/media-gfx/k3d/files/digest-k3d-0.2.5.4
@@ -0,0 +1 @@
+MD5 5343d39a6120f7b9848f9152230e7d5a k3d-0.2.5.4-src.tar.bz2 3053441
diff --git a/media-gfx/k3d/files/k3d-0.2.5.4-gentoo.patch.tar.bz2 b/media-gfx/k3d/files/k3d-0.2.5.4-gentoo.patch.tar.bz2
new file mode 100644
index 000000000000..7e3995fbb8ab
--- /dev/null
+++ b/media-gfx/k3d/files/k3d-0.2.5.4-gentoo.patch.tar.bz2
Binary files differ
diff --git a/media-gfx/k3d/k3d-0.2.5.4.ebuild b/media-gfx/k3d/k3d-0.2.5.4.ebuild
new file mode 100644
index 000000000000..ffaaed0f7ce4
--- /dev/null
+++ b/media-gfx/k3d/k3d-0.2.5.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.2.5.4.ebuild,v 1.1 2003/11/10 10:57:10 brandy Exp $
+
+IUSE="truetype doc python ruby"
+
+DESCRIPTION="K-3D is a free 3D modeling, animation, and rendering system."
+HOMEPAGE="http://k3d.sourceforge.net"
+SRC_URI="mirror://sourceforge/k3d/${P}-src.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="virtual/x11
+ virtual/opengl
+ virtual/glu
+ >=dev-libs/glib-2.2.1
+ =x11-libs/gtk+-1.2*
+ =dev-libs/libsigc++-1.0*
+ media-libs/plib
+ truetype? ( >=media-libs/freetype-2* )
+ doc? ( app-text/xmlto )
+ python? ( >=dev-lang/python-2.2* )
+ ruby? ( >=dev-lang/ruby-1.6* )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch.tar.bz2
+
+}
+
+src_compile() {
+
+ local myconf="--with-plib --without-graphviz"
+
+ use truetype \
+ && myconf="${myconf} --with-freetype" \
+ || myconf="${myconf} --without-freetype"
+
+ use doc \
+ && myconf="${myconf} --with-docbook" \
+ || myconf="${myconf} --without-docbook"
+
+ use python \
+ && myconf="${myconf} --with-python" \
+ || myconf="${myconf} --without-python"
+
+ use ruby \
+ && myconf="${myconf} --with-ruby=`ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'`" \
+ || myconf="${myconf} --without-ruby"
+
+ econf ${myconf} || die
+
+ emake "CXXFLAGS=${CXXFLAGS}" || die
+
+}
+
+src_install() {
+
+ einstall || die
+ dodoc AUTHORS INSTALL NEWS README TODO
+
+}
diff --git a/media-gfx/k3d/metadata.xml b/media-gfx/k3d/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-gfx/k3d/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>