2018-04-29 23:31:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.139 2018/04/29 21:31:43 adam Exp $
|
2003-05-28 17:51:38 +02:00
|
|
|
|
2016-08-15 21:26:18 +02:00
|
|
|
DISTNAME= blender-2.77a
|
2018-04-29 23:31:17 +02:00
|
|
|
PKGREVISION= 10
|
2005-08-03 13:58:14 +02:00
|
|
|
CATEGORIES= graphics
|
2009-04-28 23:36:42 +02:00
|
|
|
MASTER_SITES= http://download.blender.org/source/
|
2001-03-16 01:33:18 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.blender.org/
|
2005-08-03 13:58:14 +02:00
|
|
|
COMMENT= Fully integrated 3D graphics creation suite
|
2011-04-01 12:59:56 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2001-03-16 01:33:18 +01:00
|
|
|
|
Update to 2.70
Changelog:
New features include initial support for volumetrics in Cycles, and faster rendering of hair and textures. The motion tracker now supports weighted tracks and has improved planar tracking. For mesh modeling there are new Laplacian deform and wireframe modifiers, along with more control in the bevel tool. The game engine now supports object levels of detail.
The first results from the new user interface project are also in this release, with dozens of changes to make the interface more consistent and powerful. This is also the first release of the multithreaded dependency graph, which makes modifier and constraint evaluation faster in scenes with multiple objects.
Cycles Rendering
Cycles now has initial support for volume rendering including emission, absorption and scattering. Volume rendering can be used to render effects like fire, smoke, mist, absorption in glass, and many other effects that can't be represented by surface meshes alone.
CPU rendering performance was improved, particularly for hair, textures and Open Shading Language.
Motion Tracker
Trackers can now be weighted, to keep the result stable as feature disappear or become difficult to track. The plane track workflow was improved to be easier to control. Automatic feature detection was made more robust using a new detector algorithm.
User Interface
The toolbar now has tabs to organize tools in categories. Multiple buttons can now be edited at once, for example for XYZ axes or color channels. Transform tools now have a mode to enter expressions and units. Other changes were done to improve lists, header menus, tooltips, buttons, menus and more.
Modeling
The Laplacian Deform modifier was added to pose a mesh while preserving geometric details of the surface, and a new wireframe modifier allows you transform your mesh into a wireframe representation. The boolean modifier now supports ngons, and there are improvements to the bevel, screw and triangulate modifiers.
The bevel tool now offers more control over the bevel profile and results, and the knife tool was improved as well.
Threaded Dependency Graph
An important change that happened under the hood is the threaded dependency graph. This means that object modifiers and constraints, among other things, can now be computed with multiple threads taking advantage of multicore processors. This will be most noticeable with scenes that have many objects, or multiple objects with heavy modifiers. This is the first step in making the dependency graph in Blender more powerful.
Game Development
The Blender game engine now supports discrete level of detail for meshes. For game developers, support for working with Photoshop PSD files has been added.
A new view navigation walk mode has been added, which has a control scheme as typically found in first person shooter games. This can be useful for game developers to navigate levels as if in a game.
Freestyle NPR Rendering
The Freestyle Python API is an essential part that makes it a highly programmable NPR rendering engine. This API has been reorganized.
More Features
Many small changes and features were done all over Blender. Some notable new feature are normalized display for FCurves, derivative map baking, baking to vertex colors, better visualization of masks and control over mask filling, gravity option for sculpting, negative texture values to support vector displacement and a Lamp Data shading node to create more customized NPR shaders.
Feature Videos
For a visual demonstration of some of the new features in this release, check out the feature videos created during the development of this release.
Addons
Several addons have been added and updated, including Node Wrangler (aka Node Efficiency Tools) and a new Sketchfab Exporter addon
Bug Fixes
In addition to the new features, over 560 bugs that existed in previous releases have been fixed.
2014-04-07 14:21:25 +02:00
|
|
|
USE_TOOLS+= gmake sed
|
2016-08-15 21:26:18 +02:00
|
|
|
USE_CMAKE= yes
|
2017-05-03 10:38:38 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2016-08-15 21:26:18 +02:00
|
|
|
CMAKE_OPTS+= -DWITH_OPENAL:BOOL=OFF
|
2017-12-19 10:16:29 +01:00
|
|
|
CMAKE_OPTS+= -DWITH_MEM_JEMALLOC:BOOL=OFF
|
2016-08-15 21:26:18 +02:00
|
|
|
CMAKE_OPTS+= -DPYVERSSUFFIX:STRING=${PYVERSSUFFIX}
|
2017-02-06 02:29:10 +01:00
|
|
|
CMAKE_OPTS+= -DPYTHON_VERSION:STRING=${PYVERSSUFFIX}
|
|
|
|
CMAKE_OPTS+= -DPYTHON_ROOT_DIR:STRING=${PREFIX}
|
|
|
|
CMAKE_OPTS+= -DPYTHON_INCLUDE_DIR:STRING=${PREFIX}/${PYINC}
|
|
|
|
CMAKE_OPTS+= -DPYTHON_INCLUDE_CONFIG_DIR:STRING=${PREFIX}/${PYINC}
|
|
|
|
CMAKE_OPTS+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN}
|
|
|
|
CMAKE_OPTS+= -DPYTHON_LIBRARY:FILEPATH=${PREFIX}/lib/libpython${PYVERSSUFFIX}.so
|
2016-08-15 21:26:18 +02:00
|
|
|
CMAKE_OPTS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}/share/blender
|
|
|
|
CMAKE_OPTS+= -DCMAKE_MODULE_PATH:PATH=${_CMAKE_DIR}
|
|
|
|
CMAKE_OPTS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE
|
|
|
|
CMAKE_OPTS+= -DCMAKE_INSTALL_LIBDIR:PATH=lib
|
|
|
|
CMAKE_OPTS+= -DCMAKE_INSTALL_MANDIR:PATH=man
|
2016-10-01 15:02:31 +02:00
|
|
|
CMAKE_OPTS+= -DFREETYPE_INCLUDE_DIRS:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2
|
|
|
|
CMAKE_OPTS+= -DFREETYPE_LIBRARY:STRING=freetype
|
|
|
|
CMAKE_OPTS+= -D_OPENGL_LIB_PATH:PATH=${BUILDLINK_PREFIX.MesaLib}/lib
|
|
|
|
CMAKE_OPTS+= -D_OPENGL_INCLUDE_PATH:PATH=${BUILDLINK_PREFIX.MesaLib}/include
|
|
|
|
CMAKE_OPTS+= -DOPENGL_glu_LIBRARY:STRING=GLU
|
|
|
|
|
|
|
|
CMAKE_OPTS+= -DCMAKE_CXX_FLAGS:STRING=${CXXFLAGS:Q}
|
2016-08-15 21:26:18 +02:00
|
|
|
|
2017-02-06 02:29:10 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
Update blender to 2.74
Blender 2.74, released Mar 31 2015!
- Cycles got several precision, noise, speed, memory improvements, new
Pointiness attribute.
- Viewport has new cool compositing features, outliner now manages
orphan datablocks better.
- Modeling now allows custom normals, and transferring data layers
between meshes!
- Massive improvements to hair dynamics and editing tools: a big step
forward with more to come…
- A new tool “Cavity Mask” was added to sculpting/painting, along with
other improvements.
- Great memory consumption optimization in Freestyle NPR stroke rendering.
- Grease pencil and Game engine improvements, and more…
Blender 2.73, released January 8 2015!
- Several Cycles Rendering updates, improvements and new features, support
for GeForce 9xx GPUs.
- New fullscreen mode, improved Pie Menus, 3D View can now display the
world background.
- Knife-tool now allows freehand smart cuts, and more improvements were
made in selection tools, Bevel Modifier and Shapekeys.
- Unwrapping UVs was improved, strength is now enabled for Grab and Snake
Hook brushes, better visual feedback mode for painting with masks.
- Sequencer now can show a backdrop, strips can be snapped to others along
with other improvements.
- Freestyle NPR Rendering has a new SVG exporter add-on, along with other
improvements.
- Grease Pencil had a major update, it is now possible to edit and animate
strokes! New draw styles, and imporvements in user interface.
- Collada Importer was updated, improving the compatibility with other
software’s bone concepts.
- Add-ons: FBX improved importing/exporting armatures, some Python API
changes could need some Add-ons to be updated!
- As usual several other minor updates and improvements, and lot of
bugfixing also in this release.
Blender 2.72, relased Oct 4 2014.
Cycles GPU rendering supports Volume and Subsurface Scattering now. The
User Interface comes with optional Pie Menus now and the Tooltips have been
improved. For Modeling, a new intersection tool has been added in Edit Mode.
Texture painting workflow has been streamlined with easy access to painted
images and UV layers. The Compositor now comes with a Sun Beam node.
Freestyle NPR rendering is now available with Cycles as well.
2015-12-15 10:46:27 +01:00
|
|
|
GCC_REQD+= 4.7
|
2011-04-01 13:31:56 +02:00
|
|
|
|
2016-10-01 15:02:31 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
|
2017-02-06 02:29:10 +01:00
|
|
|
CMAKE_OPTS+= -DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF
|
|
|
|
CMAKE_OPTS+= -DWITH_PYTHON_INSTALL_REQUESTS:BOOL=OFF
|
2016-10-01 15:02:31 +02:00
|
|
|
|
2016-08-15 21:26:18 +02:00
|
|
|
REPLACE_PYTHON= release/bin/blender-thumbnailer.py
|
2001-03-16 01:33:18 +01:00
|
|
|
|
2012-12-03 14:15:50 +01:00
|
|
|
.include "options.mk"
|
Update blender to version 2.45
pkgsrc changes:
use cmake rather than SCons to build.
DESTDIR support
2.45
The 2.45 is a bugfix release, to stabilize the 2.4x series.
No new feature have been added, but serious effort has been put in
tracking bugs and fixing them. Some performance issues have also been
addressed.
2.44
This release adds subsurface scattering, improved sculpting tools, ffmpeg
support for additional platforms, a number of animation tool improvements,
and a huge number of Python scripts and API enhancements.
2.43
This release features sculpting meshes that work as if they were clay,
render passes, retopology painting, multi-resolution meshes, texture map
and light map baking, support for multiple uv sets, fast 3D painting,
defocus blur node, multi-layer image read/write, painting in video
sequences, matte, key, and difference composite nodes, a number of
improved 3D animation tools such as proxy objects, walk cycles, simulation
tool improvements for fluid dynamics, hard body dynamics, and cloth and
softbody dynamics. There were also additional compositing and video
editing improvements.
2.42
This release is the result of work done for the Elephants Dream short
film. It includes major feature additions such as node based materials,
node based compositing, a renderer rewrite, improved UV tools, improved
character tools, an array modifier, and a host of other improvements.
2008-01-04 20:56:45 +01:00
|
|
|
|
2012-12-03 14:15:50 +01:00
|
|
|
INSTALLATION_DIRS= bin share/blender
|
Update blender to version 2.45
pkgsrc changes:
use cmake rather than SCons to build.
DESTDIR support
2.45
The 2.45 is a bugfix release, to stabilize the 2.4x series.
No new feature have been added, but serious effort has been put in
tracking bugs and fixing them. Some performance issues have also been
addressed.
2.44
This release adds subsurface scattering, improved sculpting tools, ffmpeg
support for additional platforms, a number of animation tool improvements,
and a huge number of Python scripts and API enhancements.
2.43
This release features sculpting meshes that work as if they were clay,
render passes, retopology painting, multi-resolution meshes, texture map
and light map baking, support for multiple uv sets, fast 3D painting,
defocus blur node, multi-layer image read/write, painting in video
sequences, matte, key, and difference composite nodes, a number of
improved 3D animation tools such as proxy objects, walk cycles, simulation
tool improvements for fluid dynamics, hard body dynamics, and cloth and
softbody dynamics. There were also additional compositing and video
editing improvements.
2.42
This release is the result of work done for the Elephants Dream short
film. It includes major feature additions such as node based materials,
node based compositing, a renderer rewrite, improved UV tools, improved
character tools, an array modifier, and a host of other improvements.
2008-01-04 20:56:45 +01:00
|
|
|
|
2014-07-09 22:01:08 +02:00
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
2016-01-11 23:54:15 +01:00
|
|
|
PLIST_SUBST+= BLENDERVER=${PKGVERSION_NOREV:C/[a-z]//}
|
2014-07-09 22:01:08 +02:00
|
|
|
|
2017-07-02 00:12:13 +02:00
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-8.*)
|
|
|
|
PLIST_SUBST+= NETBSDVER=netbsd8
|
|
|
|
.elif !empty(MACHINE_PLATFORM:MNetBSD-7.*)
|
Update blender to 2.74
Blender 2.74, released Mar 31 2015!
- Cycles got several precision, noise, speed, memory improvements, new
Pointiness attribute.
- Viewport has new cool compositing features, outliner now manages
orphan datablocks better.
- Modeling now allows custom normals, and transferring data layers
between meshes!
- Massive improvements to hair dynamics and editing tools: a big step
forward with more to come…
- A new tool “Cavity Mask” was added to sculpting/painting, along with
other improvements.
- Great memory consumption optimization in Freestyle NPR stroke rendering.
- Grease pencil and Game engine improvements, and more…
Blender 2.73, released January 8 2015!
- Several Cycles Rendering updates, improvements and new features, support
for GeForce 9xx GPUs.
- New fullscreen mode, improved Pie Menus, 3D View can now display the
world background.
- Knife-tool now allows freehand smart cuts, and more improvements were
made in selection tools, Bevel Modifier and Shapekeys.
- Unwrapping UVs was improved, strength is now enabled for Grab and Snake
Hook brushes, better visual feedback mode for painting with masks.
- Sequencer now can show a backdrop, strips can be snapped to others along
with other improvements.
- Freestyle NPR Rendering has a new SVG exporter add-on, along with other
improvements.
- Grease Pencil had a major update, it is now possible to edit and animate
strokes! New draw styles, and imporvements in user interface.
- Collada Importer was updated, improving the compatibility with other
software’s bone concepts.
- Add-ons: FBX improved importing/exporting armatures, some Python API
changes could need some Add-ons to be updated!
- As usual several other minor updates and improvements, and lot of
bugfixing also in this release.
Blender 2.72, relased Oct 4 2014.
Cycles GPU rendering supports Volume and Subsurface Scattering now. The
User Interface comes with optional Pie Menus now and the Tooltips have been
improved. For Modeling, a new intersection tool has been added in Edit Mode.
Texture painting workflow has been streamlined with easy access to painted
images and UV layers. The Compositor now comes with a Sun Beam node.
Freestyle NPR rendering is now available with Cycles as well.
2015-12-15 10:46:27 +01:00
|
|
|
PLIST_SUBST+= NETBSDVER=netbsd7
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= NETBSDVER=netbsd6
|
|
|
|
.endif
|
|
|
|
|
2017-02-06 02:29:10 +01:00
|
|
|
PLIST_VARS+= py34 py35 py36
|
2015-12-19 21:52:12 +01:00
|
|
|
|
2016-08-15 21:26:18 +02:00
|
|
|
OBJDIR= ../build
|
|
|
|
CONFIGURE_DIRS= ${OBJDIR}
|
|
|
|
CMAKE_ARG_PATH= ../${DISTNAME}
|
Update blender to version 2.45
pkgsrc changes:
use cmake rather than SCons to build.
DESTDIR support
2.45
The 2.45 is a bugfix release, to stabilize the 2.4x series.
No new feature have been added, but serious effort has been put in
tracking bugs and fixing them. Some performance issues have also been
addressed.
2.44
This release adds subsurface scattering, improved sculpting tools, ffmpeg
support for additional platforms, a number of animation tool improvements,
and a huge number of Python scripts and API enhancements.
2.43
This release features sculpting meshes that work as if they were clay,
render passes, retopology painting, multi-resolution meshes, texture map
and light map baking, support for multiple uv sets, fast 3D painting,
defocus blur node, multi-layer image read/write, painting in video
sequences, matte, key, and difference composite nodes, a number of
improved 3D animation tools such as proxy objects, walk cycles, simulation
tool improvements for fluid dynamics, hard body dynamics, and cloth and
softbody dynamics. There were also additional compositing and video
editing improvements.
2.42
This release is the result of work done for the Elephants Dream short
film. It includes major feature additions such as node based materials,
node based compositing, a renderer rewrite, improved UV tools, improved
character tools, an array modifier, and a host of other improvements.
2008-01-04 20:56:45 +01:00
|
|
|
|
2016-08-15 21:26:18 +02:00
|
|
|
pre-configure:
|
|
|
|
${MKDIR} ${WRKSRC}/${OBJDIR}
|
2005-02-26 21:34:43 +01:00
|
|
|
|
2016-08-15 21:26:18 +02:00
|
|
|
# Install to custom CMAKE_INSTALL_PREFIX.
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC}/${OBJDIR} && \
|
|
|
|
env ${CONFIGURE_ENV} \
|
|
|
|
${PREFIX}/bin/cmake ${CMAKE_OPTS} ${CMAKE_ARG_PATH}
|
2014-02-01 04:57:52 +01:00
|
|
|
|
2012-12-03 14:15:50 +01:00
|
|
|
post-install:
|
|
|
|
${LN} -sf ${PREFIX}/share/blender/blender \
|
|
|
|
${DESTDIR}${PREFIX}/bin
|
2005-02-26 21:34:43 +01:00
|
|
|
|
2004-04-12 04:41:45 +02:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
2012-12-03 14:15:50 +01:00
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-tools/buildlink3.mk"
|
Update to 2.70
Changelog:
New features include initial support for volumetrics in Cycles, and faster rendering of hair and textures. The motion tracker now supports weighted tracks and has improved planar tracking. For mesh modeling there are new Laplacian deform and wireframe modifiers, along with more control in the bevel tool. The game engine now supports object levels of detail.
The first results from the new user interface project are also in this release, with dozens of changes to make the interface more consistent and powerful. This is also the first release of the multithreaded dependency graph, which makes modifier and constraint evaluation faster in scenes with multiple objects.
Cycles Rendering
Cycles now has initial support for volume rendering including emission, absorption and scattering. Volume rendering can be used to render effects like fire, smoke, mist, absorption in glass, and many other effects that can't be represented by surface meshes alone.
CPU rendering performance was improved, particularly for hair, textures and Open Shading Language.
Motion Tracker
Trackers can now be weighted, to keep the result stable as feature disappear or become difficult to track. The plane track workflow was improved to be easier to control. Automatic feature detection was made more robust using a new detector algorithm.
User Interface
The toolbar now has tabs to organize tools in categories. Multiple buttons can now be edited at once, for example for XYZ axes or color channels. Transform tools now have a mode to enter expressions and units. Other changes were done to improve lists, header menus, tooltips, buttons, menus and more.
Modeling
The Laplacian Deform modifier was added to pose a mesh while preserving geometric details of the surface, and a new wireframe modifier allows you transform your mesh into a wireframe representation. The boolean modifier now supports ngons, and there are improvements to the bevel, screw and triangulate modifiers.
The bevel tool now offers more control over the bevel profile and results, and the knife tool was improved as well.
Threaded Dependency Graph
An important change that happened under the hood is the threaded dependency graph. This means that object modifiers and constraints, among other things, can now be computed with multiple threads taking advantage of multicore processors. This will be most noticeable with scenes that have many objects, or multiple objects with heavy modifiers. This is the first step in making the dependency graph in Blender more powerful.
Game Development
The Blender game engine now supports discrete level of detail for meshes. For game developers, support for working with Photoshop PSD files has been added.
A new view navigation walk mode has been added, which has a control scheme as typically found in first person shooter games. This can be useful for game developers to navigate levels as if in a game.
Freestyle NPR Rendering
The Freestyle Python API is an essential part that makes it a highly programmable NPR rendering engine. This API has been reorganized.
More Features
Many small changes and features were done all over Blender. Some notable new feature are normalized display for FCurves, derivative map baking, baking to vertex colors, better visualization of masks and control over mask filling, gravity option for sculpting, negative texture values to support vector displacement and a Lamp Data shading node to create more customized NPR shaders.
Feature Videos
For a visual demonstration of some of the new features in this release, check out the feature videos created during the development of this release.
Addons
Several addons have been added and updated, including Node Wrangler (aka Node Efficiency Tools) and a new Sketchfab Exporter addon
Bug Fixes
In addition to the new features, over 560 bugs that existed in previous releases have been fixed.
2014-04-07 14:21:25 +02:00
|
|
|
.include "../../devel/libexecinfo/buildlink3.mk"
|
2012-12-03 14:15:50 +01:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
2004-04-12 04:41:45 +02:00
|
|
|
.include "../../graphics/Mesa/buildlink3.mk"
|
2006-02-10 21:34:25 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2012-12-03 14:15:50 +01:00
|
|
|
#.include "../../graphics/glew/buildlink3.mk"
|
2009-08-28 22:46:18 +02:00
|
|
|
.include "../../graphics/openexr/buildlink3.mk"
|
2012-12-03 14:15:50 +01:00
|
|
|
.include "../../graphics/openimageio/buildlink3.mk"
|
2012-12-09 18:37:44 +01:00
|
|
|
.include "../../graphics/openjpeg15/buildlink3.mk"
|
2004-04-12 04:41:45 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2006-02-10 21:34:25 +01:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2012-12-03 14:15:50 +01:00
|
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
|
|
#.include "../../multimedia/ffmpeg010/buildlink3.mk"
|
2004-04-12 04:41:45 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2001-03-16 01:33:18 +01:00
|
|
|
|
2012-12-03 14:15:50 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2001-03-16 01:33:18 +01:00
|
|
|
|
2015-12-19 21:52:12 +01:00
|
|
|
.if ${PYVERSSUFFIX} == "3.4"
|
|
|
|
PLIST.py34= yes
|
|
|
|
.elif ${PYVERSSUFFIX} == "3.5"
|
|
|
|
PLIST.py35= yes
|
2017-02-06 02:29:10 +01:00
|
|
|
.elif ${PYVERSSUFFIX} == "3.6"
|
|
|
|
PLIST.py36= yes
|
2015-12-19 21:52:12 +01:00
|
|
|
.endif
|
|
|
|
|
2003-03-26 05:05:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|