blender: Fixed 'fmod' dependency. Cleanup

This commit is contained in:
Jose V Beneyto 2008-03-06 17:07:39 +01:00
parent 4b6ea877e2
commit 4c25e7c2cb
2 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,4 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/blender
-rwxr-xr-x root/root usr/bin/blenderplayer

View File

@ -2,7 +2,7 @@
# URL: http://www.blender.org/
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: libjpeg,ode,fmodex,smpeg,ftgl,scons,openexr,freealut
# Depends on: libjpeg ode fmod smpeg ftgl scons openexr freealut
name=blender
version=2.45
@ -12,6 +12,22 @@ source=(http://download.blender.org/source/${name}-${version}.tar.gz)
build() {
cd ${name}-${version}
sed -i -e "s/-O2/${CFLAGS// /\' ,\'}/g" SConstruct
scons
install -D -m 0755 ${SRC}/install/linux2/${name} ${PKG}/usr/bin/${name}
scons \
WITH_BF_OPENAL=yes \
WITH_BF_FMOD=yes \
WITH_BF_OPENEXR=yes \
WITH_BF_FFMPEG=yes \
WITH_BF_JPEG=yes \
WITH_BF_PNG=yes \
WITH_BF_ZLIB=yes \
WITH_BF_INTERNATIONAL=yes \
WITH_BF_GAMEENGINE=yes \
WITH_BF_ODE=yes \
WITH_BF_FTGL=yes \
BF_FTGL_INC=/usr/include/FTGL \
BF_FTGL_LIB=/usr/lib \
WITH_BF_PLAYER=yes \
BF_DEBUG=no
install -D -m 0755 $SRC/install/linux2/$name $PKG/usr/bin/$name
install -D -m 0755 $SRC/install/linux2/${name}player $PKG/usr/bin/${name}player
}