- 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$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= blender
|
PORTNAME= blender
|
||||||
PORTVERSION= 2.72b
|
PORTVERSION= 2.73a
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= graphics games
|
CATEGORIES= graphics games
|
||||||
MASTER_SITES= http://download.blender.org/source/ \
|
MASTER_SITES= http://download.blender.org/source/ \
|
||||||
http://mirror.cs.umn.edu/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_XORG= x11 xext xmu
|
||||||
USE_GL= glew
|
USE_GL= glew
|
||||||
USES= cmake:outsource compiler:features python:3.4 shebangfix
|
USES= cmake:outsource compiler:features python:3.4 shebangfix
|
||||||
CMAKE_ARGS+= -DWITH_PYTHON_INSTALL:BOOL=OFF \
|
INSTALLS_ICONS= yes
|
||||||
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF
|
CMAKE_ARGS= -DWITH_PYTHON_INSTALL:BOOL=OFF \
|
||||||
|
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF \
|
||||||
|
-DWITH_INSTALL_PORTABLE:BOOL=FALSE
|
||||||
|
|
||||||
python_CMD= ${PYTHON_CMD}
|
python_CMD= ${PYTHON_CMD}
|
||||||
SHEBANG_FILES= release/bin/blender-thumbnailer.py \
|
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/bl_i18n_utils/utils_rtl.py \
|
||||||
release/scripts/modules/blend_render_info.py
|
release/scripts/modules/blend_render_info.py
|
||||||
|
|
||||||
SUB_FILES= blender blenderplayer
|
BL_VERSION= 2.73
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
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"
|
.include "${.CURDIR}/Makefile.options"
|
||||||
|
|
||||||
|
@ -195,7 +198,6 @@ BROKEN= REDCODE requires OPENJPEG and FFMPEG
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${COMPILER_TYPE} == gcc
|
.if ${COMPILER_TYPE} == gcc
|
||||||
|
@ -203,12 +205,6 @@ BROKEN= REDCODE requires OPENJPEG and FFMPEG
|
||||||
USE_GCC= yes
|
USE_GCC= yes
|
||||||
.endif
|
.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:
|
post-patch:
|
||||||
.if ${PORT_OPTIONS:MOPENCOLORIO}
|
.if ${PORT_OPTIONS:MOPENCOLORIO}
|
||||||
@${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \
|
@${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \
|
||||||
|
@ -221,68 +217,11 @@ post-build:
|
||||||
${INSTALL_WRKSRC}/bin/blender \
|
${INSTALL_WRKSRC}/bin/blender \
|
||||||
${INSTALL_WRKSRC}/bin/${PORTNAME}.1)
|
${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:
|
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}
|
.if ${PORT_OPTIONS:MMENU}
|
||||||
${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
|
||||||
${INSTALL_DATA} ${INSTALL_WRKSRC}/bin/${PORTNAME}.desktop \
|
|
||||||
${STAGEDIR}${DESKTOPDIR}
|
|
||||||
@-update-desktop-database -q
|
@-update-desktop-database -q
|
||||||
@${ECHO} share/applications/${PORTNAME}.desktop >> ${TMPPLIST}
|
|
||||||
.endif
|
.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 \
|
${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \
|
||||||
${STAGEDIR}${MAN1PREFIX}/man/man1
|
${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||||
@${ECHO} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (blender-2.72b.tar.gz) = 4436c704afa28e2e5e7b28b2c06981806ddedab70565d40972e422c00644bf47
|
SHA256 (blender-2.73a.tar.gz) = acfafbe775699d6752d1126522fc573382002b2f8583cd4df4d928995bbc9184
|
||||||
SIZE (blender-2.72b.tar.gz) = 52018242
|
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