wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="blender"
4 VERSION="2.75a"
5 CATEGORY="graphics"
6 SHORT_DESC="3D content creation suite"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.blender.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.blender.org/source/$TARBALL"
14 BUILD_DEPENDS="cmake libxmu ilmbase-dev yasm coreutils-file-format \
15 gettext-dev mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
16 glu libsdl-dev python3-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
17 boost-dev boost-math boost-math-tr1 boost-filesystem \
18 glu-dev glew-dev libxi-dev"
20 compile_rules() {
21 p3v=$(. $WOK/python3/receipt; echo ${VERSION%.*})
22 mkdir -p $WOK/$PACKAGE/source/build
23 cd $WOK/$PACKAGE/source/build
25 cmake $src \
26 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
27 -DCMAKE_BUILD_TYPE:STRING=Release \
28 -DWITH_INSTALL_PORTABLE:BOOL=OFF \
29 -DWITH_PYTHON_INSTALL:BOOL=OFF \
30 -DWITH_OPENCOLLADA:BOOL=OFF \
31 -DWITH_GAMEENGINE:BOOL=ON \
32 -DWITH_CYCLES:BOOL=OFF \
33 -DWITH_PLAYER:BOOL=ON \
34 -DPYTHON_VERSION:STRING=$p3v \
35 -DPYTHON_LIBPATH:STRING=/usr/lib \
36 -DPYTHON_LIBRARY:STRING=python${p3v}m \
37 -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python${p3v}m &&
38 # build
39 make $MAKEFLAGS &&
40 make DESTDIR=$install install &&
41 python3 -m compileall "$install/usr/share/blender" || return 1
43 mv -f $install/usr/bin/blender $install/usr/bin/blender-bin
44 cp -a $stuff/blender $install/usr/bin/
45 }
47 genpkg_rules() {
48 LOCALE="fr de pt_BR es ru zh_CN"
49 copy @std
50 DEPENDS="python3 mesa libsdl libsamplerate libdrm jpeg glu openjpeg \
51 ffmpeg lcms openexr desktop-file-utils libgomp libtiff libpng freeglut \
52 freetype openal zlib librsvg glew boost-filesystem boost-regex \
53 boost-thread boost-date-time boost-dev" #boost-dev?
54 SUGGESTED="nvidia"
55 TAGS="3D creator editor"
56 }