diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2022-05-02 16:58:01 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-05-20 14:25:12 +0300 |
commit | b3bbe52b38011538957c9ad1244427fecc4f9203 (patch) | |
tree | 0cefd7495d1bdf5a4fffd04ad8ab79399a52371e /media-gfx/blender | |
parent | media-libs/osl: Backport LLVM 14 patch to the stable release (diff) | |
download | gentoo-b3bbe52b38011538957c9ad1244427fecc4f9203.tar.gz gentoo-b3bbe52b38011538957c9ad1244427fecc4f9203.tar.bz2 gentoo-b3bbe52b38011538957c9ad1244427fecc4f9203.zip |
media-gfx/blender: Update python useflags and deps
Blender expects Cython to be installed even during runtime for use in
python addons.
In addition to this, it doesn't make too much sense for the Gentoo
ebulid to expose the "WITH_SYSTEM_PYTHON" and the related switches.
Those options are used to build easily distributed Blender packages that
bundle python and the python dependecies. This can be used deploy
Blender on systems were there is no way to easily easily pull in the
required python version and libraries.
However on Gentoo, we have a very good system for doing this ourselves
with portage.
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/blender')
-rw-r--r-- | media-gfx/blender/blender-3.0.1-r5.ebuild | 6 | ||||
-rw-r--r-- | media-gfx/blender/blender-3.1.2.ebuild | 7 | ||||
-rw-r--r-- | media-gfx/blender/blender-9999.ebuild | 6 |
3 files changed, 9 insertions, 10 deletions
diff --git a/media-gfx/blender/blender-3.0.1-r5.ebuild b/media-gfx/blender/blender-3.0.1-r5.ebuild index f9c141963446..ef4995c93aa0 100644 --- a/media-gfx/blender/blender-3.0.1-r5.ebuild +++ b/media-gfx/blender/blender-3.0.1-r5.ebuild @@ -26,7 +26,7 @@ fi SLOT="${PV%.*}" LICENSE="|| ( GPL-3 BL )" -IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \ +IUSE="+bullet +dds +fluid +openexr +tbb \ alembic collada +color-management cuda +cycles \ debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \ man ndof nls openal +oidn +openimageio +openmp +opensubdiv \ @@ -49,6 +49,7 @@ RDEPEND="${PYTHON_DEPS} dev-libs/boost:=[nls?,threads(+)] dev-libs/lzo:2= $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/zstandard[${PYTHON_USEDEP}] @@ -262,8 +263,7 @@ src_configure() { -DWITH_POTRACE=$(usex potrace) -DWITH_PUGIXML=$(usex pugixml) -DWITH_PULSEAUDIO=$(usex pulseaudio) - -DWITH_PYTHON_INSTALL=$(usex system-python OFF ON) - -DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON) + -DWITH_PYTHON_INSTALL=OFF -DWITH_SDL=$(usex sdl) -DWITH_STATIC_LIBS=OFF -DWITH_SYSTEM_EIGEN3=ON diff --git a/media-gfx/blender/blender-3.1.2.ebuild b/media-gfx/blender/blender-3.1.2.ebuild index 402d1ca0b796..cd1eca85cae5 100644 --- a/media-gfx/blender/blender-3.1.2.ebuild +++ b/media-gfx/blender/blender-3.1.2.ebuild @@ -24,7 +24,7 @@ fi SLOT="${PV%.*}" LICENSE="|| ( GPL-3 BL )" -IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \ +IUSE="+bullet +dds +fluid +openexr +tbb \ alembic collada +color-management cuda +cycles \ debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \ man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \ @@ -47,6 +47,7 @@ RDEPEND="${PYTHON_DEPS} dev-libs/boost:=[nls?,threads(+)] dev-libs/lzo:2= $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/zstandard[${PYTHON_USEDEP}] @@ -121,7 +122,6 @@ BDEPEND=" dev-texlive/texlive-latexextra ) nls? ( sys-devel/gettext ) - system-numpy? ( system-python? ( dev-python/cython ) ) " blender_check_requirements() { @@ -253,8 +253,7 @@ src_configure() { -DWITH_POTRACE=$(usex potrace) -DWITH_PUGIXML=$(usex pugixml) -DWITH_PULSEAUDIO=$(usex pulseaudio) - -DWITH_PYTHON_INSTALL=$(usex system-python OFF ON) - -DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON) + -DWITH_PYTHON_INSTALL=OFF -DWITH_SDL=$(usex sdl) -DWITH_STATIC_LIBS=OFF -DWITH_SYSTEM_EIGEN3=ON diff --git a/media-gfx/blender/blender-9999.ebuild b/media-gfx/blender/blender-9999.ebuild index f79dd995b76e..02cb64f9cc13 100644 --- a/media-gfx/blender/blender-9999.ebuild +++ b/media-gfx/blender/blender-9999.ebuild @@ -24,7 +24,7 @@ fi SLOT="${PV%.*}" LICENSE="|| ( GPL-3 BL )" -IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \ +IUSE="+bullet +dds +fluid +openexr +tbb \ alembic collada +color-management cuda +cycles \ debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \ man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \ @@ -47,6 +47,7 @@ RDEPEND="${PYTHON_DEPS} dev-libs/boost:=[nls?,threads(+)] dev-libs/lzo:2= $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/zstandard[${PYTHON_USEDEP}] @@ -252,8 +253,7 @@ src_configure() { -DWITH_POTRACE=$(usex potrace) -DWITH_PUGIXML=$(usex pugixml) -DWITH_PULSEAUDIO=$(usex pulseaudio) - -DWITH_PYTHON_INSTALL=$(usex system-python OFF ON) - -DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON) + -DWITH_PYTHON_INSTALL=OFF -DWITH_SDL=$(usex sdl) -DWITH_STATIC_LIBS=OFF -DWITH_SYSTEM_EIGEN3=ON |