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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Jul 13 05:16:20 UTC 2019


    Date: Saturday, July 13, 2019 @ 05:16:20
  Author: svenstaro
Revision: 489346

upgpkg: blender 17:2.80rc1-2

Modified:
  blender/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-13 04:32:32 UTC (rev 489345)
+++ PKGBUILD	2019-07-13 05:16:20 UTC (rev 489346)
@@ -27,7 +27,7 @@
          'freetype2' 'openal' 'ffmpeg' 'fftw' 'boost-libs' 'opencollada' 'alembic'
          'openimageio' 'libsndfile' 'jack' 'opencolorio' 'openshadinglanguage'
          'jemalloc' 'libspnav' 'ptex' 'opensubdiv' 'openvdb' 'log4cplus' 'sdl2')
-makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'cuda')
+makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'cuda' 'ninja')
 optdepends=('cuda: cycles renderer cuda support')
 options=(!strip)
 source=("git://git.blender.org/blender-addons.git"
@@ -61,31 +61,22 @@
 build() {
   cd "$srcdir/$pkgname-$pkgver"/build
 
-  cmake -C../build_files/cmake/config/blender_release.cmake .. \
+  cmake -GNinja -C../build_files/cmake/config/blender_release.cmake .. \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DWITH_INSTALL_PORTABLE=OFF \
     -DWITH_PYTHON_INSTALL=OFF \
-    -DOPENIMAGEIO_ROOT_DIR=/usr \
-    -DWITH_SYSTEM_OPENJPEG=ON \
-    -DWITH_GL_PROFILE_CORE=OFF \
-    -DWITH_GL_PROFILE_ES20=OFF \
-    -DWITH_LLVM=ON \
-    -DWITH_CYCLES_PTEX=OFF \
-    -DWITH_OPENVDB_3_ABI_COMPATIBLE=ON \
     -DPYTHON_VERSION=3.7 \
     -DPYTHON_LIBPATH=/usr/lib \
     -DPYTHON_LIBRARY=python3.7m \
     -DPYTHON_INCLUDE_DIRS=/usr/include/python3.7m
-  make
-
-  # PTEX is currently broken and experimental in blender anyway
+  ninja
 }
 
 package() {
   cd "$srcdir/$pkgname-$pkgver/build"
 
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja install
   install -Dm755 ../release/bin/blender-softwaregl "${pkgdir}/usr/bin/blender-softwaregl"
   python -m compileall "${pkgdir}/usr/share/blender"
   python -O -m compileall "${pkgdir}/usr/share/blender"


More information about the arch-commits mailing list