Module submission - blender

V stelzy at gmail.com
Thu Aug 24 21:27:44 UTC 2006


module name       : blender
suggested section : graphics
update (y/n)      : n
bugfix (y/n)      : n
security (y/n)    : n


Fix for working with ode and openexr.. be happy :)

-------------- next part --------------
--- blender/BUILD	2006-08-11 13:01:45.000000000 +0400
+++ blender/BUILD	2006-08-24 23:05:20.573726500 +0400
@@ -1,6 +1,15 @@
 (
 
-prepare_install &&
-scons WITH_BF_OPENEXR=0 LCGDIR=lib BF_BUILDDIR=build BF_INSTALLDIR=/opt/lunar/blender
+  if module_installed ode ; then
+    sedit "s:WITH_BF_ODE = 'false':WITH_BF_ODE = 'true':" config/linux2-config.py
+    sedit "s:BF_ODE = LCGDIR + '/ode':BF_ODE = '/usr':" config/linux2-config.py
+  fi
+
+  if ! module_installed openexr ; then
+    sedit "s:WITH_BF_OPENEXR = 'true':WITH_BF_OPENEXR = 'false':" config/linux2-config.py
+  fi
+
+  prepare_install &&
+  scons LCGDIR=lib BF_BUILDDIR=build BF_INSTALLDIR=/opt/lunar/blender
 
 ) > $C_FIFO 2>&1
--- blender/DEPENDS	2006-08-01 15:02:16.000000000 +0400
+++ blender/DEPENDS	2006-08-24 22:36:43.566420250 +0400
@@ -4,14 +4,7 @@
 depends scons       &&
 depends SDL         &&
 depends freealut    &&
-optional_depends  ode                            \
-                  "--enable-gameblender"         \
-                  "--disable-gameblender"        \
-                  "for the GameBlender engine"  &&
-
-optional_depends  yafray                 \
-                  ""                     \
-                  ""                     \
-                  "for Yafray modeling"
-
 
+optional_depends ode "" "" "for Open Dynamics Engine Support"  &&
+optional_depends openexr "" "" "for OpenEXR support"  &&
+optional_depends yafray "" "" "for Yafray modeling"
--- blender/DETAILS	2006-08-11 13:01:45.000000000 +0400
+++ blender/DETAILS	2006-08-25 01:25:33.031472250 +0400
@@ -5,7 +5,7 @@
       SOURCE_VFY=sha1:242dd751a0cc851c7436eafa73475a11be1aa453 
         WEB_SITE=http://www.blender.org/
          ENTERED=20030929
-         UPDATED=20060811
+         UPDATED=20060825
            SHORT="3D editor for modeling, animation, and rendering."
 
 cat << EOF
-------------- next part --------------
lvu submit blender 112ed173f1a90a4b5d7dc5fcdb4d4b2e  -
2.6.16 2.6.12 gcc-3.4.6 glibc-2.3.6



More information about the Lunar mailing list