[Lunar-commits] blender: Change dependency from %GLUT -> %GLX
Stefan Wold
ratler at lunar-linux.org
Sun Dec 9 12:56:56 CET 2007
commit 8b5ce0489b48acddc43628f1a1c7ed03eed169d2
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun Dec 9 12:56:56 2007 +0100
blender: Change dependency from %GLUT -> %GLX
* Made OpenAL optional
* Various cleanups
---
graphics/blender/BUILD | 12 ++++++++----
graphics/blender/DEPENDS | 18 +++++++++---------
graphics/blender/DETAILS | 2 +-
3 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/graphics/blender/BUILD b/graphics/blender/BUILD
index 2e7af92..00c7636 100644
--- a/graphics/blender/BUILD
+++ b/graphics/blender/BUILD
@@ -1,18 +1,22 @@
(
- sedit "s:2.4:2.5:" config/linux2-config.py
+ sedit "s:2.4:2.5:" config/linux2-config.py &&
+
+ if ! module_installed freealut; then
+ sedit "s;WITH_BF_OPENAL = 'true';WITH_BF_OPENAL = 'false';" config/linux2-config.py
+ fi &&
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
+ fi &&
if ! module_installed OpenEXR ; then
sedit "s:WITH_BF_OPENEXR = 'true':WITH_BF_OPENEXR = 'false':" config/linux2-config.py
- fi
+ fi &&
prepare_install &&
- scons LCGDIR=lib BF_BUILDDIR=build BF_INSTALLDIR=/opt/lunar/blender
+ scons LCGDIR=lib BF_BUILDDIR=build BF_INSTALLDIR=/opt/lunar/blender &&
install -m 644 release/freedesktop/icons/32x32/blender.png /usr/share/pixmaps
diff --git a/graphics/blender/DEPENDS b/graphics/blender/DEPENDS
index 7a30dcf..5257115 100644
--- a/graphics/blender/DEPENDS
+++ b/graphics/blender/DEPENDS
@@ -1,11 +1,11 @@
-depends libpng &&
-depends jpeg &&
-depends Python &&
-depends scons &&
-depends SDL &&
-depends %GLUT &&
-depends freealut &&
+depends libpng
+depends jpeg
+depends Python
+depends scons
+depends SDL
+depends %GLX
-optional_depends ode "" "" "for Open Dynamics Engine Support" &&
-optional_depends OpenEXR "" "" "for OpenEXR support" &&
+optional_depends freealut "" "" "for OpenAL support"
+optional_depends ode "" "" "for Open Dynamics Engine Support"
+optional_depends OpenEXR "" "" "for OpenEXR support"
optional_depends yafray "" "" "for Yafray modeling"
diff --git a/graphics/blender/DETAILS b/graphics/blender/DETAILS
index b8ccafd..a4296e0 100644
--- a/graphics/blender/DETAILS
+++ b/graphics/blender/DETAILS
@@ -5,7 +5,7 @@
SOURCE_VFY=sha1:ff66ec5f0129fd04a2ba5c063627ef13033c0598
WEB_SITE=http://www.blender.org/
ENTERED=20030929
- UPDATED=20070919
+ UPDATED=20071209
SHORT="3D editor for modeling, animation, and rendering."
cat << EOF
More information about the Lunar-commits
mailing list