Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 693200
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +11 lines)
Line  Link Here
0
-- media-gfx/blender/blender-3.1.2.ebuild      2022-06-14 16:49:04.607900825 +0800
0
++ media-gfx/blender/blender-3.2.0.ebuild      2022-06-15 20:25:21.112750143 +0800
Lines 28-34 IUSE="+bullet +dds +fluid +openexr +tbb Link Here
28
       alembic collada +color-management cuda +cycles \
28
       alembic collada +color-management cuda +cycles \
29
       debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \
29
       debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \
30
       man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \
30
       man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \
31
       +openvdb +osl +pdf +potrace +pugixml pulseaudio sdl +sndfile test +tiff valgrind"
31
       +openvdb +osl +pdf +potrace +pugixml pulseaudio rocm sdl +sndfile test +tiff valgrind"
32
RESTRICT="!test? ( test )"
32
RESTRICT="!test? ( test )"
33
REQUIRED_USE="${PYTHON_REQUIRED_USE}
33
REQUIRED_USE="${PYTHON_REQUIRED_USE}
Lines 38-43 REQUIRED_USE="${PYTHON_REQUIRED_USE} Link Here
38
       fluid? ( tbb )
38
       fluid? ( tbb )
39
       openvdb? ( tbb )
39
       openvdb? ( tbb )
40
       osl? ( cycles )
40
       osl? ( cycles )
41
       rocm? ( cycles )
41
       test? ( color-management )"
42
       test? ( color-management )"
42
# Library versions for official builds can be found in the blender source directory in:
43
# Library versions for official builds can be found in the blender source directory in:
Lines 98-103 RDEPEND="${PYTHON_DEPS} Link Here
98
       potrace? ( media-gfx/potrace )
99
       potrace? ( media-gfx/potrace )
99
       pugixml? ( dev-libs/pugixml )
100
       pugixml? ( dev-libs/pugixml )
100
       pulseaudio? ( media-sound/pulseaudio )
101
       pulseaudio? ( media-sound/pulseaudio )
102
       rocm? ( dev-util/hip )
101
       sdl? ( media-libs/libsdl2[sound,joystick] )
103
       sdl? ( media-libs/libsdl2[sound,joystick] )
102
       sndfile? ( media-libs/libsndfile )
104
       sndfile? ( media-libs/libsndfile )
103
       tbb? ( dev-cpp/tbb:= )
105
       tbb? ( dev-cpp/tbb:= )
Lines 193-198 src_prepare() { Link Here
193
       mv release/freedesktop/icons/symbolic/apps/blender-symbolic.svg release/freedesktop/icons/symbolic/apps/blender-${BV}-symbolic.svg || die
195
       mv release/freedesktop/icons/symbolic/apps/blender-symbolic.svg release/freedesktop/icons/symbolic/apps/blender-${BV}-symbolic.svg || die
194
       mv release/freedesktop/blender.desktop release/freedesktop/blender-${BV}.desktop || die
196
       mv release/freedesktop/blender.desktop release/freedesktop/blender-${BV}.desktop || die
197
       if use rocm; then
198
               local libhip_path=$(ldconfig -p | grep "libamdhip64.so$" | awk '{print $NF}')
199
               sed -e "s|/opt/rocm/hip/lib/libamdhip64.so|${libhip_path}|" -i extern/hipew/src/hipew.c || die
200
       fi
201
195
       if use test; then
202
       if use test; then
196
               # Without this the tests will try to use /usr/bin/blender and /usr/share/blender/ to run the tests.
203
               # Without this the tests will try to use /usr/bin/blender and /usr/share/blender/ to run the tests.
197
               sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i tests/CMakeLists.txt || die
204
               sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i tests/CMakeLists.txt || die
Lines 217-222 src_configure() { Link Here
217
               -DWITH_CXX_GUARDEDALLOC=$(usex debug)
224
               -DWITH_CXX_GUARDEDALLOC=$(usex debug)
218
               -DWITH_CYCLES=$(usex cycles)
225
               -DWITH_CYCLES=$(usex cycles)
219
               -DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE)
226
               -DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE)
227
               -DWITH_CYCLES_DEVICE_HIP=$(usex rocm TRUE FALSE)
228
               -DWITH_CYCLES_HIP_BINARIES=$(usex rocm TRUE FALSE)
220
               -DWITH_CYCLES_EMBREE=$(usex embree)
229
               -DWITH_CYCLES_EMBREE=$(usex embree)
221
               -DWITH_CYCLES_OSL=$(usex osl)
230
               -DWITH_CYCLES_OSL=$(usex osl)
222
               -DWITH_CYCLES_STANDALONE=OFF
231
               -DWITH_CYCLES_STANDALONE=OFF

Return to bug 693200