wok-next annotate blender/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents 5669e8b3be70
children 0f2575775b2d
rev   line source
al@20503 1 # SliTaz package receipt v2.
pankso@4084 2
pankso@4084 3 PACKAGE="blender"
pascal@18207 4 VERSION="2.75a"
pankso@4084 5 CATEGORY="graphics"
al@20503 6 SHORT_DESC="3D content creation suite"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15022 8 LICENSE="GPL"
al@21020 9 WEB_SITE="https://www.blender.org/"
al@20503 10
slaxemulator@6619 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6619 12 WGET_URL="http://download.blender.org/source/$TARBALL"
pankso@4084 13
al@21078 14 BUILD_DEPENDS="cmake libxmu ilmbase-dev yasm coreutils-file-format \
al@21020 15 gettext-dev mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
al@20503 16 glu libsdl-dev python3-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
al@20915 17 boost-dev boost-math boost-math-tr1 boost-filesystem \
al@21078 18 glu-dev glew-dev libxi-dev"
pankso@9807 19
al@20503 20 compile_rules() {
al@20503 21 p3v=$(. $WOK/python3/receipt; echo ${VERSION%.*})
slaxemulator@12790 22 mkdir -p $WOK/$PACKAGE/source/build
slaxemulator@12790 23 cd $WOK/$PACKAGE/source/build
al@20503 24
slaxemulator@10251 25 cmake $src \
slaxemulator@10251 26 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
slaxemulator@10251 27 -DCMAKE_BUILD_TYPE:STRING=Release \
slaxemulator@10251 28 -DWITH_INSTALL_PORTABLE:BOOL=OFF \
slaxemulator@10251 29 -DWITH_PYTHON_INSTALL:BOOL=OFF \
slaxemulator@10251 30 -DWITH_OPENCOLLADA:BOOL=OFF \
slaxemulator@10251 31 -DWITH_GAMEENGINE:BOOL=ON \
pascal@18207 32 -DWITH_CYCLES:BOOL=OFF \
slaxemulator@10251 33 -DWITH_PLAYER:BOOL=ON \
al@20503 34 -DPYTHON_VERSION:STRING=$p3v \
slaxemulator@10251 35 -DPYTHON_LIBPATH:STRING=/usr/lib \
al@20503 36 -DPYTHON_LIBRARY:STRING=python${p3v}m \
al@20503 37 -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python${p3v}m &&
slaxemulator@6619 38 # build
al@20503 39 make $MAKEFLAGS &&
al@21020 40 make DESTDIR=$install install &&
al@21020 41 python3 -m compileall "$install/usr/share/blender" || return 1
al@20503 42
al@20503 43 mv -f $install/usr/bin/blender $install/usr/bin/blender-bin
al@20503 44 cp -a $stuff/blender $install/usr/bin/
pankso@4084 45 }
pankso@4084 46
al@20503 47 genpkg_rules() {
al@20503 48 LOCALE="fr de pt_BR es ru zh_CN"
al@20503 49 copy @std
al@20503 50 DEPENDS="python3 mesa libsdl libsamplerate libdrm jpeg glu openjpeg \
al@21080 51 ffmpeg lcms openexr desktop-file-utils libgomp libtiff libpng freeglut \
al@20915 52 freetype openal zlib librsvg glew boost-filesystem boost-regex \
al@20915 53 boost-thread boost-date-time boost-dev" #boost-dev?
al@20503 54 SUGGESTED="nvidia"
al@20503 55 TAGS="3D creator editor"
pankso@4084 56 }