Enable the new 'cycles' rendering engine. There may still be some rough edges,
but overall it is working well. Initially requested and tested by peters at schwertfisch dot de (thanks). Also, remove mention of ffmpeg flavour from DESCR.
This commit is contained in:
parent
dc92efbf35
commit
afc1d3acf2
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.42 2012/05/07 15:45:42 pascal Exp $
|
||||
# $OpenBSD: Makefile,v 1.43 2012/05/09 12:45:50 pascal Exp $
|
||||
|
||||
COMMENT = 3D creation software
|
||||
|
||||
DISTNAME = blender-2.63
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
||||
@ -44,19 +45,20 @@ LIB_DEPENDS = graphics/png \
|
||||
audio/openal \
|
||||
graphics/openjpeg \
|
||||
graphics/ffmpeg>=20111126 \
|
||||
graphics/openimageio \
|
||||
${MODPY_LIB_DEPENDS}
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gnome/librsvg
|
||||
|
||||
WANTLIB += GL GLEW GLU Half Iex IlmImf IlmThread Imath SDL X11
|
||||
WANTLIB += Xi Xxf86vm boost_filesystem-mt boost_regex-mt boost_system-mt
|
||||
WANTLIB += GL GLEW GLU Half Iex IlmImf IlmThread Imath OpenImageIO
|
||||
WANTLIB += SDL X11 Xi Xxf86vm avcodec avdevice avformat avutil
|
||||
WANTLIB += boost_filesystem-mt boost_regex-mt boost_system-mt
|
||||
WANTLIB += boost_thread-mt c freetype jpeg m openal openjpeg png
|
||||
WANTLIB += pthread ${MODPY_WANTLIB} stdc++ tiff util z
|
||||
WANTLIB += avcodec avdevice avformat avutil swscale
|
||||
WANTLIB += pthread ${MODPY_WANTLIB} stdc++ swscale tiff util z
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
CFLAGS += -I${LOCALBASE}/include -I${X11BASE}/include
|
||||
CFLAGS += -I${LOCALBASE}/include -I${X11BASE}/include -pthread
|
||||
|
||||
MODPY_ADJ_FILES = release/bin/blender-thumbnailer.py \
|
||||
release/scripts/modules/blend_render_info.py
|
||||
@ -71,6 +73,9 @@ do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/blender/datafiles
|
||||
cd ${WRKSRC}/release/scripts && pax -rw . \
|
||||
${PREFIX}/share/blender/scripts
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/blender/scripts/addons/cycles
|
||||
cd ${WRKSRC}/intern/cycles/blender/addon && pax -rw . \
|
||||
${PREFIX}/share/blender/scripts/addons/cycles
|
||||
cd ${WRKSRC}/release/datafiles && pax -rw . \
|
||||
${PREFIX}/share/blender/datafiles
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/blender
|
||||
|
12
graphics/blender/patches/patch-CMakeLists_txt
Normal file
12
graphics/blender/patches/patch-CMakeLists_txt
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.1 2012/05/09 12:45:50 pascal Exp $
|
||||
--- CMakeLists.txt.orig Mon May 7 17:41:38 2012
|
||||
+++ CMakeLists.txt Mon May 7 17:42:02 2012
|
||||
@@ -658,7 +658,7 @@ if(UNIX AND NOT APPLE)
|
||||
endif()
|
||||
|
||||
# OpenSuse needs lutil, ArchLinux not, for now keep, can avoid by using --as-needed
|
||||
- set(PLATFORM_LINKLIBS "-lutil -lc -lm -lpthread -lstdc++")
|
||||
+ set(PLATFORM_LINKLIBS "-lutil -lc -lm -pthread -lstdc++")
|
||||
|
||||
if((NOT WITH_HEADLESS) AND (NOT WITH_GHOST_SDL))
|
||||
find_package(X11 REQUIRED)
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-intern_cycles_blender_CMakeLists_txt,v 1.1 2012/05/09 12:45:50 pascal Exp $
|
||||
--- intern/cycles/blender/CMakeLists.txt.orig Mon May 7 17:23:36 2012
|
||||
+++ intern/cycles/blender/CMakeLists.txt Mon May 7 17:23:45 2012
|
||||
@@ -11,11 +11,11 @@ set(INC
|
||||
../../../source/blender/makesrna
|
||||
../../../source/blender/blenloader
|
||||
${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
|
||||
+ ${GLEW_INCLUDE_PATH}
|
||||
)
|
||||
|
||||
set(INC_SYS
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
- ${GLEW_INCLUDE_PATH}
|
||||
)
|
||||
|
||||
set(SRC
|
@ -4,6 +4,3 @@ rendering, animation, post-production, creation and playback of
|
||||
interactive 3D content with the benefit of cross-platform operability.
|
||||
Aimed at media professionals and artists, Blender can be used to create
|
||||
3D visualizations, stills as well as broadcast quality video.
|
||||
|
||||
Available flavor:
|
||||
ffmpeg - compile blender with ffmpeg support
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2012/05/07 15:45:42 pascal Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.13 2012/05/09 12:45:50 pascal Exp $
|
||||
@pkgpath graphics/blender,ffmpeg
|
||||
bin/blender
|
||||
@bin bin/blender-bin
|
||||
@ -176,6 +176,13 @@ share/blender/scripts/addons/animation_add_corrective_shape_key.py
|
||||
share/blender/scripts/addons/animation_animall.py
|
||||
share/blender/scripts/addons/animation_rotobezier.py
|
||||
share/blender/scripts/addons/curve_simplify.py
|
||||
share/blender/scripts/addons/cycles/
|
||||
share/blender/scripts/addons/cycles/__init__.py
|
||||
share/blender/scripts/addons/cycles/engine.py
|
||||
share/blender/scripts/addons/cycles/enums.py
|
||||
share/blender/scripts/addons/cycles/presets.py
|
||||
share/blender/scripts/addons/cycles/properties.py
|
||||
share/blender/scripts/addons/cycles/ui.py
|
||||
share/blender/scripts/addons/development_api_navigator.py
|
||||
share/blender/scripts/addons/development_icon_get.py
|
||||
share/blender/scripts/addons/game_engine_save_as_runtime.py
|
||||
|
Loading…
Reference in New Issue
Block a user