wok-next view blender/receipt @ rev 21405

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