wok-6.x view blender/receipt @ rev 19960

qemu: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 20 15:59:50 2017 +0200 (2017-05-20)
parents b3adb193646d
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 SUGGESTED="nvidia"
11 WEB_SITE="http://www.blender.org/"
12 WGET_URL="http://download.blender.org/source/$TARBALL"
13 TAGS="3D creator editor"
15 DEPENDS="py3k mesa libsdl libsamplerate libdrm jpeg libglu-mesa openjpeg \
16 ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng freeglut \
17 freetype openal zlib librsvg glew libboost-filesystem libboost-regex \
18 libboost-thread libboost-date-time libboost-dev"
19 BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \
20 gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
21 libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
22 libboost-dev libboost-math-dev libboost-tr1-dev libboost-filesystem-dev \
23 libboost-regex-dev libboost-thread-dev \
24 libglu-mesa-dev glew-dev"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p $WOK/$PACKAGE/source/build
30 cd $WOK/$PACKAGE/source/build
31 cmake $src \
32 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
33 -DCMAKE_BUILD_TYPE:STRING=Release \
34 -DWITH_INSTALL_PORTABLE:BOOL=OFF \
35 -DWITH_PYTHON_INSTALL:BOOL=OFF \
36 -DWITH_OPENCOLLADA:BOOL=OFF \
37 -DWITH_GAMEENGINE:BOOL=ON \
38 -DWITH_CYCLES:BOOL=OFF \
39 -DWITH_PLAYER:BOOL=ON \
40 -DPYTHON_VERSION:STRING=3.4 \
41 -DPYTHON_LIBPATH:STRING=/usr/lib \
42 -DPYTHON_LIBRARY:STRING=python3.4m \
43 -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.4m
44 # build
45 make $MAKEFLAGS
46 make DESTDIR=$DESTDIR install
47 python3 -m compileall "$DESTDIR/usr/share/blender"
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 LOCALE="fr de pt_BR es zh_CN"
54 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
55 cp -a $install/usr/share/blender $fs/usr/share
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/share/applications $fs/usr/share
58 cp -a $install/usr/share/icons $fs/usr/share
59 mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin
60 cp -a $stuff/blender $fs/usr/bin
61 }