[arch-commits] Commit in blender/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Sep 21 14:04:10 UTC 2015


    Date: Monday, September 21, 2015 @ 16:04:10
  Author: svenstaro
Revision: 141383

upgpkg: blender 17:2.76rc1-1

Python 3.5 build and upstream release 2.76rc1 (which we actually need to apply this patch)

Modified:
  blender/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-21 11:23:57 UTC (rev 141382)
+++ PKGBUILD	2015-09-21 14:04:10 UTC (rev 141383)
@@ -11,13 +11,13 @@
 # or simply roll with a new version. I usually choose the latter when the former seems
 # unreasonable.
 
-_gittag=v2.75a
+_gittag=v2.76-rc1
 #_gitcommit=c6b042be
 
 pkgname=blender
-pkgver=2.75.a
+pkgver=2.76rc1
 [[ -n $_gitcommit ]] && pkgver=${pkgver}.git1.${_gitcommit}
-pkgrel=2
+pkgrel=1
 epoch=17
 pkgdesc="A fully integrated 3D graphics creation suite"
 arch=('i686' 'x86_64')
@@ -57,6 +57,10 @@
   git config submodule."release/datafiles/locale".url ${srcdir}/blender-translations
   git config submodule."scons".url ${srcdir}/scons
   git submodule update
+
+  # We need this to build with Python 3.5/3.6, remove in a release after 2.76rc1
+  git cherry-pick --no-commit 6844b02a71bd9d84af5bdbcb32eb49ea6ac552e7
+  git submodule update
 }
 
 build() {
@@ -80,10 +84,10 @@
     -DLLVM_STATIC=ON \
     -DWITH_CYCLES_CUDA_BINARIES=$BUILDCUDA \
     -DWITH_CYCLES_OSL=ON \
-    -DPYTHON_VERSION=3.4 \
+    -DPYTHON_VERSION=3.5 \
     -DPYTHON_LIBPATH=/usr/lib \
-    -DPYTHON_LIBRARY=python3.4m \
-    -DPYTHON_INCLUDE_DIRS=/usr/include/python3.4m
+    -DPYTHON_LIBRARY=python3.5m \
+    -DPYTHON_INCLUDE_DIRS=/usr/include/python3.5m
   make
 }
 



More information about the arch-commits mailing list