diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-02-24 23:17:53 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-27 13:22:37 +0700 |
commit | fe6a2cd3752e98d584ce7c9ecf2b4dae2ae91141 (patch) | |
tree | 23e705dbd9b9e69a080212465699cae060196060 /graphics | |
parent | 9c962b88affba0c4e2d6c08e48ffbf422cf32162 (diff) | |
download | slackbuilds-fe6a2cd3752e98d584ce7c9ecf2b4dae2ae91141.tar.gz |
graphics/mitsuba: Fixed build with boost-1.59.
The glew in Slackware-14.2 includes libglewmx.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mitsuba/README | 15 | ||||
-rw-r--r-- | graphics/mitsuba/mitsuba.SlackBuild | 1 | ||||
-rw-r--r-- | graphics/mitsuba/mitsuba.info | 2 |
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" |