mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/blender to 2.81-1
This commit is contained in:
parent
5270690c1c
commit
cad4e89842
1 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
|
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
|
||||||
# Contributor: John Sowiak <john@archlinux.org>
|
# Contributor: John Sowiak <john@archlinux.org>
|
||||||
# Contributor: tobias <tobias@archlinux.org>
|
# Contributor: tobias <tobias@archlinux.org>
|
||||||
|
|
||||||
|
@ -16,13 +16,13 @@ buildarch=12
|
||||||
# or simply roll with a new version. I usually choose the latter when the former seems
|
# or simply roll with a new version. I usually choose the latter when the former seems
|
||||||
# unreasonable.
|
# unreasonable.
|
||||||
|
|
||||||
_gittag=v2.80
|
_gittag=v2.81
|
||||||
# _gitcommit=054dbb833e15275e0e991e2c15e754a3e7583716
|
# _gitcommit=054dbb833e15275e0e991e2c15e754a3e7583716
|
||||||
|
|
||||||
pkgname=blender
|
pkgname=blender
|
||||||
pkgver=2.80
|
pkgver=2.81
|
||||||
[[ -n $_gitcommit ]] && pkgver=${pkgver}.git1.${_gitcommit:0:8}
|
[[ -n $_gitcommit ]] && pkgver=${pkgver}.git1.${_gitcommit:0:8}
|
||||||
pkgrel=8
|
pkgrel=1
|
||||||
epoch=17
|
epoch=17
|
||||||
pkgdesc="A fully integrated 3D graphics creation suite"
|
pkgdesc="A fully integrated 3D graphics creation suite"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -53,9 +53,6 @@ sha512sums=('SKIP'
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
# Python 3.8 compatibility fixes
|
|
||||||
git cherry-pick -n a7cf7b114f 9dd5e3b6e8 e413b39a93
|
|
||||||
|
|
||||||
git submodule init
|
git submodule init
|
||||||
git config submodule."release/scripts/addons".url ${srcdir}/blender-addons
|
git config submodule."release/scripts/addons".url ${srcdir}/blender-addons
|
||||||
git config submodule."release/scripts/addons_contrib".url ${srcdir}/blender-addons-contrib
|
git config submodule."release/scripts/addons_contrib".url ${srcdir}/blender-addons-contrib
|
||||||
|
@ -69,7 +66,9 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"/build
|
cd "$srcdir/$pkgname-$pkgver"/build
|
||||||
|
|
||||||
cmake -GNinja -C../build_files/cmake/config/blender_release.cmake .. \
|
cmake \
|
||||||
|
-GNinja \
|
||||||
|
-C../build_files/cmake/config/blender_release.cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DWITH_INSTALL_PORTABLE=OFF \
|
-DWITH_INSTALL_PORTABLE=OFF \
|
||||||
|
|
Loading…
Reference in a new issue