summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-08-08 14:35:15 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-08-08 14:35:15 +0000
commitcbeccd1e4c38dae383b63c4866071eb009bd22cf (patch)
tree53dbeb958e5a7c67911624c35a957d9ce45252c7 /media-gfx/yafray
parentVersion bumped. Closes 59551 (Manifest recommit) (diff)
downloadgentoo-2-cbeccd1e4c38dae383b63c4866071eb009bd22cf.tar.gz
gentoo-2-cbeccd1e4c38dae383b63c4866071eb009bd22cf.tar.bz2
gentoo-2-cbeccd1e4c38dae383b63c4866071eb009bd22cf.zip
New version
Diffstat (limited to 'media-gfx/yafray')
-rw-r--r--media-gfx/yafray/ChangeLog8
-rw-r--r--media-gfx/yafray/Manifest8
-rw-r--r--media-gfx/yafray/files/digest-yafray-0.0.71
-rw-r--r--media-gfx/yafray/files/yafray-0.0.7-scons.patch31
-rw-r--r--media-gfx/yafray/yafray-0.0.7.ebuild43
5 files changed, 87 insertions, 4 deletions
diff --git a/media-gfx/yafray/ChangeLog b/media-gfx/yafray/ChangeLog
index 34b919677de3..bba451c446b7 100644
--- a/media-gfx/yafray/ChangeLog
+++ b/media-gfx/yafray/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/yafray
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.9 2004/06/24 22:54:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.10 2004/08/08 14:35:15 lu_zero Exp $
+
+*yafray-0.0.7 (08 Aug 2004)
+
+ 08 Aug 2004; Luca Barbato <lu_zero@gentoo.org>
+ +files/yafray-0.0.7-scons.patch, +yafray-0.0.7.ebuild:
+ New version
08 Jun 2004; David Holm <dholm@gentoo.org> yafray-0.0.6.ebuild:
Changed DEPEND to require >=gcc-3.3* as 3.2* and older can't compile yafray
diff --git a/media-gfx/yafray/Manifest b/media-gfx/yafray/Manifest
index f7d51ed2e1bc..7fc53bf6cc05 100644
--- a/media-gfx/yafray/Manifest
+++ b/media-gfx/yafray/Manifest
@@ -1,6 +1,8 @@
-MD5 fa68708ae64a6f739572d69c0f97c059 yafray-0.0.4.ebuild 808
-MD5 2be9121602e0ed67774f058e41e0c38d yafray-0.0.6.ebuild 979
MD5 e8dcb5d80370adb1220d1dbcc2468ffb ChangeLog 1193
-MD5 6990e835f5744cd54dbc5afb80a05f34 files/yafray-gcc34-fix.gz 1190
+MD5 2be9121602e0ed67774f058e41e0c38d yafray-0.0.6.ebuild 979
+MD5 2be9121602e0ed67774f058e41e0c38d yafray-0.0.7.ebuild 979
+MD5 fa68708ae64a6f739572d69c0f97c059 yafray-0.0.4.ebuild 808
MD5 9eb9f2e8a635d14ca7d085f6a0f271d0 files/digest-yafray-0.0.4 64
MD5 3c992b5abf43533014483fbe73ec18a7 files/digest-yafray-0.0.6 64
+MD5 1369fb0f3bdcd1b7cbf08c71ded07fca files/digest-yafray-0.0.7 64
+MD5 6990e835f5744cd54dbc5afb80a05f34 files/yafray-gcc34-fix.gz 1190
diff --git a/media-gfx/yafray/files/digest-yafray-0.0.7 b/media-gfx/yafray/files/digest-yafray-0.0.7
new file mode 100644
index 000000000000..0e1c27f55560
--- /dev/null
+++ b/media-gfx/yafray/files/digest-yafray-0.0.7
@@ -0,0 +1 @@
+MD5 680d81f097962ed4a6773dbf09202159 yafray-0.0.7.tar.gz 695231
diff --git a/media-gfx/yafray/files/yafray-0.0.7-scons.patch b/media-gfx/yafray/files/yafray-0.0.7-scons.patch
new file mode 100644
index 000000000000..14e97c4b2fe2
--- /dev/null
+++ b/media-gfx/yafray/files/yafray-0.0.7-scons.patch
@@ -0,0 +1,31 @@
+--- yafray-0.0.7.orig/SConstruct 2004-08-06 15:50:37.000000000 +0200
++++ yafray-0.0.7/SConstruct 2004-08-07 00:00:39.847093968 +0200
+@@ -80,7 +80,7 @@
+ if debug:
+ flags+=' -O3 -ffast-math -ggdb'
+ else:
+- flags+=' -O3 -ffast-math -fomit-frame-pointer'
++ flags+=' -O3 -ffast-math -fomit-frame-pointer -fsigned-char'
+ if debugdll:
+ flags+=' -DDEBUGDLL'
+ if arch!='':
+@@ -154,8 +154,9 @@
+
+ config.write("#endif\n");
+ config.close()
+-
++destdir=ARGUMENTS.get('destdir','')
+ prefix=ARGUMENTS.get('prefix','/usr/local')
++prefix=destdir+prefix
+
+ if sys.platform == 'darwin' :
+ if os.path.isdir('osxpak'):
+@@ -168,7 +169,7 @@
+ lib_path=prefix+"/lib"
+ plugin_path=prefix+"/lib/yafray"
+ bin_path=prefix+"/bin"
+- conf_path=prefix+"/etc"
++ conf_path=destdir+"/etc"
+ else:
+ cwd = os.getcwd()
+ prefix=ARGUMENTS.get('prefix',cwd + os.sep + 'win32pak' )
diff --git a/media-gfx/yafray/yafray-0.0.7.ebuild b/media-gfx/yafray/yafray-0.0.7.ebuild
new file mode 100644
index 000000000000..4dd8dc9ac8a0
--- /dev/null
+++ b/media-gfx/yafray/yafray-0.0.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/yafray-0.0.7.ebuild,v 1.1 2004/08/08 14:35:15 lu_zero Exp $
+
+inherit gcc eutils
+
+DESCRIPTION="Yet Another Free Raytracer"
+HOMEPAGE="http://www.yafray.org/"
+SRC_URI="http://www.coala.uniovi.es/~jandro/noname/downloads/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+RDEPEND="media-libs/jpeg
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-3.3*
+ >=sys-apps/sed-4
+ dev-util/scons"
+
+export WANT_GCC_3="yes"
+export WANT_AUTOMAKE="1.7"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-scons.patch
+ sed -i -e "s:-O3:${CFLAGS}:" SConstruct
+}
+
+src_compile() {
+ scons prefix="/usr" || die
+}
+
+src_install() {
+ scons prefix="/usr" destdir="${D}" install || die
+
+ find ${D} -name .sconsign -exec rm \{\} \;
+ dodoc AUTHORS || die "dodoc failed"
+ dohtml doc/doc.html || die "dohtml failed"
+}