summaryrefslogtreecommitdiff
path: root/graphics/mitsuba
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mitsuba')
-rw-r--r--graphics/mitsuba/README15
-rw-r--r--graphics/mitsuba/mitsuba.SlackBuild1
-rw-r--r--graphics/mitsuba/mitsuba.info2
3 files changed, 2 insertions, 16 deletions
diff --git a/graphics/mitsuba/README b/graphics/mitsuba/README
index 59dfbdc6ad..b8500a4739 100644
--- a/graphics/mitsuba/README
+++ b/graphics/mitsuba/README
@@ -14,21 +14,6 @@ http://mitsuba-renderer.org
This SlackBuild uses a git snapshot from 7 Feb 2015.
-BUILDING AND INSTALLING
------------------------
-
-Mitsuba requires libglewmx. Slackware ships with GLEW but it has not been compiled to include libglewmx,
-so you will have to re-compile and re-install it manually.
-
-To do this, get the glew Slackbuild from your install disc (or your nearest Slackware mirror) and the glew source code.
-Compile as normal, but your install line should be:
-
-make install.all GLEW_DEST=$PKG/usr
-(where $PKG is your DESTDIR, which you will run makepkg against)
-
-Install your new version of glew and then build Mitsuba.
-
-
SEE ALSO
--------
There is a handy Mitsuba Blender plugin available from SlackBuilds.org so that you can use Mitsuba as your Blender renderer.
diff --git a/graphics/mitsuba/mitsuba.SlackBuild b/graphics/mitsuba/mitsuba.SlackBuild
index b4eb99141e..6780ef8c79 100644
--- a/graphics/mitsuba/mitsuba.SlackBuild
+++ b/graphics/mitsuba/mitsuba.SlackBuild
@@ -55,6 +55,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i 's:spirit/home/phoenix:phoenix:' src/bsdfs/irawan.h
sed -i "s%/usr/lib/%/usr/lib${LIBDIRSUFFIX}/%" data/cmake/FindGLEW.cmake
cd build
diff --git a/graphics/mitsuba/mitsuba.info b/graphics/mitsuba/mitsuba.info
index b87c82a8d3..2b543efdf9 100644
--- a/graphics/mitsuba/mitsuba.info
+++ b/graphics/mitsuba/mitsuba.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://slackermedia.info/slackbuilds/mitsuba/src/mitsuba-b85118cd30d2.
MD5SUM="2b2dafee41dac5561f36f7064b7c87ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README% xerces-c collada-dom"
+REQUIRES="xerces-c collada-dom"
MAINTAINER="klaatu"
EMAIL="klaatu@member.fsf.org"