Skip to content

Commit

Permalink
media-gfx/blender: Update required_use and make the configure step st…
Browse files Browse the repository at this point in the history
…rict

With WITH_STRICT_BUILD_OPTIONS, it should now error out if a build
option can not be enabled instead of just warning and disabling it.

Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
  • Loading branch information
DarkDefender committed Jan 18, 2024
1 parent 1b202c3 commit cf6892b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions media-gfx/blender/blender-4.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
alembic? ( openexr )
cuda? ( cycles )
cycles? ( openexr tiff )
cycles? ( openexr tiff tbb )
fluid? ( tbb )
nanovdb? ( openvdb )
openvdb? ( tbb )
openvdb? ( tbb openexr )
optix? ( cuda )
osl? ( cycles )
osl? ( cycles pugixml )
test? ( color-management )"

# Library versions for official builds can be found in the blender source directory in:
Expand Down Expand Up @@ -306,6 +306,7 @@ src_configure() {
-DWITH_PYTHON_INSTALL_ZSTANDARD=no
-DWITH_SDL=$(usex sdl)
-DWITH_STATIC_LIBS=no
-DWITH_STRICT_BUILD_OPTIONS=yes
-DWITH_SYSTEM_EIGEN3=yes
-DWITH_SYSTEM_FREETYPE=yes
-DWITH_SYSTEM_LZO=yes
Expand Down
8 changes: 4 additions & 4 deletions media-gfx/blender/blender-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
alembic? ( openexr )
cuda? ( cycles )
cycles? ( openexr tiff )
cycles? ( openexr tiff tbb )
fluid? ( tbb )
hip? ( cycles )
nanovdb? ( openvdb )
openvdb? ( tbb )
openvdb? ( tbb openexr )
optix? ( cuda )
osl? ( cycles )
osl? ( cycles pugixml )
test? ( color-management )"

# Library versions for official builds can be found in the blender source directory in:
Expand Down Expand Up @@ -266,7 +266,6 @@ src_configure() {
-DWITH_FFTW3=$(usex fftw)
-DWITH_GHOST_WAYLAND=$(usex wayland)
-DWITH_GHOST_WAYLAND_APP_ID="blender-${BV}"
-DWITH_GHOST_WAYLAND_DBUS=$(usex wayland)
-DWITH_GHOST_WAYLAND_DYNLOAD=no
-DWITH_GHOST_WAYLAND_LIBDECOR=no
-DWITH_GHOST_X11=$(usex X)
Expand Down Expand Up @@ -304,6 +303,7 @@ src_configure() {
-DWITH_PYTHON_INSTALL_ZSTANDARD=no
-DWITH_SDL=$(usex sdl)
-DWITH_STATIC_LIBS=no
-DWITH_STRICT_BUILD_OPTIONS=yes
-DWITH_SYSTEM_EIGEN3=yes
-DWITH_SYSTEM_FREETYPE=yes
-DWITH_SYSTEM_LZO=yes
Expand Down

0 comments on commit cf6892b

Please sign in to comment.