summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2023-04-03 18:35:15 +0200
committerSam James <sam@gentoo.org>2023-04-16 03:45:59 +0100
commitc0f7e134663da16630a3fe349c1593f9de8f38b3 (patch)
tree979b686e54036fc1151067ae0f816821c59a9e85
parentmedia-libs/openpgl: New package (diff)
downloadgentoo-c0f7e134663da16630a3fe349c1593f9de8f38b3.tar.gz
gentoo-c0f7e134663da16630a3fe349c1593f9de8f38b3.tar.bz2
gentoo-c0f7e134663da16630a3fe349c1593f9de8f38b3.zip
media-gfx/blender: Add path guiding support the live ebuild
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-gfx/blender/blender-9999.ebuild4
-rw-r--r--media-gfx/blender/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/media-gfx/blender/blender-9999.ebuild b/media-gfx/blender/blender-9999.ebuild
index c804e553b60d..91dbd95c84f7 100644
--- a/media-gfx/blender/blender-9999.ebuild
+++ b/media-gfx/blender/blender-9999.ebuild
@@ -28,7 +28,7 @@ LICENSE="|| ( GPL-3 BL )"
IUSE="+bullet +dds +fluid +openexr +tbb \
alembic collada +color-management cuda +cycles cycles-bin-kernels \
debug doc +embree +ffmpeg +fftw +gmp jack jemalloc jpeg2k \
- man +nanovdb ndof nls openal +oidn +openmp +opensubdiv \
+ man +nanovdb ndof nls openal +oidn +openmp +openpgl +opensubdiv \
+openvdb optix +osl +pdf +potrace +pugixml pulseaudio sdl \
+sndfile test +tiff valgrind wayland X"
RESTRICT="!test? ( test )"
@@ -86,6 +86,7 @@ RDEPEND="${PYTHON_DEPS}
>=dev-libs/imath-3.1.4-r2:=
>=media-libs/openexr-3:0=
)
+ openpgl? ( media-libs/openpgl )
opensubdiv? ( >=media-libs/opensubdiv-3.4.0 )
openvdb? (
>=media-gfx/openvdb-9.0.0:=[nanovdb?]
@@ -242,6 +243,7 @@ src_configure() {
-DWITH_CYCLES_DEVICE_OPTIX=$(usex optix)
-DWITH_CYCLES_EMBREE=$(usex embree)
-DWITH_CYCLES_OSL=$(usex osl)
+ -DWITH_CYCLES_PATH_GUIDING=$(usex openpgl)
-DWITH_CYCLES_STANDALONE=OFF
-DWITH_CYCLES_STANDALONE_GUI=OFF
-DWITH_DOC_MANPAGE=$(usex man)
diff --git a/media-gfx/blender/metadata.xml b/media-gfx/blender/metadata.xml
index dcb3cb492150..5107673c50f9 100644
--- a/media-gfx/blender/metadata.xml
+++ b/media-gfx/blender/metadata.xml
@@ -65,6 +65,7 @@
Allow OpenCL Graphics Acceleration. This may
require extra graphics card drivers.</flag>
<flag name="openimageio">Enable OpenImageIO Support</flag>
+ <flag name="openpgl">Enable path guiding support in Cycles</flag>
<flag name="opensubdiv">
Add rendering support form OpenSubdiv from Dreamworks Animation
through <pkg>media-libs/opensubdiv</pkg>.