wok diff blender/receipt @ rev 13108
Up: audacious-plugins to 3.2.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jun 26 19:02:23 2012 +0000 (2012-06-26) |
parents | 2179403b8f51 |
children | f1e1b044c452 |
line diff
1.1 --- a/blender/receipt Tue May 15 09:43:19 2012 +0200 1.2 +++ b/blender/receipt Tue Jun 26 19:02:23 2012 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="blender" 1.7 -VERSION="2.57b" 1.8 +VERSION="2.63a" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="3D content creation suite." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -16,17 +16,16 @@ 1.13 freetype openal zlib librsvg" 1.14 BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \ 1.15 gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \ 1.16 -libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev" 1.17 +libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \ 1.18 +libboost-dev libboost-math-dev libboost-tr1-dev" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 - sed -i 's/.*openjpeg.h.*/&\n#include <stdbool.h>/' \ 1.25 - source/blender/imbuf/intern/jp2.c 1.26 1.27 - mkdir -p $WOK/$PACKAGE/build 1.28 - cd $WOK/$PACKAGE/build 1.29 + mkdir -p $WOK/$PACKAGE/source/build 1.30 + cd $WOK/$PACKAGE/source/build 1.31 cmake $src \ 1.32 -DCMAKE_INSTALL_PREFIX:PATH=/usr \ 1.33 -DCMAKE_BUILD_TYPE:STRING=Release \ 1.34 @@ -43,7 +42,15 @@ 1.35 make $MAKEFLAGS -j 1 1.36 make DESTDIR=$DESTDIR install 1.37 python3 -m compileall "$DESTDIR/usr/share/blender" 1.38 - [ -s $DESTDIR/usr/bin/blender ] 1.39 + cp -rf $src/release/plugins/* $src/source/blender/blenpluginapi 1.40 + cd $src/source/blender/blenpluginapi 1.41 + chmod 755 bmake 1.42 + make 1.43 + for i in sequence texture; do 1.44 + mkdir -p $DESTDIR/usr/share/blender/${VERSION%[a-z]}/plugins/$i 1.45 + cp -a $src/source/blender/blenpluginapi/$i/*.so \ 1.46 + $DESTDIR/usr/share/blender/${VERSION%[a-z]}/plugins/$i/ 1.47 + done 1.48 } 1.49 1.50 # Rules to gen a SliTaz package suitable for Tazpkg. 1.51 @@ -51,7 +58,10 @@ 1.52 { 1.53 LOCALE="fr de pt_BR es zh_CN" 1.54 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps 1.55 - cp -a $_pkg/usr $fs 1.56 + cp -a $install/usr/share/blender $fs/usr/share 1.57 + cp -a $install/usr/bin $fs/usr 1.58 + cp -a $install/usr/share/applications $fs/usr/share 1.59 + cp -a $install/usr/share/icons $fs/usr/share 1.60 mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin 1.61 cp -a $stuff/blender $fs/usr/bin 1.62 }