wok-current view blender/receipt @ rev 10660

mixxx: Add portmidi to bdeps.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 27 01:55:13 2011 +0000 (2011-05-27)
parents 3e0baeb2702c
children fb10f9e7f73c
line source
1 # SliTaz package receipt.
3 PACKAGE="blender"
4 VERSION="2.57b"
5 CATEGORY="graphics"
6 SHORT_DESC="3D content creation suite."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 SUGGESTED="nvidia"
10 WEB_SITE="http://www.blender.org/"
11 WGET_URL="http://download.blender.org/source/$TARBALL"
12 TAGS="3D creator editor"
14 DEPENDS="py3k mesa libsdl libsamplerate libdrm jpeg libglu-mesa openjpeg \
15 ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng freeglut \
16 freetype openal zlib librsvg"
17 BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \
18 gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
19 libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
26 mkdir -p $WOK/$PACKAGE/build
27 cd $WOK/$PACKAGE/build
28 cmake $src \
29 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
30 -DCMAKE_BUILD_TYPE:STRING=Release \
31 -DWITH_INSTALL_PORTABLE:BOOL=OFF \
32 -DWITH_PYTHON_INSTALL:BOOL=OFF \
33 -DWITH_OPENCOLLADA:BOOL=OFF \
34 -DWITH_GAMEENGINE:BOOL=ON \
35 -DWITH_PLAYER:BOOL=ON \
36 -DPYTHON_VERSION:STRING=3.2 \
37 -DPYTHON_LIBPATH:STRING=/usr/lib \
38 -DPYTHON_LIBRARY:STRING=python3.2m \
39 -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.2m
40 # build
41 make $MAKEFLAGS -j 1
42 make DESTDIR=$DESTDIR install
43 python3 -m compileall "$DESTDIR/usr/share/blender"
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 LOCALE="fr de pt_BR es zh_CN"
50 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
51 cp -a $_pkg/usr $fs
52 mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin
53 cp -a $stuff/blender $fs/usr/bin
54 }