[arch-commits] CVS update of extra/multimedia/blender (PKGBUILD)
Tobias Kieslich
tobias at archlinux.org
Thu Jun 14 01:06:07 UTC 2007
Date: Wednesday, June 13, 2007 @ 21:06:07
Author: tobias
Path: /home/cvs-extra/extra/multimedia/blender
Modified: PKGBUILD (1.31 -> 1.32)
final build 2.44
----------+
PKGBUILD | 39 ++++++++++++++++++++++++++++-----------
1 file changed, 28 insertions(+), 11 deletions(-)
Index: extra/multimedia/blender/PKGBUILD
diff -u extra/multimedia/blender/PKGBUILD:1.31 extra/multimedia/blender/PKGBUILD:1.32
--- extra/multimedia/blender/PKGBUILD:1.31 Wed Jun 13 17:48:13 2007
+++ extra/multimedia/blender/PKGBUILD Wed Jun 13 21:06:06 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.31 2007/06/13 21:48:13 tobias Exp $
+# $Id: PKGBUILD,v 1.32 2007/06/14 01:06:06 tobias Exp $
# Contributor: John Sowiak <john at archlinux.org>
# Maintainer: tobias <tobias at archlinux.org>
@@ -11,7 +11,7 @@
# look for release numbers only we make a messy PKGBUILD that can checkout cvs
# tags if necessary.
#cvs=true
-cvs=true
+cvs=false
pkgname=blender
pkgver=2.44
@@ -26,7 +26,7 @@
install=blender.install
source=($pkgname.desktop $pkgname.svg)
if [ ! $cvs -o $cvs = false ]; then
- source[2]=http://download.blender.org/source/$pkgname-$pkgver.tar.gz
+ source=(${source[@]} http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
makedepends=('glut')
fi
[ "$CARCH" = "x86_64" ] && source=(${source[@]} 'config.py' 'blender_x86_64.diff')
@@ -59,6 +59,7 @@
cd $startdir/src/tmp-install/usr/share/blender
else
+ rm user-def.mk
##########################################################################
# tweak the makefiles to prepare build for ArchLinux
@@ -74,14 +75,31 @@
export NAN_NO_OPENAL=true
# make the nan_makefiles happy
export NAN_PYTHON_VERSION=2.5
- export WITH_FREETYPE2=true
export INTERNATIONAL=true
+ export WITH_FREETYPE2=true
+ export NAN_FREETYPE=/usr
+ export WITH_ICONV=true
+
+ export NAN_NO_PLUGIN=true
+
+ export WITH_FFMPEG=true
+ export NAN_OPENAL=/usr
+ export NAN_FMOD=/usr
export NAN_JPEG=/usr
export NAN_PNG=/usr
+ export WITH_OPENEXR=true
export NAN_OPENEXR=/usr
export NAN_OPENEXR_LIBS=$(pkg-config --libs OpenEXR)
- # seems this really stops plugin build, sucky documentation :(
- export NAN_NO_PLUGIN=true
+
+ export NAN_SDL=/usr
+ export NAN_ZLIB=/usr
+ export NAN_MESA=/usr
+
+ export NAN_NO_STATIC=true
+
+ export WITH_VERSE=true
+ export WITH_BULLET=true
+
###########################################################################
# build
make || return 1
@@ -100,16 +118,16 @@
# install internationalization support
cd ../../../bin/.blender
+ install -D -m644 .Blanguages \
+ $startdir/pkg/usr/share/$pkgname/.Blanguages
+ install -D -m644 .bfont.ttf \
+ $startdir/pkg/usr/share/$pkgname/.bfont.ttf
cp -R locale $startdir/pkg/usr/share/
# install scripts
cd ../../release/
- mkdir -p $startdir/pkg/usr/share/$pkgname
cp -R scripts $startdir/pkg/usr/share/$pkgname/
- install -D -m644 datafiles/bfont.ttf \
- $startdir/pkg/usr/share/$pkgname/.bfont.ttf
- #install -D -m644 datafiles/.Blanguages $startdir/pkg/usr/share/$pkgname/.Blanguages
# install all additional stuff
# install a freedesktop.org compliant menu entry
@@ -120,5 +138,4 @@
# Attention: always make sure you check the dimensions of the source-svg,
# you can read the dimensions via inkscapes export funktion
rsvg -w 64 -h 64 -f png $startdir/pkg/usr/share/pixmaps/$pkgname.svg $startdir/pkg/usr/share/pixmaps/$pkgname.png
-
}
More information about the arch-commits
mailing list