Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2021 12:48:32 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568386 - in head/graphics/appleseed: . files
Message-ID:  <202103141248.12ECmWuk074270@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103141248.12ECmWuk074270>