- Update to version 2.73a
- Use blender's installation process instead of using our own This blender release comes with a couple of major improvements, such as * improved volume rendering and area light shading via cycles * better fullscreen support for the user interface * a major upgrade of the grease pencil tool (especially stroke animations) * improved motion tracking * and many more Changelog: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73
This commit is contained in:
parent
3bbf7b9e24
commit
d2102c0fc4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378685
6 changed files with 1071 additions and 98 deletions
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= blender
|
||||
PORTVERSION= 2.72b
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 2.73a
|
||||
CATEGORIES= graphics games
|
||||
MASTER_SITES= http://download.blender.org/source/ \
|
||||
http://mirror.cs.umn.edu/blender.org/source/ \
|
||||
|
@ -21,8 +20,10 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|||
USE_XORG= x11 xext xmu
|
||||
USE_GL= glew
|
||||
USES= cmake:outsource compiler:features python:3.4 shebangfix
|
||||
CMAKE_ARGS+= -DWITH_PYTHON_INSTALL:BOOL=OFF \
|
||||
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF
|
||||
INSTALLS_ICONS= yes
|
||||
CMAKE_ARGS= -DWITH_PYTHON_INSTALL:BOOL=OFF \
|
||||
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF \
|
||||
-DWITH_INSTALL_PORTABLE:BOOL=FALSE
|
||||
|
||||
python_CMD= ${PYTHON_CMD}
|
||||
SHEBANG_FILES= release/bin/blender-thumbnailer.py \
|
||||
|
@ -30,10 +31,12 @@ SHEBANG_FILES= release/bin/blender-thumbnailer.py \
|
|||
release/scripts/modules/bl_i18n_utils/utils_rtl.py \
|
||||
release/scripts/modules/blend_render_info.py
|
||||
|
||||
SUB_FILES= blender blenderplayer
|
||||
|
||||
BL_VERSION= 2.73
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
OUTDIR= ${INSTALL_WRKSRC}/bin/2.72
|
||||
OUTDIR= ${INSTALL_WRKSRC}/bin/${BL_VERSION}
|
||||
|
||||
PLIST_SUB+= VER=${BL_VERSION}
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.include "${.CURDIR}/Makefile.options"
|
||||
|
||||
|
@ -173,13 +176,13 @@ BUILD_DEPENDS+= llvm-config34:${PORTSDIR}/devel/llvm34
|
|||
CMAKE_ARGS+= -DWITH_CYCLES_OSL:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MHEADLESS}
|
||||
.if ${PORT_OPTIONS:MHEADLESS}
|
||||
.if ${PORT_OPTIONS:MXINPUT} || ${PORT_OPTIONS:MXF86VMODE}
|
||||
BROKEN= HEADLESS does not require any X11 dependency
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENIMAGEIO}
|
||||
.if ${PORT_OPTIONS:MOPENIMAGEIO}
|
||||
.if !${PORT_OPTIONS:MOPENEXR} || !${PORT_OPTIONS:MTIFF}
|
||||
BROKEN= OPENIMAGEIO requires OPENEXR and TIFF
|
||||
.endif
|
||||
|
@ -195,7 +198,6 @@ BROKEN= REDCODE requires OPENJPEG and FFMPEG
|
|||
.endif
|
||||
.endif
|
||||
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${COMPILER_TYPE} == gcc
|
||||
|
@ -203,12 +205,6 @@ BROKEN= REDCODE requires OPENJPEG and FFMPEG
|
|||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
.if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64")
|
||||
.if ${PORT_OPTIONS:MFFMPEG}
|
||||
BROKEN= Blender crashes on rendering, if ffmpeg is built with SSE support
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ${PORT_OPTIONS:MOPENCOLORIO}
|
||||
@${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \
|
||||
|
@ -221,68 +217,11 @@ post-build:
|
|||
${INSTALL_WRKSRC}/bin/blender \
|
||||
${INSTALL_WRKSRC}/bin/${PORTNAME}.1)
|
||||
|
||||
# We ignore MAKE_ARGS, since those would set DESTDIR for make stage,
|
||||
# which in turn would cause make install to install everything in a
|
||||
# wrong location
|
||||
do-install:
|
||||
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
|
||||
${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}${PREFIX}/bin/blender
|
||||
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/blender \
|
||||
${STAGEDIR}${PREFIX}/bin/blender-bin
|
||||
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/bin/blender-thumbnailer.py \
|
||||
${STAGEDIR}${PREFIX}/bin/blender-thumbnailer.py
|
||||
@${ECHO} bin/blender >> ${TMPPLIST}
|
||||
@${ECHO} bin/blender-bin >> ${TMPPLIST}
|
||||
@${ECHO} bin/blender-thumbnailer.py >> ${TMPPLIST}
|
||||
|
||||
.if ${PORT_OPTIONS:MPLAYER}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/blenderplayer \
|
||||
${STAGEDIR}${PREFIX}/bin/blenderplayer
|
||||
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/blenderplayer \
|
||||
${STAGEDIR}${PREFIX}/bin/blenderplayer-bin
|
||||
@${ECHO} bin/blenderplayer >> ${TMPPLIST}
|
||||
@${ECHO} bin/blenderplayer-bin >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMENU}
|
||||
${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/${PORTNAME}.desktop \
|
||||
${STAGEDIR}${DESKTOPDIR}
|
||||
@-update-desktop-database -q
|
||||
@${ECHO} share/applications/${PORTNAME}.desktop >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${OUTDIR} && ${COPYTREE_SHARE} scripts ${STAGEDIR}${DATADIR})
|
||||
${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/${PORTNAME}.svg \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.svg
|
||||
@(cd ${OUTDIR}; ${FIND} scripts -type f) | ${SORT} | ${SED} "s|^|${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
@(cd ${OUTDIR}; ${FIND} scripts -type d) | ${SORT} -r | ${SED} "s|^|@dirrm ${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
@${ECHO} share/pixmaps/${PORTNAME}.svg >> ${TMPPLIST}
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENCOLORIO}
|
||||
cd ${OUTDIR} && ${COPYTREE_SHARE} datafiles/colormanagement ${STAGEDIR}${DATADIR}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/colormanagement -type f) | ${SORT} | ${SED} "s|^|${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/colormanagement -type d) | ${SORT} -r | ${SED} "s|^|@dirrm ${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
cd ${OUTDIR} && ${COPYTREE_SHARE} datafiles/locale ${STAGEDIR}${DATADIR}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/locale -type f -name languages) | ${SORT} | ${SED} "s|^|${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/locale -type f -name ${PORTNAME}.mo) | ${SORT} | ${SED} "s|^|${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
cd ${OUTDIR} && ${COPYTREE_SHARE} datafiles/fonts ${STAGEDIR}${DATADIR}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/fonts -type f) | ${SORT} | ${SED} "s|^|${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/fonts -type d) | ${SORT} -r | ${SED} "s|^|@dirrm ${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
@(cd ${OUTDIR}; ${FIND} datafiles/locale -type d) | ${SORT} -r | ${SED} "s|^|@dirrm ${DATADIR_REL}/|" >> ${TMPPLIST}
|
||||
.endif
|
||||
@${ECHO} @dirrm ${DATADIR_REL}/datafiles >> ${TMPPLIST}
|
||||
@${ECHO} @dirrm ${DATADIR_REL} >> ${TMPPLIST}
|
||||
|
||||
${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \
|
||||
${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@${ECHO} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (blender-2.72b.tar.gz) = 4436c704afa28e2e5e7b28b2c06981806ddedab70565d40972e422c00644bf47
|
||||
SIZE (blender-2.72b.tar.gz) = 52018242
|
||||
SHA256 (blender-2.73a.tar.gz) = acfafbe775699d6752d1126522fc573382002b2f8583cd4df4d928995bbc9184
|
||||
SIZE (blender-2.73a.tar.gz) = 53108025
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
export BLENDER_SYSTEM_SCRIPTS=%%DATADIR%%/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=%%DATADIR%%/datafiles
|
||||
exec %%PREFIX%%/bin/blender-bin "$@"
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
export BLENDER_SYSTEM_SCRIPTS=%%DATADIR%%/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=%%DATADIR%%/datafiles
|
||||
exec %%PREFIX%%/bin/blenderplayer-bin "$@"
|
|
@ -1,13 +0,0 @@
|
|||
--- source/blender/blenfont/intern/blf_glyph.c.orig 2014-12-11 06:47:44 UTC
|
||||
+++ source/blender/blenfont/intern/blf_glyph.c
|
||||
@@ -262,8 +262,8 @@ GlyphBLF *blf_glyph_add(FontBLF *font, u
|
||||
g->xoff = -1;
|
||||
g->yoff = -1;
|
||||
bitmap = slot->bitmap;
|
||||
- g->width = bitmap.width;
|
||||
- g->height = bitmap.rows;
|
||||
+ g->width = (int)bitmap.width;
|
||||
+ g->height = (int)bitmap.rows;
|
||||
|
||||
if (g->width && g->height) {
|
||||
if (sharp) {
|
1057
graphics/blender/pkg-plist
Normal file
1057
graphics/blender/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue