aboutsummaryrefslogtreecommitdiffstats
path: root/testing/blender/APKBUILD
diff options
context:
space:
mode:
authorLeon Marz <lmarz@cs.uni-frankfurt.de>2020-11-25 12:48:15 +0100
committerAndy Postnikov <apostnikov@gmail.com>2020-11-26 01:21:14 +0000
commit2479d2a377e21e0dc95c64dc8aad6177b57e5fad (patch)
treec0c8537608a901dfe9a5c602d6763d9a596f60e5 /testing/blender/APKBUILD
parent127e6d2ecb7972c461b817c7268b550f1be04bbf (diff)
downloadaports-2479d2a377e21e0dc95c64dc8aad6177b57e5fad.tar.gz
aports-2479d2a377e21e0dc95c64dc8aad6177b57e5fad.tar.bz2
aports-2479d2a377e21e0dc95c64dc8aad6177b57e5fad.tar.xz
testing/blender: upgrade to 2.91.0
fixes #12105 (credit goes to @starfire24680. See !14817)
Diffstat (limited to 'testing/blender/APKBUILD')
-rw-r--r--testing/blender/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/testing/blender/APKBUILD b/testing/blender/APKBUILD
index 9562c29b01..95c71983bb 100644
--- a/testing/blender/APKBUILD
+++ b/testing/blender/APKBUILD
@@ -2,23 +2,25 @@
# Contributor: Leon Marz <lmarz@cs.uni-frankfurt.de>
# Maintainer: Mark Riedesel <mark@klowner.com>
pkgname=blender
-pkgver=2.90.1
+pkgver=2.91.0
_pkgver=${pkgver%.[0-9]}
pkgrel=0
pkgdesc="3D Creation/Animation/Publishing System"
url="https://www.blender.org/"
-arch="x86_64" # only on x86_64, mainly because of alembic
+arch="x86_64" # only on x86_64, mainly because of openvdb
license="GPL-2.0-or-later"
depends="blender-shared=$pkgver-r$pkgrel"
makedepends="cmake libx11-dev libjpeg-turbo-dev libpng-dev freetype-dev python3-dev
openimageio-dev opencolorio-dev glew-dev openal-soft-dev ffmpeg-dev blosc-dev
fftw-dev tiff-dev libxi-dev libsndfile-dev boost-dev openexr-dev py3-numpy-dev
opensubdiv-dev lzo-dev libxrender-dev openjpeg-dev openxr-dev libtbb-dev libtbb
- llvm10-dev eigen-dev sdl2-dev jack-dev alembic-dev"
+ llvm10-dev eigen-dev sdl2-dev jack-dev alembic-dev osl-dev osl embree-dev
+ embree-static openvdb-dev gmp-dev potrace-dev"
subpackages="$pkgname-doc $pkgname-shared::noarch $pkgname-headless py3-$pkgname:python"
source="https://download.blender.org/source/blender-$pkgver.tar.xz
0001-musl-fixes.patch
0002-fix-linking-issue.patch
+ 0003-increase-thread-stack-size-for-musl.patch
"
@@ -42,6 +44,9 @@ build() {
_build() {
local _py_version=$(python3 -c 'import sys; print("%i.%i" % (sys.version_info.major, sys.version_info.minor))')
+ export CFLAGS="$CFLAGS -D__MUSL__"
+ export CXXFLAGS="$CXXFLAGS -D__MUSL__"
+
cmake .. "$@" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
@@ -50,7 +55,6 @@ _build() {
-DWITH_SYSTEM_LZO=ON \
-DWITH_SYSTEM_EIGEN3=ON \
-DWITH_SYSTEM_GLEW=ON \
- -DWITH_CYCLES_EMBREE=OFF \
-DPYTHON_VERSION=$_py_version
cmake --build .
}
@@ -99,6 +103,7 @@ python() {
ln -s /usr/share/blender/"$_pkgver" "$subpkgdir"/usr/lib/python"$_py_version"/site-packages/"$_pkgver"
}
-sha512sums="e7d6f8df598f2a2a99f64716331ec4e981a5a49c76b307caf7856480c778455cfc4bbb56fbedc8b22d1e10951ebaeb6844d1ead9476847bf2824dddf5b135992 blender-2.90.1.tar.xz
-0f7ec7aa64bcfaec87677c660432e523fa2c75a0ac35cfc58d8baa7f461e19168e3457bc439fad3c5152c70aa5f48b0291dff50e06506fbd6ae9fac4fff37c1c 0001-musl-fixes.patch
-9ccc155e469d6c87b73b68e8effebe90e70ad0dba15954da0c0f9b50ab82dd43ffd66b8c94554dff61d765ddd27fec30655c24ae555eb50863433c8bf3611922 0002-fix-linking-issue.patch"
+sha512sums="a4b6cb09765d735274fb4a61ac301cbd6ee16f09ab77b19a6e283454b9b8a8c76f1b181501dc285b288130da9e283d3343b948b2855eea00bcb9e114636d55aa blender-2.91.0.tar.xz
+a94245186e126f936f17bc75e4b202b7b9feda00f02b103f274d9d30d68269e86527fe3376dda44d0c3bd27f08b5c4254bfb1ac464e8f871dc3edf5d3e670a5b 0001-musl-fixes.patch
+82ecdf920c2db1b335ce2c6184b852e3e116aaea4d4067e2f5cfa5d32645552dbf4c4619ea195ed3c7e638661745843f32b4da0dcb3bcac959e2f64832eb07c8 0002-fix-linking-issue.patch
+e7d2559eda58bc355c8e8dde57fb3f9c1fdb5cd53e0ececfb81aaa0da9a84f0b271c74fda494cc023af449b2d5e5099b0546c0352739320874b3b01453bfd626 0003-increase-thread-stack-size-for-musl.patch"