Date: Sunday, March 12, 2023 @ 10:24:52
  Author: svenstaro
Revision: 1419251

upgpkg: blender 17:3.4.1-21: Build Blender without our buildflags

Modified:
  blender/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-12 10:10:14 UTC (rev 1419250)
+++ PKGBUILD    2023-03-12 10:24:52 UTC (rev 1419251)
@@ -8,7 +8,7 @@
 
 pkgname=blender
 pkgver=3.4.1
-pkgrel=20
+pkgrel=21
 epoch=17
 pkgdesc="A fully integrated 3D graphics creation suite"
 arch=('x86_64')
@@ -26,6 +26,9 @@
              'intel-compute-runtime')
 optdepends=('cuda: cycles renderer cuda support'
             'libdecor: wayland support')
+# We're using !buildflags here as otherwise we get stuff such as FS#77557
+# It'd be better to figure out exactly which of the flags is the culprit which 
I attempted but without any success.
+options=('!buildflags')
 source=("git+https://projects.blender.org/blender/blender.git#tag=v$pkgver";
         "git+https://projects.blender.org/blender/blender-addons.git";
         "git+https://projects.blender.org/blender/blender-addons-contrib.git";
@@ -110,12 +113,6 @@
     -DSYCL_CPP_FLAGS=--verbose \
     -DSYCL_OFFLINE_COMPILER_PARALLEL_JOBS=8
   cmake --build build
-
-    # -DPYTHON_VERSION="$PYTHON_VER" \
-    # -DPYTHON_LIBPATH=/usr/lib \
-    # -DPYTHON_LIBRARY="python$PYTHON_VER" \
-    # -DPYTHON_INCLUDE_DIRS="/usr/include/python$PYTHON_VER" \
-    # -DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER" \
 }
 
 package() {

Reply via email to