blender compiles with physics engine now
svn path=/nixpkgs/trunk/; revision=11826
This commit is contained in:
parent
95dd111ba8
commit
bc8505609d
|
@ -18,6 +18,14 @@ stdenv.mkDerivation {
|
||||||
# or openEXR is broken. I think OpenEXR should use include "" isntead of <> to
|
# or openEXR is broken. I think OpenEXR should use include "" isntead of <> to
|
||||||
# include files beeing in the same directory
|
# include files beeing in the same directory
|
||||||
buildPhase = "
|
buildPhase = "
|
||||||
|
cat >> user-config.py << EOF
|
||||||
|
WITH_BF_OPENAL = 'true'
|
||||||
|
WITH_BF_GAMEENGINE='true'
|
||||||
|
WITH_BF_BULLET = 'true'
|
||||||
|
WITH_BF_INTERNATIONAL = 'true'
|
||||||
|
WITH_BF_OPENEXR = 'true'
|
||||||
|
EOF
|
||||||
|
|
||||||
sed -i -e \"s=##### END SETUP ##########=env['CPPFLAGS'].append(os.getenv('CPPFLAGS').split(':'))\\n##### END SETUP ##########=\" SConstruct\n"
|
sed -i -e \"s=##### END SETUP ##########=env['CPPFLAGS'].append(os.getenv('CPPFLAGS').split(':'))\\n##### END SETUP ##########=\" SConstruct\n"
|
||||||
+ " CPPFLAGS=-I$openexr/include/OpenEXR"
|
+ " CPPFLAGS=-I$openexr/include/OpenEXR"
|
||||||
+ " scons PREFIX=\$out/nix-support"
|
+ " scons PREFIX=\$out/nix-support"
|
||||||
|
|
Loading…
Reference in New Issue