mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/blender to 2.80-8
This commit is contained in:
parent
3ac274c758
commit
be64dac75a
1 changed files with 7 additions and 4 deletions
|
@ -22,7 +22,7 @@ _gittag=v2.80
|
|||
pkgname=blender
|
||||
pkgver=2.80
|
||||
[[ -n $_gitcommit ]] && pkgver=${pkgver}.git1.${_gitcommit:0:8}
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
epoch=17
|
||||
pkgdesc="A fully integrated 3D graphics creation suite"
|
||||
arch=('x86_64')
|
||||
|
@ -53,6 +53,9 @@ sha512sums=('SKIP'
|
|||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
# Python 3.8 compatibility fixes
|
||||
git cherry-pick -n a7cf7b114f 9dd5e3b6e8 e413b39a93
|
||||
|
||||
git submodule init
|
||||
git config submodule."release/scripts/addons".url ${srcdir}/blender-addons
|
||||
git config submodule."release/scripts/addons_contrib".url ${srcdir}/blender-addons-contrib
|
||||
|
@ -73,10 +76,10 @@ build() {
|
|||
-DWITH_PYTHON_INSTALL=OFF \
|
||||
-DWITH_CYCLES=OFF \
|
||||
-DWITH_RAYOPTIMIZATION=OFF \
|
||||
-DPYTHON_VERSION=3.7 \
|
||||
-DPYTHON_VERSION=3.8 \
|
||||
-DPYTHON_LIBPATH=/usr/lib \
|
||||
-DPYTHON_LIBRARY=python3.7m \
|
||||
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.7m
|
||||
-DPYTHON_LIBRARY=python3.8 \
|
||||
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.8
|
||||
|
||||
ninja
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue