Mail archive
alpine-aports

[alpine-aports] [PATCH v2] testing/blender: upgrade to 2.79b

From: Sascha Paunovic <azarus_at_posteo.net>
Date: Tue, 3 Jul 2018 21:15:14 +0200

2.79b builds again, so reenable it
also modernize
---
 testing/blender/APKBUILD | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/testing/blender/APKBUILD b/testing/blender/APKBUILD
index ecbcc12474..0d164a8c87 100644
--- a/testing/blender/APKBUILD
+++ b/testing/blender/APKBUILD
_at_@ -1,19 +1,18 @@
 # Contributor: Mark Riedesel <mark_at_klowner.com>
 # Maintainer: Mark Riedesel <mark_at_klowner.com>
 pkgname=blender
-pkgver=2.78c
+pkgver=2.79b
 _pkgver=${pkgver/[a-z]}
 pkgrel=0
 pkgdesc="3D Creation/Animation/Publishing System"
 url="http://www.blender.org/"
-arch=""
-license="GPL-2.0"
+arch="x86_64"
+license="GPL-2.0-or-later"
 depends="blender-shared=$pkgver-r$pkgrel"
 makedepends="cmake libx11-dev jpeg-dev zlib-dev libpng-dev freetype-dev python3-dev
 	openimageio-dev opencolorio-dev glew-dev openal-soft-dev ffmpeg-dev
 	fftw-dev tiff-dev mesa-dev libxi-dev libsndfile-dev libxmu-dev boost-dev
 	openexr-dev py-numpy-dev opensubdiv-dev"
-install=""
 subpackages="$pkgname-doc $pkgname-shared::noarch $pkgname-headless $pkgname-player py3-$pkgname:python"
 source="http://download.blender.org/source/${pkgname}-${pkgver}.tar.gz
 	blender-2.78a-musl.patch"
_at_@ -54,29 +53,28 @@ _build() {
 		-DPYTHON_LIBPATH=/usr/lib \
 		-DPYTHON_LIBRARY=python${PY_VERSION}m \
 		-DPYTHON_INCLUDE_DIRS=/usr/include/python${PY_VERSION}m \
-		-DNO_EXECINFO:BOOL=ON \
-		|| return 1
-	make || return 1
+		-DNO_EXECINFO:BOOL=ON
+	make
 }
 
 
 package() {
 	# Install headless files
 	cd "$builddir"/build-headless
-	make DESTDIR="$pkgdir"/headless install || return 1
+	make DESTDIR="$pkgdir"/headless install
 
 	# Rename the headless blender to blender-headless
 	mkdir -p "$pkgdir"/usr/bin
-	mv "$pkgdir"/headless/usr/bin/blender "$pkgdir"/usr/bin/blender-headless || return 1
+	mv "$pkgdir"/headless/usr/bin/blender "$pkgdir"/usr/bin/blender-headless
 	rm -rf "$pkgdir"/headless
 
 	# Install python module
 	cd "$builddir"/build-py
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 
 	# Install the full package
 	cd "$builddir"/build-full
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 }
 
 shared() {
_at_@ -110,5 +108,5 @@ python() {
 	ln -s /usr/share/blender/${_pkgver} "$subpkgdir"/usr/lib/python${PY_VERSION}/site-packages/${_pkgver}
 }
 
-sha512sums="dee09e6ac19c4eeab71d64ad9581df1bb043a3de97586206b07aeb9aa55e68ecfc3a96d39835bcec20c72fb73a5eb418b349af7abe66d906a1e660caa1e4d267  blender-2.78c.tar.gz
+sha512sums="2db21ace446168dd683cdb5aad9dec001f8888ae4e9603a04ddb44fb78489ded827deb07e83712b0f1118a0e7bf66f2a5d935dc4ebb3a6703d72672ff414367f  blender-2.79b.tar.gz
 47e8a6a017cea8c004d7e4205f201f167dd81ba95a4aadf9e55d01e81cc4a23e4d7f1d6aa7a6d1300fe3a5f5c98c664f584e7551fcde7fb1137147e2438f7ed5  blender-2.78a-musl.patch"
-- 
2.18.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Jul 03 2018 - 21:15:14 GMT