diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-30 01:51:05 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-30 01:51:05 +0000 |
commit | 2542a35b619a8e8b710e5fd89eb9959cf80b164a (patch) | |
tree | 24084e9117676f3ccd43df7b0a14b1961ed87b41 /media-gfx | |
parent | Yet another gcc2 fix closing bug #49427. Thanks again Tristan. (Manifest rec... (diff) | |
download | gentoo-2-2542a35b619a8e8b710e5fd89eb9959cf80b164a.tar.gz gentoo-2-2542a35b619a8e8b710e5fd89eb9959cf80b164a.tar.bz2 gentoo-2-2542a35b619a8e8b710e5fd89eb9959cf80b164a.zip |
Initial ebuild by me.
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/pixie/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/pixie/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/pixie/files/digest-pixie-1.3.5 | 1 | ||||
-rw-r--r-- | media-gfx/pixie/files/pixie-1.3.5-Makefile.patch | 26 | ||||
-rw-r--r-- | media-gfx/pixie/files/pixie-1.3.5-math.patch | 47 | ||||
-rw-r--r-- | media-gfx/pixie/metadata.xml | 9 | ||||
-rw-r--r-- | media-gfx/pixie/pixie-1.3.5.ebuild | 39 |
7 files changed, 134 insertions, 0 deletions
diff --git a/media-gfx/pixie/ChangeLog b/media-gfx/pixie/ChangeLog new file mode 100644 index 000000000000..09f3a2236566 --- /dev/null +++ b/media-gfx/pixie/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-gfx/pixie +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.1 2004/04/30 01:51:05 eradicator Exp $ + +*pixie-1.3.5 (29 Apr 2004) + + 29 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml, + pixie-1.3.5.ebuild: + Initial ebuild by me. + diff --git a/media-gfx/pixie/Manifest b/media-gfx/pixie/Manifest new file mode 100644 index 000000000000..3deb10d5b8e7 --- /dev/null +++ b/media-gfx/pixie/Manifest @@ -0,0 +1,2 @@ +MD5 4bec5c52553d8c061b0797e2a88df023 pixie-1.3.5.ebuild 585 +MD5 c3ecef6a787c76274c3123507835c714 files/digest-pixie-1.3.5 65 diff --git a/media-gfx/pixie/files/digest-pixie-1.3.5 b/media-gfx/pixie/files/digest-pixie-1.3.5 new file mode 100644 index 000000000000..fbafc3db7e82 --- /dev/null +++ b/media-gfx/pixie/files/digest-pixie-1.3.5 @@ -0,0 +1 @@ +MD5 244a168fe7942d449566c8ad15e6caf9 Pixie-src-1.3.5.tgz 4269413 diff --git a/media-gfx/pixie/files/pixie-1.3.5-Makefile.patch b/media-gfx/pixie/files/pixie-1.3.5-Makefile.patch new file mode 100644 index 000000000000..688f9c931a11 --- /dev/null +++ b/media-gfx/pixie/files/pixie-1.3.5-Makefile.patch @@ -0,0 +1,26 @@ +--- Makefile.am.orig 2004-04-29 16:49:45.000000000 -0700 ++++ Makefile.am 2004-04-29 17:06:12.000000000 -0700 +@@ -1,9 +1,5 @@ + SUBDIRS = src + +-topdir = $(prefix) +- +-top_DATA = README AUTHORS LICENSE COPYING +- + EXTRA_DIST = Pixie.dsw Pixie.ncb Pixie.opt DEVNOTES LICENSE makeclean.bat makeinst.bat tutorials win32inst + + dist-hook: +@@ -11,11 +7,6 @@ + cp -rf $(srcdir)/shaders $(distdir) + + install-data-local: +- cp -rf $(srcdir)/doc $(prefix) +- cp -rf $(srcdir)/shaders $(prefix) +- +- +- +- +- ++ @INSTALL@ -d $(DESTDIR)$(datadir)/doc/pixie && cp -rf $(srcdir)/doc/. $(DESTDIR)$(datadir)/doc/pixie ++ @INSTALL@ -d $(DESTDIR)$(libdir)/shaders && cp -rf $(srcdir)/shaders/. $(DESTDIR)$(libdir)/shaders + diff --git a/media-gfx/pixie/files/pixie-1.3.5-math.patch b/media-gfx/pixie/files/pixie-1.3.5-math.patch new file mode 100644 index 000000000000..18366104e2fc --- /dev/null +++ b/media-gfx/pixie/files/pixie-1.3.5-math.patch @@ -0,0 +1,47 @@ +--- src/common/global.h.orig 2004-04-29 17:30:45.000000000 -0700 ++++ src/common/global.h 2004-04-29 17:33:40.000000000 -0700 +@@ -47,6 +47,8 @@ + #ifndef GLOBAL_H + #define GLOBAL_H + ++#include <math.h> ++ + // The Pixie version + #define VERSION_RELEASE 1 + #define VERSION_BETA 3 +@@ -54,21 +56,33 @@ + + // Come constant definitions + // Math constants ++#ifndef INFINITY + #define INFINITY (float) 1e30 +-#define EPSILON (float) 1e-6 ++#endif + ++#define EPSILON (float) 1e-6 + + // The most famous number + #ifndef PI ++#ifdef M_PI ++#define PI M_PI ++#else + #define PI (float) 3.141592653589793238462643383279502884197169399375105820974944592308 ++#endif ++#endif ++ ++#ifndef DOUBLE_PI ++#ifdef M_PIl ++#define DOUBLE_PI M_PIl ++#else + #define DOUBLE_PI 3.141592653589793238462643383279502884197169399375105820974944592308 + #endif ++#endif + + // Logic constants + #define TRUE 1 + #define FALSE 0 + +- + // Misc Options and Attributes constants + #ifdef min + #undef min diff --git a/media-gfx/pixie/metadata.xml b/media-gfx/pixie/metadata.xml new file mode 100644 index 000000000000..b61685c8cc99 --- /dev/null +++ b/media-gfx/pixie/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>eradicator@gentoo.org</email> + <name>Jeremy Huddleston</name> +</maintainer> +</pkgmetadata> diff --git a/media-gfx/pixie/pixie-1.3.5.ebuild b/media-gfx/pixie/pixie-1.3.5.ebuild new file mode 100644 index 000000000000..42b4a0c612e4 --- /dev/null +++ b/media-gfx/pixie/pixie-1.3.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-1.3.5.ebuild,v 1.1 2004/04/30 01:51:05 eradicator Exp $ + +inherit eutils + +IUSE="" + +MY_PN="Pixie" +S="${WORKDIR}/${MY_PN}" + +DESCRIPTION="RenderMan like photorealistic renderer." +HOMEPAGE="http://pixie.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz" +RESTRICT="nomirror" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" + +RDEPEND="" +DEPEND="sys-devel/automake" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-math.patch + epatch ${FILESDIR}/${P}-Makefile.patch + WANT_AUTOMAKE=1.4 automake +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog DEVNOTES NEWS README + + mv ${D}/usr/share/doc/pixie ${D}/usr/share/doc/${PF}/html +} |