community/blender to 3.1.0-2

This commit is contained in:
Kevin Mihelich 2022-03-13 04:17:32 +00:00
parent 2df4ab28ad
commit 0fffbc8307

View file

@ -15,7 +15,7 @@ buildarch=8
pkgname=blender
pkgver=3.1.0
pkgrel=1
pkgrel=2
epoch=17
pkgdesc="A fully integrated 3D graphics creation suite"
arch=('x86_64')
@ -23,7 +23,7 @@ license=('GPL')
url="https://www.blender.org"
depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' 'python-requests' 'potrace'
'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' 'openjpeg2' 'python-numpy'
'freetype2' 'openal' 'ffmpeg4.4' 'fftw' 'boost-libs' 'opencollada' 'alembic' 'openxr'
'freetype2' 'openal' 'ffmpeg' 'fftw' 'boost-libs' 'opencollada' 'alembic' 'openxr'
'openimageio' 'libsndfile' 'jack' 'opencolorio' 'openshadinglanguage'
'jemalloc' 'libspnav' 'ptex' 'opensubdiv' 'openvdb' 'log4cplus' 'sdl2' 'libharu'
'draco')
@ -80,8 +80,7 @@ build() {
-DPYTHON_LIBPATH=/usr/lib \
-DPYTHON_LIBRARY=python$PYTHON_VER \
-DPYTHON_INCLUDE_DIRS=/usr/include/python$PYTHON_VER \
-DCMAKE_C_FLAGS="-I /usr/include/ffmpeg4.4" \
-DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER -I /usr/include/ffmpeg4.4 -L /usr/lib/ffmpeg4.4"
-DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER"
ninja -C build
}