summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-01-01 14:58:52 +0000
committerMarkus Meier <maekke@gentoo.org>2008-01-01 14:58:52 +0000
commit8286a11d2feb0be473686d8fe8339ca67162c765 (patch)
tree69c947054da6a41fc8decea52d6d2264512553b5 /media-gfx/yafray
parentx86 stable, bug #202771 (diff)
downloadgentoo-2-8286a11d2feb0be473686d8fe8339ca67162c765.tar.gz
gentoo-2-8286a11d2feb0be473686d8fe8339ca67162c765.tar.bz2
gentoo-2-8286a11d2feb0be473686d8fe8339ca67162c765.zip
revision bump, fixes bug #137603 and quotes
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-gfx/yafray')
-rw-r--r--media-gfx/yafray/ChangeLog10
-rw-r--r--media-gfx/yafray/files/digest-yafray-0.0.9-r13
-rw-r--r--media-gfx/yafray/files/yafray-0.0.9-etc.patch13
-rw-r--r--media-gfx/yafray/yafray-0.0.9-r1.ebuild52
4 files changed, 76 insertions, 2 deletions
diff --git a/media-gfx/yafray/ChangeLog b/media-gfx/yafray/ChangeLog
index 2e4d7af6b6ab..dadecec9f2d3 100644
--- a/media-gfx/yafray/ChangeLog
+++ b/media-gfx/yafray/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/yafray
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.41 2007/07/01 18:15:48 betelgeuse Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.42 2008/01/01 14:58:51 maekke Exp $
+
+*yafray-0.0.9-r1 (01 Jan 2008)
+
+ 01 Jan 2008; Markus Meier <maekke@gentoo.org>
+ +files/yafray-0.0.9-etc.patch, +yafray-0.0.9-r1.ebuild:
+ revision bump, fixes bug #137603 and quotes
01 Jul 2007; Petteri Räty <betelgeuse@gentoo.org> -yafray-0.0.7.ebuild,
-yafray-0.0.8.ebuild:
diff --git a/media-gfx/yafray/files/digest-yafray-0.0.9-r1 b/media-gfx/yafray/files/digest-yafray-0.0.9-r1
new file mode 100644
index 000000000000..59d123f564c0
--- /dev/null
+++ b/media-gfx/yafray/files/digest-yafray-0.0.9-r1
@@ -0,0 +1,3 @@
+MD5 7365122e0ca6f439988f51e8b4db935c yafray-0.0.9.tar.gz 316033
+RMD160 4bad504cf78e86718869b9ced3967d31ec66a608 yafray-0.0.9.tar.gz 316033
+SHA256 f803e7058fb65cab9c0d00599daa85ca291fb57941822d622426e3466ec0aefb yafray-0.0.9.tar.gz 316033
diff --git a/media-gfx/yafray/files/yafray-0.0.9-etc.patch b/media-gfx/yafray/files/yafray-0.0.9-etc.patch
new file mode 100644
index 000000000000..12d071ab0580
--- /dev/null
+++ b/media-gfx/yafray/files/yafray-0.0.9-etc.patch
@@ -0,0 +1,13 @@
+fix bug #137603
+
+--- linux-settings.py.orig 2008-01-01 15:36:57.000000000 +0100
++++ linux-settings.py 2008-01-01 15:37:10.000000000 +0100
+@@ -15,7 +15,7 @@
+ def get_libpath(args): return prefix+libdir
+ def get_pluginpath(args): return prefix+libdir+"/yafray"
+ def get_binpath(args): return prefix+"/bin"
+-def get_confpath(args): return prefix+"/etc"
++def get_confpath(args): return "/etc"
+ def get_cxxflags(args):
+ debug=args.get('debug',0)
+ arch=args.get('arch','')
diff --git a/media-gfx/yafray/yafray-0.0.9-r1.ebuild b/media-gfx/yafray/yafray-0.0.9-r1.ebuild
new file mode 100644
index 000000000000..68c7e2cd3ce6
--- /dev/null
+++ b/media-gfx/yafray/yafray-0.0.9-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/yafray-0.0.9-r1.ebuild,v 1.1 2008/01/01 14:58:51 maekke Exp $
+
+inherit eutils python multilib
+
+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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="openexr"
+
+RDEPEND="media-libs/jpeg
+ sys-libs/zlib
+ openexr? ( media-libs/openexr )"
+DEPEND="${RDEPEND}
+ >=sys-devel/gcc-3.3
+ >=sys-apps/sed-4
+ dev-util/scons"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-scons.patch
+ epatch "${FILESDIR}"/${P}-libdir.patch
+ epatch "${FILESDIR}"/${P}-etc.patch
+
+ # Dirty hack for a dirty buildsystem.
+ sed -i -e "s:-O3:${CXXFLAGS} -fsigned-char:g" *-settings.py || die
+}
+
+src_compile() {
+ local exr_path=""
+ use openexr && exr_path="/usr"
+
+ scons ${MAKEOPTS} prefix="/usr" \
+ libdir="/$(get_libdir)" \
+ exr_path="$exr_path" || die
+}
+
+src_install() {
+ scons prefix="/usr" destdir="${D}" libdir="/$(get_libdir)" install || die
+
+ find "${D}" -name .sconsign -exec rm \{\} \;
+ dodoc AUTHORS || die
+ dohtml doc/doc.html || die
+}