svn commit: r568386 - in head/graphics/appleseed: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Mar 14 12:48:32 UTC 2021
Author: danfe
Date: Sun Mar 14 12:48:32 2021
New Revision: 568386
URL: https://svnweb.freebsd.org/changeset/ports/568386
Log:
- Allow to build with Embree intersection backend support (follow the
upstream and keep it off by default)
- Add a piece of advice to pkg-message about how to help it find the
fallback OSL shaders provided by the package
Modified:
head/graphics/appleseed/Makefile
head/graphics/appleseed/files/pkg-message.in
Modified: head/graphics/appleseed/Makefile
==============================================================================
--- head/graphics/appleseed/Makefile Sun Mar 14 11:59:55 2021 (r568385)
+++ head/graphics/appleseed/Makefile Sun Mar 14 12:48:32 2021 (r568386)
@@ -49,9 +49,13 @@ PLIST_SUB= APPHOME=${CMAKE_INSTALL_PREFIX}
SUB_FILES= pkg-message
SUB_LIST:= ${PLIST_SUB}
-OPTIONS_DEFINE= PYTHON STUDIO
+OPTIONS_DEFINE= EMBREE PYTHON STUDIO
OPTIONS_DEFAULT= PYTHON STUDIO
OPTIONS_SUB= yes
+
+EMBREE_DESC= Embree intersection backend support
+EMBREE_LIB_DEPENDS= libembree3.so:graphics/embree
+EMBREE_CMAKE_ON= -DWITH_EMBREE:BOOL=ON
PYTHON_USES= gl python:3.5+,build,run
PYTHON_USE= GL=gl
Modified: head/graphics/appleseed/files/pkg-message.in
==============================================================================
--- head/graphics/appleseed/files/pkg-message.in Sun Mar 14 11:59:55 2021 (r568385)
+++ head/graphics/appleseed/files/pkg-message.in Sun Mar 14 12:48:32 2021 (r568386)
@@ -4,3 +4,7 @@ commands, respectively:
%%APPHOME%%/bin/appleseed.cli
%%APPHOME%%/bin/appleseed.studio
+
+Until https://github.com/appleseedhq/appleseed/issues/2520 is resolved,
+you might want to create $HOME/shaders -> %%APPHOME%%/shaders
+symlink to help it find OSL shaders.
More information about the svn-ports-all
mailing list