summaryrefslogtreecommitdiffstats
path: root/graphics/Blender/Blender.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/Blender/Blender.SlackBuild')
-rw-r--r--graphics/Blender/Blender.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index 972e3faaf2..bd1c2ef487 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Blender
-# Copyright 2015-2018 Christoph Willing Brisbane, Australia
+# Copyright 2015-2019 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,9 +24,9 @@
SRCNAM=blender
PKGNAM=Blender
-VERSION=${VERSION:-2.79b}
+VERSION=${VERSION:-2.80}
BASE_VERSION=${BASE_VERSION:-$( echo $VERSION | sed -e 's/[^0-9.]*//g')}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PYTHON_VERSION=$(python3 -c "import sys; print(sys.version[:3])")
@@ -83,8 +83,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p0 < $CWD/buildinfo-$VERSION.diff
-patch -p1 < $CWD/use-libopenmj2-for-openjpeg.diff
-patch -p1 < $CWD/PyRNA-python3.7.diff
mkdir -p build
cd build
@@ -92,7 +90,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_CXX11=ON \
-DWITH_INSTALL_PORTABLE:BOOL=OFF \
-DWITH_BUILDINFO:BOOL=ON \
-DWITH_OPENCOLLADA:BOOL=ON \
@@ -107,10 +104,7 @@ cd build
-DPYTHON_LIBPATH:PATH=/usr/lib${LIBDIRSUFFIX} \
-DWITH_CODEC_SNDFILE:BOOL=ON \
-DWITH_FFTW3:BOOL=ON \
- -DWITH_GAMEENGINE:BOOL=ON \
- -DWITH_PLAYER:BOOL=ON \
-DWITH_IMAGE_OPENJPEG:BOOL=ON \
- -DWITH_SYSTEM_OPENJPEG:BOOL=ON \
-DWITH_SYSTEM_LZO:BOOL=ON \
-DWITH_MEM_JEMALLOC:BOOL=ON \
-DWITH_MEM_VALGRIND:BOOL=ON \
@@ -127,7 +121,7 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-BLENDERBINS="blender blenderplayer"
+BLENDERBINS="blender"
for bin in $BLENDERBINS ; do
mv $PKG/usr/bin/$bin $PKG/usr/bin/$bin.bin
cat <<EOF >$PKG/usr/bin/$bin