graphics/mitsuba: Fixed build with boost-1.59.

The glew in Slackware-14.2 includes libglewmx.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-02-24 23:17:53 +00:00 committed by Willy Sudiarto Raharjo
parent 9c962b88af
commit fe6a2cd375
3 changed files with 2 additions and 16 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"