commit:     a58fbad5e40265c4b087647d802f3c90228885eb
Author:     Sebastian Parborg <sebastian <AT> blender <DOT> org>
AuthorDate: Tue Dec 16 12:39:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 18 04:26:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58fbad5

media-gfx/blender: Respect the users march flags and fix deps

Up until a recent upstream change, Blender would append march flags that
would overwrite the ones set by the user. Now they have an option to
disable this behaviour.

Blender now requires Openimageio to have it's python module built. At
least one shipped plugin depends on this now.

Signed-off-by: Sebastian Parborg <sebastian <AT> blender.org>
Part-of: https://github.com/gentoo/gentoo/pull/45047
Closes: https://github.com/gentoo/gentoo/pull/45047
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/blender/blender-9999.ebuild | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/media-gfx/blender/blender-9999.ebuild 
b/media-gfx/blender/blender-9999.ebuild
index 6e23cbb72c6c..334ba0254ff7 100644
--- a/media-gfx/blender/blender-9999.ebuild
+++ b/media-gfx/blender/blender-9999.ebuild
@@ -119,7 +119,7 @@ RDEPEND="${PYTHON_DEPS}
        media-libs/libjpeg-turbo:=
        >=media-libs/libpng-1.6.50:=
        media-libs/libsamplerate
-       >=media-libs/openimageio-3.0.9.1:=
+       >=media-libs/openimageio-3.0.9.1:=[python,${PYTHON_SINGLE_USEDEP}]
        virtual/glu
        virtual/libintl
        virtual/opengl[X?]
@@ -213,7 +213,7 @@ DEPEND="${RDEPEND}
        dev-cpp/eigen:=
        test? (
                $(python_gen_cond_dep '
-                       
media-libs/openimageio[jpeg2k,python,${PYTHON_SINGLE_USEDEP},tools]
+                       media-libs/openimageio[jpeg2k,tools]
                ')
        )
 "
@@ -465,6 +465,7 @@ src_configure() {
 
                # Compiler Options:
                # -DWITH_BUILDINFO="yes"
+               -DWITH_COMPILER_SIMD="no" # This makes it so Blender doesn't 
append their own -march flags
 
                # System Options:
                -DWITH_INSTALL_PORTABLE="no"
@@ -744,14 +745,6 @@ src_test() {
                "^script_pyapi_bpy_driver_secure_eval$"
        )
 
-       if [[ "${RUN_FAILING_TESTS:-0}" -eq 0 ]]; then
-               einfo "not running failing tests 
RUN_FAILING_TESTS=${RUN_FAILING_TESTS}"
-               CMAKE_SKIP_TESTS+=(
-                       # Does try to import from weird paths
-                       "^io_fbx_import$"
-               )
-       fi
-
        if ! has_version "media-libs/openusd"; then
                CMAKE_SKIP_TESTS+=(
                        # from pxr import Usd # ModuleNotFoundError: No module 
named 'pxr'

Reply via email to