[arch-commits] Commit in blender/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 4 16:38:01 UTC 2019
Date: Monday, November 4, 2019 @ 16:38:01
Author: foutrelis
Revision: 524099
Python 3.8 rebuild
Modified:
blender/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-04 15:57:11 UTC (rev 524098)
+++ PKGBUILD 2019-11-04 16:38:01 UTC (rev 524099)
@@ -16,7 +16,7 @@
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')
@@ -48,6 +48,9 @@
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
@@ -66,10 +69,10 @@
-DCMAKE_BUILD_TYPE=Release \
-DWITH_INSTALL_PORTABLE=OFF \
-DWITH_PYTHON_INSTALL=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
}
More information about the arch-commits
mailing list