summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-08-20 09:45:31 +0000
committerLuca Barbato <lu_zero@gentoo.org>2005-08-20 09:45:31 +0000
commit6026b400ba4ee7d366bc100c9548111a0431fa1a (patch)
treeaa1f875e286f1e5648a03771a71143b0269e3607 /media-gfx
parentrevision bump to force pic static libraries (bug #96022) (diff)
downloadhistorical-6026b400ba4ee7d366bc100c9548111a0431fa1a.tar.gz
historical-6026b400ba4ee7d366bc100c9548111a0431fa1a.tar.bz2
historical-6026b400ba4ee7d366bc100c9548111a0431fa1a.zip
New version
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/yafray/ChangeLog5
-rw-r--r--media-gfx/yafray/Manifest9
-rw-r--r--media-gfx/yafray/files/digest-yafray-0.0.81
-rw-r--r--media-gfx/yafray/files/yafray-0.0.8-scons.patch24
-rw-r--r--media-gfx/yafray/yafray-0.0.8.ebuild44
5 files changed, 79 insertions, 4 deletions
diff --git a/media-gfx/yafray/ChangeLog b/media-gfx/yafray/ChangeLog
index 8874d07f7cbb..130f5e4671be 100644
--- a/media-gfx/yafray/ChangeLog
+++ b/media-gfx/yafray/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/yafray
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.19 2005/06/14 13:48:33 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.20 2005/08/20 09:45:31 lu_zero Exp $
+
+ 15 Aug 2005; Luca Barbato <lu_zero@gentoo.org> ChangeLog:
+ New version, thanks to Joshua Leach <leachj@cae.wisc.edu> for the ebuild
14 Jun 2005; Ferris McCormick <fmccor@gentoo.org> yafray-0.0.7.ebuild:
Add ~sparc keyword. Builds and appears to run on sparc ---
diff --git a/media-gfx/yafray/Manifest b/media-gfx/yafray/Manifest
index 11207919038d..758878317a0b 100644
--- a/media-gfx/yafray/Manifest
+++ b/media-gfx/yafray/Manifest
@@ -1,10 +1,13 @@
-MD5 bf6cc83f2d00f45d1bae21d497a9d94c ChangeLog 2393
MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161
+MD5 0375741f63f4b168009b9b4e16b62788 yafray-0.0.8.ebuild 1044
MD5 6cd6b3531914a358df0c6698b3ecae0d yafray-0.0.4.ebuild 807
+MD5 1d298f0f70ab0deaad5e47fcd1db8923 ChangeLog 2530
MD5 b315768a4a14f5e70d56b63a05faf729 yafray-0.0.6.ebuild 951
MD5 a998d11d232890b45f990edea55e4fa5 yafray-0.0.7.ebuild 995
-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 78f9242de2b0493dab84891fe6c9e2eb files/yafray-0.0.8-scons.patch 782
MD5 7b50d20a15ce12bca91f1354401f1351 files/yafray-0.0.7-scons.patch 866
MD5 6990e835f5744cd54dbc5afb80a05f34 files/yafray-gcc34-fix.gz 1190
+MD5 b99ce19d58e373fa5dd2529e24bb3bfc files/digest-yafray-0.0.8 64
+MD5 9eb9f2e8a635d14ca7d085f6a0f271d0 files/digest-yafray-0.0.4 64
+MD5 3c992b5abf43533014483fbe73ec18a7 files/digest-yafray-0.0.6 64
diff --git a/media-gfx/yafray/files/digest-yafray-0.0.8 b/media-gfx/yafray/files/digest-yafray-0.0.8
new file mode 100644
index 000000000000..ed7d741c1aeb
--- /dev/null
+++ b/media-gfx/yafray/files/digest-yafray-0.0.8
@@ -0,0 +1 @@
+MD5 779e614182bf856b959e3c7552a24d0f yafray-0.0.8.tar.gz 304717
diff --git a/media-gfx/yafray/files/yafray-0.0.8-scons.patch b/media-gfx/yafray/files/yafray-0.0.8-scons.patch
new file mode 100644
index 000000000000..5cd83faa89dc
--- /dev/null
+++ b/media-gfx/yafray/files/yafray-0.0.8-scons.patch
@@ -0,0 +1,24 @@
+diff -urN /tmp/yafray-0.0.8.orig/SConstruct /tmp/yafray-0.0.8/SConstruct
+--- /tmp/yafray-0.0.8.orig/SConstruct 2005-06-23 08:51:07.000000000 -0500
++++ /tmp/yafray-0.0.8/SConstruct 2005-07-27 23:03:19.954945984 -0500
+@@ -3,6 +3,7 @@
+ import configio
+ import globalinfo
+
++destdir=ARGUMENTS.get('destdir','')
+ prefix=ARGUMENTS.get('prefix','/usr/local')
+
+ ficheros = {
+@@ -59,6 +60,12 @@
+ shared_env=confer.derive_shared_env(common_env)
+ plugin_env=confer.derive_plugin_env(common_env)
+ program_env=confer.derive_program_env(common_env)
++shared_env.SConsignFile(".sconsign")
++
++config.pluginpath=destdir+config.pluginpath
++config.binpath=destdir+config.binpath
++config.confpath=destdir+config.confpath
++config.libpath=destdir+config.libpath
+
+ Export('config')
+ Export('shared_env')
diff --git a/media-gfx/yafray/yafray-0.0.8.ebuild b/media-gfx/yafray/yafray-0.0.8.ebuild
new file mode 100644
index 000000000000..9ace4f8ced23
--- /dev/null
+++ b/media-gfx/yafray/yafray-0.0.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/yafray-0.0.8.ebuild,v 1.1 2005/08/20 09:45:31 lu_zero Exp $
+
+inherit eutils python
+
+DESCRIPTION="Yet Another Free Raytracer"
+HOMEPAGE="http://www.yafray.org/"
+SRC_URI="http://www.yafray.org/sec/2/downloads/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/jpeg
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-3.3
+ >=sys-apps/sed-4
+ dev-util/scons"
+
+export WANT_AUTOMAKE="1.7"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ libtoolize --copy --force
+ epatch ${FILESDIR}/${P}-scons.patch
+ # Dirty hack for a dirty buildsystem.
+ sed -i -e "s:-O3:${CXXFLAGS} -fsigned-char:g" *-settings.py
+}
+
+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"
+}