wok-next view blender/receipt @ rev 20915
libboost -> boost
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 00:41:54 2018 +0300 (2018-08-21) |
parents | d43bf7aae921 |
children | d5aab818505e |
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="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://www.blender.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.blender.org/source/$TARBALL"
14 BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm coreutils-file-format \
15 gettext 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 xorg-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=$DESTDIR install &&
41 python3 -m compileall "$DESTDIR/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 tiff libpng16 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 }