summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-07-20 13:38:46 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-07-20 13:38:46 +0000
commit6cc77e282e5bb171f785bf3993f189ff990b34bd (patch)
tree07fba8ca633a4f8030bb552b632e9e5c3e58ec13 /media-gfx/yafray/files
parentmedia-gfx/yafray:openexr (diff)
downloadgentoo-2-6cc77e282e5bb171f785bf3993f189ff990b34bd.tar.gz
gentoo-2-6cc77e282e5bb171f785bf3993f189ff990b34bd.tar.bz2
gentoo-2-6cc77e282e5bb171f785bf3993f189ff990b34bd.zip
New version
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'media-gfx/yafray/files')
-rw-r--r--media-gfx/yafray/files/digest-yafray-0.0.93
-rw-r--r--media-gfx/yafray/files/yafray-0.0.9-libdir.patch30
-rw-r--r--media-gfx/yafray/files/yafray-0.0.9-scons.patch25
3 files changed, 58 insertions, 0 deletions
diff --git a/media-gfx/yafray/files/digest-yafray-0.0.9 b/media-gfx/yafray/files/digest-yafray-0.0.9
new file mode 100644
index 000000000000..59d123f564c0
--- /dev/null
+++ b/media-gfx/yafray/files/digest-yafray-0.0.9
@@ -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-libdir.patch b/media-gfx/yafray/files/yafray-0.0.9-libdir.patch
new file mode 100644
index 000000000000..11ceef96110b
--- /dev/null
+++ b/media-gfx/yafray/files/yafray-0.0.9-libdir.patch
@@ -0,0 +1,30 @@
+--- yafray.old/linux-settings.py 2006-07-14 12:14:52.000000000 +0200
++++ yafray/linux-settings.py 2006-07-20 14:38:26.000000000 +0200
+@@ -5,13 +5,15 @@
+
+ srcroot = os.getcwd()
+ prefix = ''
++libdif = ''
+
+ def init(args):
+- global prefix
++ global prefix, libdir
+ prefix = args.get('prefix','/usr/local')
++ libdir = args.get('libdir','/lib')
+
+-def get_libpath(args): return prefix+"/lib"
+-def get_pluginpath(args): return prefix+"/lib/yafray"
++def get_libpath(args): return prefix+libdif
++def get_pluginpath(args): return prefix+libdir+"/yafray"
+ def get_binpath(args): return prefix+"/bin"
+ def get_confpath(args): return prefix+"/etc"
+ def get_cxxflags(args):
+@@ -40,7 +42,7 @@
+ return False
+
+ def get_include(args): return [ exr.PATH + "/include/OpenEXR" ]
+- def get_libpath(args): return [ exr.PATH + "/lib" ]
++ def get_libpath(args): return [ exr.PATH + libdir ]
+ def get_libs(args): return ['IlmImf', 'Imath', 'Iex', 'Half']
+
+ class jpeg(globalinfo.library):
diff --git a/media-gfx/yafray/files/yafray-0.0.9-scons.patch b/media-gfx/yafray/files/yafray-0.0.9-scons.patch
new file mode 100644
index 000000000000..7d286a7c1097
--- /dev/null
+++ b/media-gfx/yafray/files/yafray-0.0.9-scons.patch
@@ -0,0 +1,25 @@
+--- yafray.old/SConstruct 2006-06-20 19:24:00.000000000 +0200
++++ yafray/SConstruct 2006-07-20 14:53:59.000000000 +0200
+@@ -3,6 +3,7 @@
+ import configio
+ import globalinfo
+
++destdir=ARGUMENTS.get('destdir','')
+ prefix=ARGUMENTS.get('prefix','/usr/local')
+
+ ficheros = {
+@@ -36,10 +37,10 @@
+
+ class config:
+ cxxflags = confer.get_cxxflags(A)
+- libpath = confer.get_libpath(A)
+- pluginpath = confer.get_pluginpath(A)
+- binpath = confer.get_binpath(A)
+- confpath = confer.get_confpath(A)
++ libpath = destdir + confer.get_libpath(A)
++ pluginpath = destdir + confer.get_pluginpath(A)
++ binpath = destdir + confer.get_binpath(A)
++ confpath = destdir + confer.get_confpath(A)
+ rootpath = Dir('.').srcnode().abspath
+
+ for name,val in confer.__dict__.items():